Template:Patch name/sandbox
< Template:Patch name
Revision as of 12:30, 29 March 2024 by GrampaSwood (talk | contribs) (Replaced with Unicode character)
This template is very complex. If you have questions about this template, feel free to ask on the IRC. |
Documentation for Patch name/sandbox
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
{{patch name|04|15|2011}}
(where04
is the month of April,15
is the day and2011
the year) produces: April 15, 2011 Patch{{patch name|04|15|2011}}
on Page/pt-br would produce: Atualização de 15 de April de 2011{{patch name|04|15|2011|no-link=yes}}
produces: April 15, 2011 Patch{{patch name|04|15|2011|link=Test}}
produces: April 15, 2011 Patch{{patch name|04|15|2011|date=true}}
produces: April 15, 2011 (link label contains the date only){{patch name|04|15|2011|date-only=yes}}
produces: April 15, 2011 (no links to patches and label only contains the date. Useful for events not associated with patches){{patch name|04|15|2011|sort=yes}}
will add an invisible string 2011-04-15 at the start of the result. This can be useful in sortable tables{{patch name|April|15|2011}}
produces: April 15, 2011 Patch (English month names work){{patch name|4|15|2011}}
produces: April 15, 2011 Patch (Single-digit month numbers work){{patch name|04|15|2011|in-the}}
produces: April 15, 2011 Patch (No difference in English, but useful in languages for which the wording is different in sentences of the type "In the April 15th Patch, something happened".)
You can also indicate if patch is beta:
{{patch name|11|18|2011|beta}}
produces: November 18, 2011 Patch (Beta){{patch name|11|18|2011|beta|no-link=yes}}
produces: November 18, 2011 Patch (Beta)
Or a Xbox patch:
{{patch name|07|21|2009|xbox}}
produces: July 21, 2009 Patch (Xbox){{patch name|07|21|2009|xbox|no-link=yes}}
produces: July 21, 2009 Patch (Xbox)
Or a Classic patch:
{{patch name|03|23|2004|classic}}
produces: March 23, 2004 Patch (Classic){{patch name|03|23|2004|classic|no-link=yes}}
produces: March 23, 2004 Patch (Classic)