Difference between revisions of "Template:Lang date"
m |
(spacing, proper doc) |
||
Line 1: | Line 1: | ||
− | {{ | + | {{lang | force = {{{force|{{SUBPAGENAME}}}}}<!-- |
− | <!-- New languages should go below | + | |
− | |cs={{#switch:{{{1|}}} | + | // To translate, just copy and paste a language and replace it with your own language. Add it to the list in alphabetical order. |
− | |1=Ledna | + | // New languages should go below this line. --> |
− | |2=Února | + | |
− | |3=Brezna | + | | cs = {{#switch:{{{1|}}} |
− | |4=Dubna | + | | 1 = Ledna |
− | |5=Kvetna | + | | 2 = Února |
− | |6=Cervna | + | | 3 = Brezna |
− | |7=Cervence | + | | 4 = Dubna |
− | |8=Srpna | + | | 5 = Kvetna |
− | |9=Zárí | + | | 6 = Cervna |
− | |10=Ríjna | + | | 7 = Cervence |
− | |11=Listopadu | + | | 8 = Srpna |
− | |12=Prosince | + | | 9 = Zárí |
+ | | 10 = Ríjna | ||
+ | | 11 = Listopadu | ||
+ | | 12 = Prosince | ||
}} | }} | ||
− | |de={{#switch:{{{1|}}} | + | | de = {{#switch:{{{1|}}} |
− | |1=Januar | + | | 1 = Januar |
− | |2=Februar | + | | 2 = Februar |
− | |3=März | + | | 3 = März |
− | |4=April | + | | 4 = April |
− | |5=Mai | + | | 5 = Mai |
− | |6=Juni | + | | 6 = Juni |
− | |7=Juli | + | | 7 = Juli |
− | |8=August | + | | 8 = August |
− | |9=September | + | | 9 = September |
− | |10=Oktober | + | | 10 = Oktober |
− | |11=November | + | | 11 = November |
− | |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= września | + | | 9 = września |
− | |10= października | + | | 10 = października |
− | |11= listopada | + | | 11 = listopada |
− | |12= grudnia | + | | 12 = grudnia |
}} | }} | ||
− | |ru={{#switch:{{{1|}}} | + | | ru = {{#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 = декабря |
}} | }} | ||
+ | <!-- // New languages should go above this line. | ||
− | + | // English names below. --> | |
− | + | | en = {{#switch:{{{1|}}} | |
− | + | | 1 = January | |
− | |en | + | | 2 = February |
− | + | | 3 = March | |
− | |1=January | + | | 4 = April |
− | |2=February | + | | 5 = May |
− | |3=March | + | | 6 = June |
− | |4=April | + | | 7 = July |
− | |5=May | + | | 8 = August |
− | |6=June | + | | 9 = September |
− | |7=July | + | | 10 = October |
− | |8=August | + | | 11 = November |
− | |9=September | + | | 12 = December |
− | |10=October | ||
− | |11=November | ||
− | |12=December | ||
}} | }} | ||
}}<noinclude> | }}<noinclude> | ||
− | + | {{translation switching|cs, de, fr, hu, pl, ru}}{{doc begin}} | |
+ | |||
== Usage == | == Usage == | ||
− | |||
* Add the following code to the template (in alphabetical order) | * Add the following code to the template (in alphabetical order) | ||
** Replace ''xx'' with your language's code | ** Replace ''xx'' with your language's code | ||
Line 113: | Line 114: | ||
<pre> | <pre> | ||
− | |xx={{#switch:{{{1|}}} | + | | xx = {{#switch:{{{1|}}} |
− | |1=January | + | | 1 = January |
− | |2=February | + | | 2 = February |
− | |3=March | + | | 3 = March |
− | |4=April | + | | 4 = April |
− | |5=May | + | | 5 = May |
− | |6=June | + | | 6 = June |
− | |7=July | + | | 7 = July |
− | |8=August | + | | 8 = August |
− | |9=September | + | | 9 = September |
− | |10=October | + | | 10 = October |
− | |11=November | + | | 11 = November |
− | |12=December | + | | 12 = December |
}} | }} | ||
</pre> | </pre> | ||
+ | |||
+ | [[Category:Language templates|Lang date]] | ||
+ | [[Category:Templates|Lang date]] | ||
</noinclude> | </noinclude> |
Revision as of 02:40, 29 August 2010
This template uses translation switching. The correct language will be displayed automatically. Localized versions of this template (e.g. Template:Lang date/ru) are not necessary. Add your translations directly to this template by editing it. Supported languages for this template: cs, de, fr, hu, pl, ru (add) |
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 }}