Difference between revisions of "Template:Patch name"

From Team Fortress Wiki
Jump to: navigation, search
(adding 'sort' parameter)
(Usage: help for 'sort' parameter)
Line 15: Line 15:
 
* {{tlx|patch name|04|15|2011|5=date=true}} produces: {{patch name|04|15|2011|date=true}} (link label contains the date only)
 
* {{tlx|patch name|04|15|2011|5=date=true}} produces: {{patch name|04|15|2011|date=true}} (link label contains the date only)
 
* {{tlx|patch name|04|15|2011|5=date-only=yes}} produces: {{patch name|04|15|2011|date-only=yes}} (no links to patches and label only contains the date. Useful for events not associated with patches)
 
* {{tlx|patch name|04|15|2011|5=date-only=yes}} produces: {{patch name|04|15|2011|date-only=yes}} (no links to patches and label only contains the date. Useful for events not associated with patches)
 +
* {{tlx|patch name|04|15|2011|5=sort=yes}} will add an invisible string ''2011-04-15'' at the start of the result. This can be usefull in sortable tables
 
* {{tlx|patch name|April|15|2011}} produces: {{patch name|April|15|2011}} ('''English''' month names work)
 
* {{tlx|patch name|April|15|2011}} produces: {{patch name|April|15|2011}} ('''English''' month names work)
* {{tlx|patch name|4|15|2011}} produces: {{patch name|4|15|2011}} ('''Single-digit''' month numbers work)
+
* {{tlx|patch name|04|15|2011}} produces: {{patch name|4|15|2011}} ('''Single-digit''' month numbers work)
 
You can also indicate if patch is beta:
 
You can also indicate if patch is beta:
 
* {{tlx|patch name|11|18|2011|beta}} produces: {{patch name|11|18|2011|beta}}
 
* {{tlx|patch name|11|18|2011|beta}} produces: {{patch name|11|18|2011|beta}}

Revision as of 13:35, 26 July 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

You can also indicate if patch is beta:

Or a Xbox patch:

Or a Classic patch: