Difference between revisions of "Template:Main"
(simplifying by removing "and") |
(add zh-hans, zh-hant (unverified) from zh.wikipedia) |
||
Line 11: | Line 11: | ||
| ro = {{#if:{{{2|}}}|Articol principal|Articole principale}} | | ro = {{#if:{{{2|}}}|Articol principal|Articole principale}} | ||
| ru = {{#if:{{{2|}}}Основные статьи|Основная статья}} | | ru = {{#if:{{{2|}}}Основные статьи|Основная статья}} | ||
+ | | zh-hans = 主条目 | ||
+ | | zh-hant = 主条目 | ||
}}: [[{{{1}}}|{{{l1|{{{1}}}}}}]]{{#if:{{{2| }}} | }}: [[{{{1}}}|{{{l1|{{{1}}}}}}]]{{#if:{{{2| }}} | ||
|{{#if:{{{3|}}}|, |, }}[[{{{2}}}|{{{l2|{{{2}}}}}}]]}}{{#if:{{{3|}}} | |{{#if:{{{3|}}}|, |, }}[[{{{2}}}|{{{l2|{{{2}}}}}}]]}}{{#if:{{{3|}}} | ||
Line 21: | Line 23: | ||
|{{#if:{{{10|}}}|, |, }}[[{{{9}}}|{{{l9|{{{9}}}}}}]]}}{{#if:{{{10|}}} | |{{#if:{{{10|}}}|, |, }}[[{{{9}}}|{{{l9|{{{9}}}}}}]]}}{{#if:{{{10|}}} | ||
|, [[{{{10}}}|{{{l10|{{{10}}}}}}]]}}''{{#if:{{{11| }}}|  (too many parameters in {{[[Template:main|main]][[Category:ERROR]]}})}}<noinclude> | |, [[{{{10}}}|{{{l10|{{{10}}}}}}]]}}''{{#if:{{{11| }}}|  (too many parameters in {{[[Template:main|main]][[Category:ERROR]]}})}}<noinclude> | ||
− | {{translation switching|cs, es, fr, hu, it, pl, pt, ro, ru}} | + | {{translation switching|cs, de, es, fr, hu, it, pl, pt, ro, ru, zh-hans, zh-hant}} |
== Usage == | == Usage == |
Revision as of 10:41, 6 September 2010
- Main article: [[{{{1}}}|{{{1}}}]]
This template uses translation switching. The correct language will be displayed automatically. Localized versions of this template (e.g. Template:Main/ru) are not necessary. Add your translations directly to this template by editing it. Supported languages for this template: cs, de, es, fr, hu, it, pl, pt, ro, ru, zh-hans, zh-hant (add) |
Usage
{{main|Soldier}}
generates:
Main article: Soldier
- For alternate title use this:
{{main|Article|l1=Alternate title}}
. - For full documentation see wikipedia:Template:Main/doc.
- See also:
{{see also}}
,{{hatnote}}