Difference between revisions of "Template:Patch name"
m |
m |
||
Line 1: | Line 1: | ||
<includeonly>{{#ifeq: {{{no-link|}}} | yes | <includeonly>{{#ifeq: {{{no-link|}}} | yes | ||
| {{dictionary/common strings/patch-{{{4|default}}}-fmt|1={{{1|07}}}|2={{{2|13}}}|3={{{3|2012}}}|{{#if:{{{lang|}}}|lang|null}}={{{lang|{{{force|}}}}}}}} | | {{dictionary/common strings/patch-{{{4|default}}}-fmt|1={{{1|07}}}|2={{{2|13}}}|3={{{3|2012}}}|{{#if:{{{lang|}}}|lang|null}}={{{lang|{{{force|}}}}}}}} | ||
− | | [[{{{link|{{lang date|force=en|1={{{1}}}}} {{{2}}}, {{{3}}} Patch{{#if: {{{4|}}}|{{dictionary/common strings/patch-suffix|{{{4}}}}}{{if lang | + | | [[{{{link|{{lang date|force=en|1={{{1}}}}} {{{2}}}, {{{3}}} Patch{{#if: {{{4|}}}|{{dictionary/common strings/patch-suffix|{{{4}}}}}{{if lang}}}}}}}|{{dictionary/common strings/patch-{{{4|default}}}-fmt|1={{{1|07}}}|2={{{2|13}}}|3={{{3|2012}}}|{{#if:{{{lang|}}}|lang|null}}={{{lang|{{{force|}}}}}}}}]] |
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
{{translation switching|All languages, except (ar, da, hu)}} | {{translation switching|All languages, except (ar, da, hu)}} |
Revision as of 05:20, 16 March 2012
This template uses translation switching. The correct language will be displayed automatically. Localized versions of this template (e.g. Template:Patch name/ru) are not necessary. Add your translations directly to this template by editing it. Supported languages for this template: All languages, except (ar, da, hu) (add) |
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
{{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|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)
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){{patch name|11|18|2011|beta|link=Test}}
produces: November 18, 2011 Patch (Beta)
Or a Xbox patch:
{{patch name|11|18|2011|xbox}}
produces: November 18, 2011 Patch (Xbox){{patch name|11|18|2011|xbox|no-link=yes}}
produces: November 18, 2011 Patch (Xbox){{patch name|11|18|2011|xbox|link=Test}}
produces: November 18, 2011 Patch (Xbox)
Or a Classic patch:
{{patch name|03|24|2004|classic}}
produces: March 24, 2011 Patch (Classic){{patch name|03|24|2004|classic|no-link=yes}}
produces: March 24, 2011 Patch (Classic){{patch name|03|24|2004|classic|link=Test}}
produces: March 24, 2011 Patch (Classic)