Difference between revisions of "Template:Lang date"

From Team Fortress Wiki
Jump to: navigation, search
m
({{lang}}: add es, fi, ja, sv)
Line 1: Line 1:
{{lang | force = {{{force|{{SUBPAGENAME}}}}}<!--   
+
{{#switch:{{{force|{{SUBPAGENAME}}}}}<!--   
  
 
// To translate, just copy and paste a language and replace it with your own language. Add it to the list in alphabetical order.
 
// To translate, just copy and paste a language and replace it with your own language. Add it to the list in alphabetical order.
Line 31: Line 31:
 
  | 11 = November
 
  | 11 = November
 
  | 12 = Dezember
 
  | 12 = Dezember
 +
}}
 +
| es = {{#switch:{{{1|}}}
 +
| 1 = enero
 +
| 2 = febrero
 +
| 3 = marzo
 +
| 4 = abril
 +
| 5 = may
 +
| 6 = junio
 +
| 7 = julio
 +
| 8 = agosto
 +
| 9 = septiembre
 +
| 10 = octubre
 +
| 11 = noviembre
 +
| 12 = diciembre
 +
}}
 +
| fi = {{#switch:{{{1|}}}
 +
| 1 = tammikuu
 +
| 2 = helmikuu
 +
| 3 = maaliskuu
 +
| 4 = huhtikuu
 +
| 5 = toukokuu
 +
| 6 = kesäkuu
 +
| 7 = heinäkuu
 +
| 8 = elokuu
 +
| 9 = syyskuu
 +
| 10 = lokakuu
 +
| 11 = marraskuu
 +
| 12 = joulukuu
 
  }}
 
  }}
 
| fr = {{#switch:{{{1|}}}
 
| fr = {{#switch:{{{1|}}}
Line 74: Line 102:
 
  | 12 = dicembre
 
  | 12 = dicembre
 
  }}
 
  }}
 +
| ja = {{#switch:{{{1|}}}
 +
  | 1 = 1月
 +
  | 2 = 2月
 +
  | 3 = 3月
 +
  | 4 = 4月
 +
  | 5 = 5月
 +
  | 6 = 6月
 +
  | 7 = 7月
 +
  | 8 = 8月
 +
  | 9 = 9月
 +
  | 10 = 10月
 +
  | 11 = 11月
 +
  | 12 = 12月
 +
  }}
 
| pl = {{#switch:{{{1|}}}
 
| pl = {{#switch:{{{1|}}}
 
  | 1 = stycznia
 
  | 1 = stycznia
Line 116: Line 158:
 
  | 12 = декабря
 
  | 12 = декабря
 
  }}
 
  }}
 +
| sv = {{#switch:{{{1|}}}
 +
| 1 = januari
 +
| 2 = februari
 +
| 3 = mars
 +
| 4 = april
 +
| 5 = maj
 +
| 6 = juni
 +
| 7 = juli
 +
| 8 = augusti
 +
| 9 = september
 +
| 10 = oktober
 +
| 11 = november
 +
| 12 = december
 +
}}
 +
| zh-hans
 
| zh-hant = {{#switch:{{{1|}}}
 
| zh-hant = {{#switch:{{{1|}}}
 
  | 1 = 一月
 
  | 1 = 一月
Line 133: Line 190:
  
 
       // English names below. -->
 
       // English names below. -->
| en = {{#switch:{{{1|}}}
+
| blank
 +
| none
 +
| {{ns:0}}
 +
| en
 +
| #default = {{#switch:{{{1|}}}
 
  | 1 = January
 
  | 1 = January
 
  | 2 = February
 
  | 2 = February
Line 148: Line 209:
 
  }}
 
  }}
 
}}<noinclude>
 
}}<noinclude>
{{translation switching|cs, de, fr, hu, it, pl, ro, ru, zh-hant}}{{doc begin}}
+
{{translation switching|cs, de, es, fi, fr, hu, it, ja, pl, ro, ru, sv, zh-hans, zh-hant}}{{doc begin}}
  
 
== Usage ==
 
== Usage ==

Revision as of 02:37, 5 September 2010

Documentation for Lang date


Usage

  • Add the following code to the template (in alphabetical order)
    • Replace xx with your language's code
    • Replace the month names with translations
| xx = {{#switch:{{{1|}}}
 | 1 = January
 | 2 = February
 | 3 = March
 | 4 = April
 | 5 = May
 | 6 = June
 | 7 = July
 | 8 = August
 | 9 = September
 | 10 = October
 | 11 = November
 | 12 = December
 }}