- Shortcut
- Autounsigned
Please see wp:Lua and mw:Extension:Scribunto to learn more.
This template should be added after the last unsigned comment if and only if nobody edited since that comment. Otherwise, use {{unsigned}}
instead.
Usage[]
The template works like {{unsigned}}
, except it automatically adds the username and time stamp from the last revision of the page. This template should always be substituted, and if it isn't, the page will be added to Category:AutoUnsigned template used incorrectly and will display an error.
The parameter {{{date}}}
can be set to 1
or only
to only add the date, or set to 0
or none
to remove the date. If unset, the template returns both the username and the date.
Examples[]
{{subst:autoUnsigned}}
Would give: –Preceding unsigned comment was added by Majr (talk • contribs) at 10:46, 17 červenec 2017 (UTC). Please sign your posts with ~~~~
{{subst:autoUnsigned|date=0}}
Would give: –Preceding unsigned comment was added by Majr (talk • contribs). Please sign your posts with ~~~~
{{subst:autoUnsigned|date=1}}
Would give: –Preceding undated comment was added at 10:46, 17 červenec 2017 (UTC). Please sign your posts with ~~~~
See also[]