Difference between revisions of "Template:main"

From OrbiterWiki
Jump to navigation Jump to search
 
m (removed non-existent template links)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
:''Main article{{#if:{{{2|}}}|s}}: [[{{{1}}}]]{{#if:{{{2| }}}
+
:''Main article: [[{{{1}}}]]''
  |{{#if:{{{3|}}}|, | and }}[[{{{2}}}]]}}{{#if:{{{3|}}}
+
 
  |{{#if:{{{4|}}}|, |, and }}[[{{{3}}}]]}}{{#if:{{{4|}}}
+
<noinclude>
  |{{#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 ==
 
== Usage ==
  
 
To link to a "main article" on a topic, use &#123;{main|The other article}}.
 
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:Section templates|{{PAGENAME}}]]
 
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
 
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Latest revision as of 19:55, 22 February 2011

Main article: [[{{{1}}}]]


Usage[edit]

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