Template:Main: Difference between revisions
Jump to navigation
Jump to search
[checked revision] | [checked revision] |
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>:''→Main Article: [[{{{1}}}|{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}]]</includeonly><noinclude> | <includeonly>:''{{#switch:{{{lang}}} | ||
|de={{deu|→Hauptartikel}} | |||
|fr={{fra|→Article détaillé}} | |||
|#default=→Main Article}}: [[{{{1}}}|{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}]]''</includeonly><noinclude> | |||
==Usage== | ==Usage== | ||
This template standardizes the indication of an article about a sub topic. E.g., in an article about combustion engines there might be a hint to a separate subarticle about the crankshaft. | This template standardizes the indication of an article about a sub topic. E.g., in an article about combustion engines there might be a hint to a separate subarticle about the crankshaft. | ||
Line 6: | Line 9: | ||
*Obligatory: | *Obligatory: | ||
**1: Link target | **1: Link target | ||
* | *Optional: | ||
**2: Link text | **2: Link text | ||
**lang: Language (en, fr, de) | |||
===Dependencies=== | ===Dependencies=== | ||
This template does not employ or serve any other templates. | This template does not employ or serve any other templates. | ||
Line 14: | Line 18: | ||
delivers | delivers | ||
{{main|Crankshaft}} | |||
<pre>{{main|crankshaft|Forged Crank}}</pre> | <pre>{{main|crankshaft|Forged Crank}}</pre> | ||
delivers | delivers | ||
{{main|crankshaft|Forged Crank}} | {{main|crankshaft|Forged Crank}} | ||
<pre>{{main|Die unendliche Geschichte|lang=de}}</pre> | |||
delivers | |||
{{main|Die unendliche Geschichte|lang=de}} | |||
[[Category:ContentTemplate]] | [[Category:ContentTemplate]] | ||
</noinclude> | </noinclude> |
Latest revision as of 16:20, 2 March 2020
Usage
This template standardizes the indication of an article about a sub topic. E.g., in an article about combustion engines there might be a hint to a separate subarticle about the crankshaft.
Arguments
This template has two unnamed arguments:
- Obligatory:
- 1: Link target
- Optional:
- 2: Link text
- lang: Language (en, fr, de)
Dependencies
This template does not employ or serve any other templates.
Example
{{main|Crankshaft}}
delivers
- →Main Article: Crankshaft
{{main|crankshaft|Forged Crank}}
delivers
- →Main Article: Forged Crank
{{main|Die unendliche Geschichte|lang=de}}
delivers
- →Hauptartikel: Die unendliche Geschichte