Template:Main: Difference between revisions
Jump to navigation
Jump to search
[checked revision] | [checked revision] |
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>:'' | <includeonly>:''→{{#switch:{{{lang}}} | ||
|de=Hauptartikel | |||
|fr=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 |
Revision as of 16:14, 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