Template:AutoUnsigned

From Minecraft Wiki
Jump to: navigation, search
[view | edit | history | purge]Documentation
Shortcut
Autounsigned
Lua logo.svg
This template uses Module:Unsigned, a script written in Lua.
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[edit]

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[edit]

{{subst:autoUnsigned}}
Would give: –Preceding unsigned comment was added by KnightMiner (talkcontribs) at 19:45, 15 June 2015 (UTC). Please sign your posts with ~~~~
{{subst:autoUnsigned|date=0}}
Would give: –Preceding unsigned comment was added by KnightMiner (talkcontribs). Please sign your posts with ~~~~
{{subst:autoUnsigned|date=1}}
Would give: –Preceding undated comment was added at 19:45, 15 June 2015 (UTC). Please sign your posts with ~~~~

See also[edit]

[view | edit | history | purge]The above documentation is transcluded from Template:AutoUnsigned/doc.
Promotional Content