Template:Main: Difference between revisions
Created page with ":''Main article: [[{{{1|{{PAGENAME}}}}}]]''<noinclude> <templatedata> { "params": { "1": { "label": "Page", "description": "Name of the page to link to", "type": "..." |
Speedybrain (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
: | <includeonly><div role="note" class="hatnote navigation-not-searchable">Main {{#if:{{{2|}}}|articles|article}}: [[{{{1|{{PAGENAME}}}}}|{{{l1|{{{1|{{PAGENAME}}}}}}}}]]{{#if:{{{2|}}}|{{#if:{{{3|}}}|, | and }}[[{{{2}}}|{{{l2|{{{2}}}}}}]]}}{{#if:{{{3|}}}| and [[{{{3}}}|{{{l3|{{{3}}}}}}]]}}</div></includeonly><noinclude> | ||
Points from a section to the page that covers its topic in full. Put it right under the section heading. | |||
{{Main|Factory/Recipes}} | |||
<pre>{{Main|Factory/Recipes}} | |||
{{Main|Artifacts|Achievements}} | |||
{{Main|Modules#Infinity|l1=Infinity modules}}</pre> | |||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": "A note under a section heading that links to the page covering the topic in full.", | |||
"format": "inline", | |||
"params": { | "params": { | ||
"1": { | "1": { | ||
"label": "Page", | "label": "Page", | ||
"description": " | "description": "The main page for this section", | ||
"type": "wiki-page-name", | "type": "wiki-page-name", | ||
"example": " | "example": "Factory/Recipes", | ||
"default": " | "default": "The current page", | ||
"suggested": true | "suggested": true | ||
}, | |||
"2": { | |||
"label": "Second page", | |||
"type": "wiki-page-name" | |||
}, | |||
"3": { | |||
"label": "Third page", | |||
"type": "wiki-page-name" | |||
}, | |||
"l1": { | |||
"label": "Label for the first page", | |||
"type": "string" | |||
}, | |||
"l2": { | |||
"label": "Label for the second page", | |||
"type": "string" | |||
}, | |||
"l3": { | |||
"label": "Label for the third page", | |||
"type": "string" | |||
} | } | ||
} | } | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> | ||
Latest revision as of 19:53, 6 October 2026
Points from a section to the page that covers its topic in full. Put it right under the section heading.
{{Main|Factory/Recipes}}
{{Main|Artifacts|Achievements}}
{{Main|Modules#Infinity|l1=Infinity modules}}
A note under a section heading that links to the page covering the topic in full.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Page | 1 | The main page for this section
| Page name | suggested |
| Second page | 2 | no description | Page name | optional |
| Third page | 3 | no description | Page name | optional |
| Label for the first page | l1 | no description | String | optional |
| Label for the second page | l2 | no description | String | optional |
| Label for the third page | l3 | no description | String | optional |