Difference between revisions of "Template:Lang date"

From Team Fortress Wiki
Jump to: navigation, search
m
Line 1: Line 1:
 
{{#switch:{{{force|{{SUBPAGENAME}}}}}
 
{{#switch:{{{force|{{SUBPAGENAME}}}}}
| cs = {{#switch:{{{1|}}}
+
<!-- New languages should go below here. -->
 +
|cs={{#switch:{{{1|}}}
 
  |1=Ledna
 
  |1=Ledna
 
  |2=Února
 
  |2=Února
Line 14: Line 15:
 
  |12=Prosince
 
  |12=Prosince
 
  }}
 
  }}
| de = {{#switch:{{{1|}}}
+
|de={{#switch:{{{1|}}}
 
  |1=Januar
 
  |1=Januar
 
  |2=Februar
 
  |2=Februar
Line 28: Line 29:
 
  |12=Dezember
 
  |12=Dezember
 
  }}
 
  }}
| fr = {{#switch:{{{1|}}}
+
|fr={{#switch:{{{1|}}}
  | 1=Janvier
+
  |1=Janvier
  | 2=Fevrier
+
  |2=Fevrier
  | 3=Mars
+
  |3=Mars
  | 4=Avril
+
  |4=Avril
  | 5=Mai
+
  |5=Mai
  | 6=Juin
+
  |6=Juin
  | 7=Juillet
+
  |7=Juillet
  | 8=Août
+
  |8=Août
  | 9=Septembre
+
  |9=Septembre
  | 10=Octobre
+
  |10=Octobre
  | 11=Novembre
+
  |11=Novembre
  | 12=Decembre
+
  |12=Decembre
 
  }}
 
  }}
| hu = {{#switch:{{{1|}}}
+
|hu={{#switch:{{{1|}}}
|1=január
+
|1=január
|2=február
+
|2=február
|3=március
+
|3=március
|4=április
+
|4=április
|5=május
+
|5=május
|6=június
+
|6=június
|7=július
+
|7=július
|8=augusztus
+
|8=augusztus
|9=szeptember
+
|9=szeptember
|10=október
+
|10=október
|11=november
+
|11=november
|12=december
+
|12=december
}}
+
}}
| pl = {{#switch:{{{1|}}}
+
|pl={{#switch:{{{1|}}}
| 1 = stycznia
+
|1=stycznia
| 2 = lutego
+
|2=lutego
| 3 = marca
+
|3=marca
| 4 = kwietnia
+
|4= kwietnia
| 5 = maja
+
|5= maja
| 6 = czerwca
+
|6= czerwca
| 7 = lipca
+
|7= lipca
| 8 = sierpnia
+
|8= sierpnia
| 9 = wrzesnia
+
|9= wrzesnia
| 10 = pazdziernika
+
|10= pazdziernika
| 11 = listopada
+
|11= listopada
| 12 = grudnia
+
|12= grudnia
}}
+
}}
 
+
<!-- New languages should go above here. -->
 
|blank
 
|blank
 
|none
 
|none
 
|en
 
|en
|#default = {{#switch:{{{1|}}}
+
|#default={{#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
 +
}}
 +
}}<noinclude>
 +
* '''Supported languages''': en, cs, de, fr, hu, pl
 +
== Usage ==
 +
 
 +
* Add the following code to the template (in alphabetical order)
 +
** Replace ''xx'' with your language's code
 +
** Replace the month names with translations
 +
 
 +
<pre>
 +
|xx={{#switch:{{{1|}}}
 
  |1=January
 
  |1=January
 
  |2=February
 
  |2=February
Line 88: Line 112:
 
  |12=December
 
  |12=December
 
  }}
 
  }}
}}
+
</pre>
 +
</noinclude>

Revision as of 05:37, 7 August 2010

  • Supported languages: en, cs, de, fr, hu, pl

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
 }}