Template:Main: Difference between revisions

From railML 2 Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
No edit summary
 
Line 1: Line 1:
<includeonly>:''{{#switch:{{{lang}}}
<includeonly>:''{{#switch:{{{lang}}}
|de=Hauptartikel
|de={{deu|→Hauptartikel}}
|fr=Article détaillé
|fr={{fra|→Article détaillé}}
|#default=Main Article}}: [[{{{1}}}|{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}]]''</includeonly><noinclude>
|#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.

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