Template:Main: Difference between revisions

From OLPC
Jump to navigation Jump to search
(shrink)
(#if doesn't work.. old version of mediawiki.. use single param version)
 
Line 1: Line 1:
:<div class="noprint">''Main article{{#if:{{{2|}}}|s}}&#58; [[{{{1}}}|{{{l1|{{{1}}}}}}]]{{#if:{{{2| }}}
:''Main article: [[{{{1}}}]]''<noinclude>
|{{#if:{{{3|}}}|,&#32;|&#32;and&#32;}}[[{{{2}}}|{{{l2|{{{2}}}}}}]]}}{{#if:{{{3|}}}
|{{#if:{{{4|}}}|,&#32;|,&#32;and&#32;}}[[{{{3}}}|{{{l3|{{{3}}}}}}]]}}{{#if:{{{4|}}}
|{{#if:{{{5|}}}|,&#32;|,&#32;and&#32;}}[[{{{4}}}|{{{l4|{{{4}}}}}}]]}}{{#if:{{{5|}}}
|, and [[{{{5}}}|{{{l5|{{{5}}}}}}]]}}''{{#if:{{{6| }}}|&#32; (too many parameters in &#123;&#123;[[Template:main|main]]&#125;&#125;)}}</div><noinclude>


== Usage ==
== Usage ==

Latest revision as of 09:40, 18 January 2007

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

Usage

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