Template:Main: Difference between revisions

From Heavy Iron Modding
Content added Content deleted
m (missing <noinclude>)
m (181 revisions imported from templatewiki:Template:Main)
 
(38 intermediate revisions by 27 users not shown)
Line 1: Line 1:
{{#invoke:main|main}}<noinclude>
:''Main article{{#if:{{{2|}}}|s}}&#58; [[{{{1}}}]]{{#if:{{{2| }}}
{{documentation}}
|{{#if:{{{3|}}}|,&#32;|&#32;and&#32;}}[[{{{2}}}]]}}{{#if:{{{3|}}}
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
|{{#if:{{{4|}}}|,&#32;|,&#32;and&#32;}}[[{{{3}}}]]}}{{#if:{{{4|}}}
|{{#if:{{{5|}}}|,&#32;|,&#32;and&#32;}}[[{{{4}}}]]}}{{#if:{{{5|}}}
|, and [[{{{5}}}]]}}.''{{#if:{{{6| }}}|&#32; (too many parameters in &#123;&#123;[[Template:main|main]]&#125;&#125;)}}<noinclude>

== Usage ==

To link to a "main article" on a topic, use &#123;{main|The other article}}.

== See also ==

* [[Template:Main articles]], to use when you have more than one main article.
* {{tl|Details}}
* {{tl|Further}}
* <s>{{tl|See}}</s> (deprecated - use {{tl|Further}})
* {{tl|See also}}

[[Category:Section templates|{{PAGENAME}}]]
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
[[eo:Ŝablono:Ĉefa]]
[[fr:Modèle:Détails]]
[[pl:Szablon:Main]]
</noinclude>
</noinclude>

Latest revision as of 16:54, 30 March 2021

<templatestyles src="Module:Documentation/styles.css"></templatestyles>

Template documentation[create]