Template:Main: Difference between revisions

From All Skies Encyclopaedia
imported>Evil Monkey
m (missing <noinclude>)
imported>Nihiltres
m (Includeonly the template to avoid errors on the template pages)
 
(42 intermediate revisions by 26 users not shown)
Line 1: Line 1:
<includeonly>{{#invoke:Labelled list hatnote|labelledList|Main article|Main articles|Main page|Main pages}}</includeonly><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 22:34, 7 November 2021