Template:Main: Difference between revisions

From Vigyanwiki
Template>Jacoplane
m (Reverted edits by Jacoplane (talk) to last version by Bunchofgrapes)
Template>Urhixidur
(l1 through l5 params)
Line 1: Line 1:
:<div class="noprint">''Main article{{#if:{{{2|}}}|s}}&#58; [[{{{1}}}]]{{#if:{{{2| }}}
:<div class="noprint">''Main article{{#if:{{{2|}}}|s}}&#58; [[{{{1}}}|{{{l1|1}}}]]{{#if:{{{2| }}}
   |{{#if:{{{3|}}}|,&#32;|&#32;and&#32;}}[[{{{2}}}]]}}{{#if:{{{3|}}}
   |{{#if:{{{3|}}}|,&#32;|&#32;and&#32;}}[[{{{2}}}|{{{l2|2}}}]]}}{{#if:{{{3|}}}
   |{{#if:{{{4|}}}|,&#32;|,&#32;and&#32;}}[[{{{3}}}]]}}{{#if:{{{4|}}}
   |{{#if:{{{4|}}}|,&#32;|,&#32;and&#32;}}[[{{{3}}}|{{{l3|3}}}]]}}{{#if:{{{4|}}}
   |{{#if:{{{5|}}}|,&#32;|,&#32;and&#32;}}[[{{{4}}}]]}}{{#if:{{{5|}}}
   |{{#if:{{{5|}}}|,&#32;|,&#32;and&#32;}}[[{{{4}}}|{{{l4|4}}}]]}}{{#if:{{{5|}}}
   |, and [[{{{5}}}]]}}''{{#if:{{{6| }}}|&#32; (too many parameters in &#123;&#123;[[Template:main|main]]&#125;&#125;)}}</div><noinclude>
   |, and [[{{{5}}}|{{{l5|5}}}]]}}''{{#if:{{{6| }}}|&#32; (too many parameters in &#123;&#123;[[Template:main|main]]&#125;&#125;)}}</div><noinclude>


== Usage ==
== Usage ==
 
To link to a "main article" on a topic, use &#123;{main|The other article}}. Optionally specify the appearance of the link through the <tt>l1</tt> parameter.
To link to a "main article" on a topic, use &#123;{main|The other article}}.


== See also ==
== See also ==
*{{tl|Catmore}} For categories
*{{tl|Catmore}} For categories
* {{tl|Details}}
* {{tl|Details}}

Revision as of 07:39, 22 August 2006

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

Usage

To link to a "main article" on a topic, use {{main|The other article}}. Optionally specify the appearance of the link through the l1 parameter.

See also