Difference between revisions of "Template:Main"

From IOP Wiki
Jump to navigation Jump to search
(Referenced Documentation)
m (Removed __NOEDITSECTION__)
 
Line 1: Line 1:
 
<includeonly><div role="note" class="hatnote navigation-not-searchable">Main article{{#if:{{{2|}}}{{{3|}}}|s}}: {{#if:{{{l1|}}}|[[{{{1|Main}}}|{{{l1|}}}]]|[[{{{1|Main}}}]]}}{{#if:{{{2|}}}|{{#if:{{{l2|}}}|, [[{{{2|Main}}}|{{{l2|}}}]]|, [[{{{2|Main}}}]]}}}}{{#if:{{{3|}}}|{{#if:{{{l3|}}}|, [[{{{3|Main}}}|{{{l3|}}}]]|, [[{{{3|Main}}}]]}}}}</div></includeonly>
 
<includeonly><div role="note" class="hatnote navigation-not-searchable">Main article{{#if:{{{2|}}}{{{3|}}}|s}}: {{#if:{{{l1|}}}|[[{{{1|Main}}}|{{{l1|}}}]]|[[{{{1|Main}}}]]}}{{#if:{{{2|}}}|{{#if:{{{l2|}}}|, [[{{{2|Main}}}|{{{l2|}}}]]|, [[{{{2|Main}}}]]}}}}{{#if:{{{3|}}}|{{#if:{{{l3|}}}|, [[{{{3|Main}}}|{{{l3|}}}]]|, [[{{{3|Main}}}]]}}}}</div></includeonly>
__NOEDITSECTION__
 
 
<noinclude>{{Documentation}}</noinclude>
 
<noinclude>{{Documentation}}</noinclude>

Latest revision as of 20:08, 8 June 2018

Documentation icon Template documentation[view] [edit] [history] [purge]

This template is used right under a section header to inform and link the user to a more detailled page about a subject.

Syntax[edit]

A sample how to call the template. Feel free to copy this example. Please remove the parameters that are left blank.

{{Main
| Article 1
| l1 = Article label 1
| Article 2
| l2 = Article label 2
| Article 3
| l3 = Article label 3}}

Parameter list[edit]

The parameters are as follows:

(Parameter without name) The name of the Article to be linked
l1, l2, l3 A label for the link

Examples[edit]

  • {{Main}}
  • {{Main|Article}}