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

From Team Fortress Wiki
Jump to: navigation, search
(Needs to be in each translation separately otherwise it adds a number at the end regardless)
(Test for automatic "in-the" usage)
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|}}}}}}}}
|{{#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-}}{{{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}}}}}-fmt|1={{{1|07}}}|2={{{2|13}}}|3={{{3|2012}}}|{{#if:{{{lang|}}}|lang|null}}={{{lang|{{{force|}}}}}}}}]]
 
}}}}{{#if:{{{num|}}}|&nbsp;{{lang incomplete|en=<nowiki>#</nowiki>{{{num}}}|es=n.º{{{num}}}|nl=nº{{{num}}}|pt=|pt-br=}}|}}{{#if:{{{major|}}}|&nbsp;{{parenthesis|{{update link|{{{major}}}}}}}|}}</includeonly><noinclude>
 
}}}}{{#if:{{{num|}}}|&nbsp;{{lang incomplete|en=<nowiki>#</nowiki>{{{num}}}|es=n.º{{{num}}}|nl=nº{{{num}}}|pt=|pt-br=}}|}}{{#if:{{{major|}}}|&nbsp;{{parenthesis|{{update link|{{{major}}}}}}}|}}</includeonly><noinclude>
 
{{Complex template}}
 
{{Complex template}}

Revision as of 13:34, 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