Difference between revisions of "Template:Patch name"

From Team Fortress Wiki
Jump to: navigation, search
(if this does not work, have alternative with just fixes)
(template recursion does not seem to work, so just fixes)
Line 20: Line 20:
 
  | zh-hans = {{{3}}}年{{{1}}}月{{{2}}}日更新
 
  | zh-hans = {{{3}}}年{{{1}}}月{{{2}}}日更新
 
  | zh-hant = {{{3}}}年{{{1}}}月{{{2}}}日更新
 
  | zh-hant = {{{3}}}年{{{1}}}月{{{2}}}日更新
  }} | [[{{lang date|force=en|1={{{1}}}}} {{{2}}}, {{{3}}} Patch{{if lang}}|{{patch name|{{{1}}}|{{{2}}}|{{{3}}}|no-link=yes}}]]
+
  }} | [[{{lang date|force=en|1={{{1}}}}} {{{2}}}, {{{3}}} Patch{{if lang}}|{{lang | {{#if:{{{lang|}}}|force|null}} = {{{lang|}}}
}}</includeonly><noinclude>
+
| cs = Patch, {{{2}}} {{lang date|{{{1}}}}} {{{3}}}
 +
| de = {{{2}}}. {{lang date|{{{1}}}}} {{{3}}} Patch
 +
| en = {{lang date|{{{1}}}}} {{{2}}}, {{{3}}} Patch
 +
| it = Patch del {{{2}}} {{lang date|{{{1}}}}} {{{3}}}
 +
| es = Parche del {{{2}}} {{lang date|{{{1}}}}} {{{3}}}
 +
| fi = {{{2}}}. {{lang date|{{{1}}}}} {{{3}}} -päivitys
 +
| fr = Patch du {{{2}}} {{lang date|{{{1}}}}} {{{3}}}
 +
| ja = {{{3}}}/{{{1}}}/{{{2}}} パッチ
 +
| ko = {{{3}}}년 {{{1}}}월 {{{2}}}일 패치
 +
| nl = {{{2}}} {{lang date|{{{1}}}}} {{{3}}} Patch
 +
| no = {{{2}}} {{lang date|{{{1}}}}} {{{3}}} Patch
 +
| pl = Aktualizacja z {{{2}}} {{lang date|{{{1}}}}} {{{3}}}
 +
| pt = Patch de {{{2}}} de {{lang date|{{{1}}}}} de {{{3}}}
 +
| pt-br = Atualização de {{#ifexpr: {{{2}}} < 4 | {{{2}}}º | {{{2}}} }} de {{lang date|{{{1}}}}} de {{{3}}}
 +
| ro = {{{2}}} {{lang date|{{{1}}}}} {{{3}}} Patch
 +
| ru = Обновление от {{{2}}} {{lang date|{{{1}}}}} {{{3}}}
 +
| sv = {{lang date|{{{1}}}}} {{{2}}}, {{{3}}} Patch
 +
| tr = {{{2}}} {{lang date|{{{1}}}}} {{{3}}} Patch
 +
| zh-hans = {{{3}}}年{{{1}}}月{{{2}}}日更新
 +
| zh-hant = {{{3}}}年{{{1}}}月{{{2}}}日更新
 +
}}]]}}</includeonly><noinclude>
 
{{translation switching|All languages, except (ar, da, hu)}}
 
{{translation switching|All languages, except (ar, da, hu)}}
 
{{doc begin}}
 
{{doc begin}}
Line 28: Line 48:
 
=== Usage ===
 
=== Usage ===
 
* {{tlx|patch name|4|15|2011}} (where {{code|4}} is the month of April, {{code|15}} is the date and {{code|2011}} the year) produces: {{patch name|4|15|2011}}
 
* {{tlx|patch name|4|15|2011}} (where {{code|4}} is the month of April, {{code|15}} is the date and {{code|2011}} the year) produces: {{patch name|4|15|2011}}
* {{tlx|patch name|4|15|2011}} on [[Page/pt-br]] would produce: [[{{patch name|4|15|2011|no-link=yes}}/pt-br|{{patch name|4|15|2011|lang=pt-br|no-link=yes}}]]
+
* {{tlx|patch name|4|15|2011}} on [[Page/pt-br]] would produce: {{patch name|4|15|2011|lang=pt-br}}
 
* {{tlx|patch name|4|15|2011|<nowiki>no-link=yes</nowiki>}} produces: {{patch name|4|15|2011|no-link=yes}}
 
* {{tlx|patch name|4|15|2011|<nowiki>no-link=yes</nowiki>}} produces: {{patch name|4|15|2011|no-link=yes}}
  
 
[[Category:Templates|Patch name]]
 
[[Category:Templates|Patch name]]
 
</noinclude>
 
</noinclude>

Revision as of 01:45, 29 November 2011

Documentation for Patch name

Dates should be inputted in MM-DD-YYYY format with no leading zeros (e.g. {{patch name|month|day|year}}).

Usage