https://iopwiki.com/index.php?title=Template:Main/doc&feed=atom&action=historyTemplate:Main/doc - Revision history2024-03-28T22:12:02ZRevision history for this page on the wikiMediaWiki 1.32.2https://iopwiki.com/index.php?title=Template:Main/doc&diff=41379&oldid=prevMessing with data: Initial setup2018-06-08T20:02:30Z<p>Initial setup</p>
<p><b>New page</b></p><div>{{Documentation subpage}}<br />
This template is used right under a section header to inform and link the user to a more detailled page about a subject.<br />
<br />
== Syntax ==<br />
<br />
A sample how to call the template. Feel free to copy this example. Please remove the parameters that are left blank.<br />
<br />
<pre style="overflow:auto;">{{Main<br />
| Article 1<br />
| l1 = Article label 1<br />
| Article 2<br />
| l2 = Article label 2<br />
| Article 3<br />
| l3 = Article label 3}}</pre><br />
<br />
== Parameter list ==<br />
<br />
The parameters are as follows:<br />
:<code>(Parameter without name)</code> The name of the Article to be linked<br />
:<code>l1, l2, l3</code> A label for the link<br />
<br />
== Examples ==<br />
<br />
*<code><nowiki>{{Main}}</nowiki></code> &rarr; {{Main}}<br />
*<code><nowiki>{{Main|Article}}</nowiki></code> &rarr; {{Main|Article}}<br />
*<code><nowiki>{{Main|Article#Section}}</nowiki></code> &rarr; {{Main|Article#Section}}<br />
*<code><nowiki>{{Main|Article#Section|l1=Custom section label}}</nowiki></code> &rarr; {{Main|Article#Section|l1=Custom section label}}<br />
*<code><nowiki>{{Main|Article1|Article2|Article3}}</nowiki></code> &rarr; {{Main|Article1|Article2|Article3}}<br />
*<code><nowiki>{{Main|Article1|l1=Custom label 1|Article2|l2=Custom label 2}}</nowiki></code> &rarr; {{Main|Article1|l1=Custom label 1|Article2|l2=Custom label 2}}</div>Messing with data