Difference between revisions of "Template:Patch name"

From Team Fortress Wiki
Jump to: navigation, search
(move date lang formatting to {{dictionary/common strings}}, add link parameter)
m (Usage)
Line 8: Line 8:
  
 
=== Usage ===
 
=== Usage ===
* {{tlx|patch name|4|15|2011}} (where {{code|4}} is the month of April, {{code|15}} is the date and {{code|2011}} the year) produces: {{patch name|4|15|2011}}
+
* {{tlx|patch name|4|15|2011}} (where {{code|4}} is the month of April, {{code|15}} is the day and {{code|2011}} the year) produces: {{patch name|4|15|2011}}
 
* {{tlx|patch name|4|15|2011}} on [[Page/pt-br]] would produce: {{patch name|4|15|2011|lang=pt-br}}
 
* {{tlx|patch name|4|15|2011}} on [[Page/pt-br]] would produce: {{patch name|4|15|2011|lang=pt-br}}
 
* {{tlx|patch name|4|15|2011|5=no-link=yes}} produces: {{patch name|4|15|2011|no-link=yes}}
 
* {{tlx|patch name|4|15|2011|5=no-link=yes}} produces: {{patch name|4|15|2011|no-link=yes}}
 
* {{tlx|patch name|4|15|2011|5=link=Test}} produces: {{patch name|4|15|2011|link=Test}}
 
* {{tlx|patch name|4|15|2011|5=link=Test}} produces: {{patch name|4|15|2011|link=Test}}
 +
* {{tlx|patch name|April|15|2011}} produces: {{patch name|April|15|2011}} (english month names work)
  
 
[[Category:Templates|Patch name]]
 
[[Category:Templates|Patch name]]
 
</noinclude>
 
</noinclude>

Revision as of 00:53, 9 January 2012

Documentation for Patch name

Dates should be inputted in MM-DD-YYYY format with no leading zeros (e.g. {{patch name|month|day|year}}). To edit the date formatting and month names for each language, see {{dictionary/common strings}}.

Usage