Template:Main/doc: Difference between revisions
Appearance
Some documentation taken from https://templates.fandom.com/wiki/Template:Main_article/doc |
No edit summary |
||
Line 3: | Line 3: | ||
;Usage | ;Usage | ||
:Place {{t|Main}} followed by as many referral pages as needed | :Place {{t|Main}} followed by as many referral pages as needed. | ||
;Syntax | ;Syntax | ||
Line 12: | Line 12: | ||
;Without label | ;Without label | ||
:<code><nowiki>{{main|Neptune}}</nowiki></code> gives... | :<code><nowiki>{{main|Neptune}}</nowiki></code> gives... | ||
{{main|Neptune}} | |||
;With label | ;With label | ||
:<code><nowiki>{{main|Hyperdimension Neptunia mk2: Sounds of Gamindustri|l1=Hyperdimension Neptunia mk2 OST}}</nowiki></code> gives... | :<code><nowiki>{{main|Hyperdimension Neptunia mk2: Sounds of Gamindustri|l1=Hyperdimension Neptunia mk2 OST}}</nowiki></code> gives... | ||
{{main|Hyperdimension Neptunia mk2: Sounds of Gamindustri|l1=Hyperdimension Neptunia mk2 OST}} | |||
<includeonly>[[Category:General wiki templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> | <includeonly>[[Category:General wiki templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> |
Revision as of 19:51, 2 April 2023
- Description
- This template is used at the start of a section to link to the main article on that subject.
- Usage
- Place {{Main}} followed by as many referral pages as needed.
- Syntax
- Type
{{Main|<page1>|<page2>|<…>|<page10>}}
- Or if you want to add labels to pages, type
{{Main|<page1>|<l1=label1>|<page2>|<l2=label2>|<…>|<page10>|<l10=label10>}}
- Sample outputs
- Without label
{{main|Neptune}}
gives...
- With label
{{main|Hyperdimension Neptunia mk2: Sounds of Gamindustri|l1=Hyperdimension Neptunia mk2 OST}}
gives...