Difference between revisions of "Template:Main"

From Detective Conan Wiki
m
Line 1: Line 1:
{{rellink|extraclasses=noprint relarticle mainarticle|Main article{{#if:{{{2|}}}|s}}: [[{{{1}}}|{{{l1|{{{1}}}}}}]]{{#if:{{{2| }}}
+
{{rellink|extraclasses=noprint relarticle mainarticle|Main article{{#if:{{{2|}}}|s}}: {{{e1|[[{{{1}}}|{{{l1|{{{1}}}}}}]]}}}{{#if:{{{2|}}}
 
  |{{#if:{{{3|}}}|, | and }}[[{{{2}}}|{{{l2|{{{2}}}}}}]]}}{{#if:{{{3|}}}
 
  |{{#if:{{{3|}}}|, | and }}[[{{{2}}}|{{{l2|{{{2}}}}}}]]}}{{#if:{{{3|}}}
 
  |{{#if:{{{4|}}}|, |, and }}[[{{{3}}}|{{{l3|{{{3}}}}}}]]}}{{#if:{{{4|}}}
 
  |{{#if:{{{4|}}}|, |, and }}[[{{{3}}}|{{{l3|{{{3}}}}}}]]}}{{#if:{{{4|}}}

Revision as of 22:37, 20 May 2009

Usage

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

You can also list several articles such as: {{main|Article1|Article2|Article3}}. It will then display:

Main articles: Article1, Article2 and Article3