Skip to content

Commit 5fe1f3f

Browse files
committed
Add deprecation notices to view/template-plugins.md
1 parent e1abec9 commit 5fe1f3f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/view/template-plugins.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,8 @@ Please [check the implementation](https://github.com/WoltLab/WCF/blob/master/wcf
199199

200200
## `|date`
201201

202+
!!! info "This template plugin has been deprecated in WoltLab Suite 6.0."
203+
202204
`date` generated a formatted date using `wcf\util\DateUtil::format()` with `DateUtil::DATE_FORMAT` internally.
203205

204206
```smarty
@@ -598,6 +600,8 @@ This modifier is useful when assigning the value directly to a variable.
598600

599601
## `|plainTime`
600602

603+
!!! info "This template plugin has been deprecated in WoltLab Suite 6.0."
604+
601605
`plainTime` formats a timestamp to include year, month, day, hour, and minutes.
602606
The exact formatting depends on the current language (via the language items `wcf.date.dateTimeFormat`, `wcf.date.dateFormat`, and `wcf.date.timeFormat`).
603607

@@ -701,6 +705,8 @@ If `prepend` is used on an array as the variable, the value is prepended to all
701705

702706
## `|time`
703707

708+
!!! info "This template plugin has been deprecated in WoltLab Suite 6.0."
709+
704710
`time` generates an HTML `time` elements based on a timestamp that shows a relative time or the absolute time if the timestamp more than six days ago.
705711

706712
```smarty

0 commit comments

Comments
 (0)