Template:Main/doc: Difference between revisions
From Space Station 14 Wiki
defaultloadout-wikigg>Karmaworks No edit summary |
defaultloadout-wikigg>Karmaworks No edit summary |
||
Line 1: | Line 1: | ||
== Summary == | == Summary == | ||
<templatedata> | <templatedata> | ||
{ | { | ||
Line 54: | Line 32: | ||
} | } | ||
</templatedata> | </templatedata> | ||
== Examples == | |||
{| class="wikitable" | |||
! Code !! Result | |||
|- | |||
| <code><nowiki>{{Main|Page One}}</nowiki></code> || {{Main|Page One}} | |||
|- | |||
| <code><nowiki>{{Main|Page One#Section Title}}</nowiki></code> || {{Main|Page One#Section Title}} | |||
|- | |||
| <code><nowiki>{{Main|Page One|Page Two}}</nowiki></code> || {{Main|Page One|Page Two}} | |||
|- | |||
| <code><nowiki>{{Main|Page One|Page Two|Page Three}}</nowiki></code> || {{Main|Page One|Page Two|Page Three}} | |||
|- | |||
| <code><nowiki>{{Main|Page One{{!}}Page 1}}</nowiki></code> (Custom link label) || {{Main|Page One{{!}}Page 1}} | |||
|} | |||
== Dependencies == | |||
This template requires the {{tl|Hatnote}} metatemplate. | |||
== Source == | |||
Roughly based on [https://en.wikipedia.org/wiki/Template:For Wikipedia's For Template]. | |||
__NOTOC__ |
Revision as of 21:08, 12 April 2024
Summary
This hatnote template is meant to be in sections of an article mentioning information about another existing main article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Article | 1 | A main article.
| Page name | required |
Second Article | 2 | A second main article.
| Page name | optional |
Third Article | 3 | A third main article.
| Page name | optional |
Examples
Dependencies
This template requires the {{Hatnote}}
metatemplate.
Source
Roughly based on Wikipedia's For Template.