Difference between revisions of "Template:Patch name/sandbox"

From Team Fortress Wiki
Jump to: navigation, search
(Update to current template)
(Prevent double space on pt-br/pt)
 
(10 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
|{{#ifeq: {{{no-link|}}} | yes
 
|{{#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}}}}}|{{dictionary/common strings/patch-{{#ifeq: {{{date|}}}|true|date-}}{{{4|default}}}-fmt|1={{{1|07}}}|2={{{2|13}}}|3={{{3|2012}}}|{{#if:{{{lang|}}}|lang|null}}={{{lang|{{{force|}}}}}}}}]]
+
|{{#if:{{{num|}}}|{{lang incomplete|en=|pt={{{num|}}}ª|pt-br={{{num|}}}ª}}}} [[{{{link|{{lang date|force=en|1={{{1}}}}} {{{2}}}, {{{3}}} Patch{{#if: {{{4|}}}|{{dictionary/common strings/patch-suffix|{{{4}}}}}}}{{if lang}}}}}|{{dictionary/common strings/patch-{{#ifeq: {{{date|}}}|true|date-}}{{#switch:{{SUBPAGENAME}}|pt-br|pt={{{4|in-the}}}|#default={{{4|default}}}}}-fmt|1={{{1|07}}}|2={{{2|13}}}|3={{{3|2012}}}|{{#if:{{{lang|}}}|lang|null}}={{{lang|{{{force|}}}}}}}}]]
}}}}</includeonly><noinclude>
+
}}}}{{#if:{{{num|}}}|{{lang incomplete|en=&nbsp;<nowiki>#</nowiki>{{{num}}}|es=&nbsp;n.º{{{num}}}|nl=&nbsp;nº{{{num}}}|pt=|pt-br=}}|}}{{#if:{{{major|}}}|&nbsp;{{parenthesis|{{update link|{{{major}}}}}}}|}}</includeonly><noinclude>
 
{{Complex template}}
 
{{Complex template}}
{{translation switching|en, ar, cs, da, de, es, fi, fr, hu, it, ja, ko, nl, no, pl, pt, pt-br, ro, ru, sv, tr, zh-hans, zh-hant}}
+
<!--{{translation switching|en, ar, cs, da, de, es, fi, fr, hu, it, ja, ko, nl, no, pl, pt, pt-br, ro, ru, sv, tr, zh-hans, zh-hant}}-->
 
{{doc begin}}
 
{{doc begin}}
 
Dates should be inputted in MM-DD-YYYY format with no leading zeros (e.g. {{tlx|patch name|month|day|year}}). To edit the date formatting and month names for each language, see '''{{tl|dictionary/common strings}}'''.
 
Dates should be inputted in MM-DD-YYYY format with no leading zeros (e.g. {{tlx|patch name|month|day|year}}). To edit the date formatting and month names for each language, see '''{{tl|dictionary/common strings}}'''.
Line 19: Line 19:
 
* {{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|4|15|2011}} produces: {{patch name|4|15|2011}} ('''Single-digit''' month numbers work)
* {{tlx|patch name|04|15|2011|in-the}} produces: {{patch name|4|15|2011|in-the}} (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".)
+
* {{tlx|patch name|04|15|2011|in-the}} produces: {{patch name|4|15|2011|in-the}} (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:
 
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}}

Latest revision as of 13:37, 7 April 2024

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

You can also indicate if patch is beta:

Or a Xbox patch:

Or a Classic patch:

Patch name