Difference between revisions of "Template:Unsigned"

From Team Fortress Wiki
Jump to: navigation, search
(Really?)
m (Proper subst this time, oopsie)
 
(15 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<small>--''The preceding unsigned comment was added by'' [[User:{{{1}}}|{{{1}}}]] ([[User talk:{{{1}}}|talk]]) • ([[Special:Contributions/{{{1}}}|contribs]]) {{{2|}}}</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}}
 +
== Example ==
 +
<pre>{{subst:Unsigned|Username|Time & Date}}</pre>
 +
=== 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 [[w:Template_substitution|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.
  
== Usage ==
 
{{C|?|To-do:}} Make this template subst automatically like {{tl|welcome}}
 
<nowiki>{{Subst:Unsigned|Username|Date and/or Time}}</nowiki>
 
 
[[Category:Help templates|Unsigned]]
 
[[Category:Help templates|Unsigned]]
[[Category:Formatting templates|Unsigned]]
+
[[Category:Formatting templates|Unsigned]]</noinclude>
</noinclude>
 

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-21, 15:34 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.