Difference between revisions of "Template:Main"

From STRUCTURES Wiki
Jump to navigation Jump to search
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
Main article(s): [[{{{1}}}, {{{2}}}, {{{3}}}]]
+
''Main article:'' [[{{{1}}}]] <noinclude>
 
+
== Usage ==
<noinclude>
+
<pre> {{Main|Article name}} </pre>
== Example == <!--T:16-->
 
<pre>
 
{{Main|Article 1|Article 2|Article Something#3}}
 
</pre>
 
{{Main|Article 1|Article 2|Article Something#3}}
 
 
 
==Template data== <!--T:17-->
 
 
 
<templatedata>
 
{
 
"params": {
 
"1": {
 
"label": "Page 1",
 
"description": "Page name of related article",
 
"type": "wiki-page-name",
 
"required": true
 
},
 
"2": {
 
"label": "Page 2",
 
"type": "wiki-page-name"
 
},
 
"3": {
 
"label": "Page 3",
 
"type": "wiki-page-name"
 
},
 
"l1": {
 
"label": "Label 1",
 
"description": "Custom label for the link to Page 1",
 
"type": "string",
 
"default": "Defaults to the name of Page 1"
 
},
 
"l2": {
 
"label": "Label 2",
 
"type": "string"
 
},
 
"l3": {
 
"label": "Label 3",
 
"type": "string"
 
}
 
},
 
"description": "This template is used to display a note directing users to the main article about a subject. This should be used at the top of a section, usually directly below a section heading.",
 
"paramOrder": [
 
"1",
 
"l1",
 
"2",
 
"l2",
 
"3",
 
"l3"
 
],
 
"format": "inline"
 
}
 
</templatedata>
 
 
 
[[Category:Templates{{#translation:}}]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 09:58, 5 May 2019

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

Usage

 {{Main|Article name}}