Difference between revisions of "Template:Main"
KristofferAG (talk | contribs) |
|||
Line 35: | Line 35: | ||
}}<noinclude> | }}<noinclude> | ||
{{translation switching|ar, cs, da, de, es, fi, fr, hu, it, ko, no, nl, pl, pt, pt-br, ro, ru, sv, tr, zh-hans, zh-hant}} | {{translation switching|ar, cs, da, de, es, fi, fr, hu, it, ko, no, nl, pl, pt, pt-br, ro, ru, sv, tr, zh-hans, zh-hant}} | ||
− | + | {{Wikipedia doc}} | |
+ | {{Doc begin}} | ||
== Usage == | == Usage == | ||
* {{tlx|main|Soldier}} generates: | * {{tlx|main|Soldier}} generates: | ||
Line 41: | Line 42: | ||
* For alternate title use this: <code><nowiki>{{main|Article|l1=Alternate title}}</nowiki></code>. | * For alternate title use this: <code><nowiki>{{main|Article|l1=Alternate title}}</nowiki></code>. | ||
** To use this for translations: <code><nowiki>{{main|Article/</nowiki>''lang''<nowiki>|l1=</nowiki>''Translated title''<nowiki>}}</nowiki></code>. | ** To use this for translations: <code><nowiki>{{main|Article/</nowiki>''lang''<nowiki>|l1=</nowiki>''Translated title''<nowiki>}}</nowiki></code>. | ||
− | |||
{{Hatnote templates list}} | {{Hatnote templates list}} |
Revision as of 02:09, 23 October 2014
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: ar, cs, da, de, es, fi, fr, hu, it, ko, no, nl, pl, pt, pt-br, ro, ru, sv, tr, zh-hans, zh-hant (add) |
Documentation for this template is available at Template:Main on Wikipedia. |
Documentation for Main
Usage
{{main|Soldier}}
generates:
Main article: Soldier
- For alternate title use this:
{{main|Article|l1=Alternate title}}
.- To use this for translations:
{{main|Article/lang|l1=Translated title}}
.
- To use this for translations:
See also
{{See also}}
– link to a related article inline.{{Main}}
– "main article" template.{{Other uses}}
– "other uses" template.{{Redirects here}}
– "redirects here" template.{{For Classic article}}
– use on TF2 pages to link to the TFC/QTF article.{{For TF2 article}}
– use on TFC/QTF pages to link to the TF2 article.{{Hatnote}}
– plain hatnote template, no predefined text.{{Obtain note}}
– for use on achievement pages.