Template:Main: Difference between revisions
From Vigyanwiki
Template>Jacoplane |
Template>Urhixidur (l1 through l5 params) |
||
Line 1: | Line 1: | ||
:<div class="noprint">''Main article{{#if:{{{2|}}}|s}}: [[{{{1}}}]]{{#if:{{{2| }}} | :<div class="noprint">''Main article{{#if:{{{2|}}}|s}}: [[{{{1}}}|{{{l1|1}}}]]{{#if:{{{2| }}} | ||
|{{#if:{{{3|}}}|, | and }}[[{{{2}}}]]}}{{#if:{{{3|}}} | |{{#if:{{{3|}}}|, | and }}[[{{{2}}}|{{{l2|2}}}]]}}{{#if:{{{3|}}} | ||
|{{#if:{{{4|}}}|, |, and }}[[{{{3}}}]]}}{{#if:{{{4|}}} | |{{#if:{{{4|}}}|, |, and }}[[{{{3}}}|{{{l3|3}}}]]}}{{#if:{{{4|}}} | ||
|{{#if:{{{5|}}}|, |, and }}[[{{{4}}}]]}}{{#if:{{{5|}}} | |{{#if:{{{5|}}}|, |, and }}[[{{{4}}}|{{{l4|4}}}]]}}{{#if:{{{5|}}} | ||
|, and [[{{{5}}}]]}}''{{#if:{{{6| }}}|  (too many parameters in {{[[Template:main|main]]}})}}</div><noinclude> | |, and [[{{{5}}}|{{{l5|5}}}]]}}''{{#if:{{{6| }}}|  (too many parameters in {{[[Template:main|main]]}})}}</div><noinclude> | ||
== Usage == | == Usage == | ||
To link to a "main article" on a topic, use {{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 {{main|The other article}}. | |||
== See also == | == See also == | ||
*{{tl|Catmore}} For categories | *{{tl|Catmore}} For categories | ||
* {{tl|Details}} | * {{tl|Details}} |