Difference between revisions of "Template:Unsigned"

From Team Fortress Wiki
Jump to: navigation, search
m (Added default for the time & date parameter, it now defaults to the current date + server time (UTC))
m (Proper subst this time, oopsie)
 
Line 1: Line 1:
<includeonly>{{subst:void|<span style="font-size: large; color: red">[[Category:Pages with incorrectly transcluded templates]]'''This template should always be substituted. Please change <nowiki>{{Unsigned}}</nowiki> to <nowiki>{{subst:Unsigned}}</nowiki>'''</span>}}</includeonly><small>— ''The preceding unsigned comment was added by'' '''[[User:{{{1}}}|{{{1}}}]]''' ([[User talk:{{{1}}}|talk]]) • ([[Special:Contributions/{{{1}}}|contribs]]) {{{2|{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY2}}, {{CURRENTTIME}} UTC}}}</small><noinclude>
+
<includeonly>{{subst:void|<span style="font-size: large; color: red">[[Category:Pages with incorrectly transcluded templates]]'''This template should always be substituted. Please change <nowiki>{{Unsigned}}</nowiki> to <nowiki>{{subst:Unsigned}}</nowiki>'''</span>}}</includeonly><small>— ''The preceding unsigned comment was added by'' '''[[User:{{{1}}}|{{{1}}}]]''' ([[User talk:{{{1}}}|talk]]) • ([[Special:Contributions/{{{1}}}|contribs]]) {{{2|{{<includeonly>safesubst:</includeonly>CURRENTYEAR}}-{{<includeonly>safesubst:</includeonly>CURRENTMONTH}}-{{<includeonly>safesubst:</includeonly>CURRENTDAY2}}, {{<includeonly>safesubst:</includeonly>CURRENTTIME}} UTC}}}</small><noinclude>
 
{{Doc begin}}
 
{{Doc begin}}
 
== Example ==
 
== Example ==

Latest revision as of 15:21, 14 August 2023

The preceding unsigned comment was added by [[User:{{{1}}}|{{{1}}}]] ([[User talk:{{{1}}}|talk]]) • ([[Special:Contributions/{{{1}}}|contribs]]) 2024-12-22, 01:39 UTC

Documentation for Unsigned

Example

{{subst:Unsigned|Username|Time & Date}}

Substitution

Please note that using substitution along with this template is imperative for achieving maximum site performance, as it eliminates multi-page use of this template.

For more information on substitution, visit Wikipedia's Template substitution page.

Parameters

Username
Name of the user
Time & Date
Time & date the comment was made; if left blank will return the current time and date in YYYY-MM-DD HH:MM UTC format.