Šablona:AutoUnsigned

Z Minecraft Wiki
Přejít na: navigace, hledání
[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[editovat zdroj]

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[editovat zdroj]

{{subst:autoUnsigned}}
Would give: –Preceding unsigned comment was added by Majr (talkcontribs) 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 (talkcontribs). 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[editovat zdroj]

[view | edit | history | purge]The above documentation is transcluded from Šablona:AutoUnsigned/doc.