Difference between revisions of "Template:Main"
(fixed parameter: 20 → l10) |
GrampaSwood (talk | contribs) |
||
Line 38: | Line 38: | ||
{{Wikipedia doc}} | {{Wikipedia doc}} | ||
{{Doc begin}} | {{Doc begin}} | ||
+ | For usage under headers to link to the main article of a subject. Supports 11 articles. | ||
== Usage == | == Usage == | ||
* {{tlx|main|Soldier}} generates: | * {{tlx|main|Soldier}} generates: |
Latest revision as of 12:24, 15 July 2024
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: en, ar, cs, da, de, es, fi, fr, hu, it, ja, ko, nl, no, 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
For usage under headers to link to the main article of a subject. Supports 11 articles.
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.