Difference between revisions of "Template:Main/doc"
Jump to navigation
Jump to search
m (1 revision: Full import of Wikia (that might sting a bit)) |
Tag: Undo |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
;Description | ;Description | ||
− | :This template is used at the start of a section to link to the main article on that subject. | + | :This template is used at the start of a section to link to the main article on that subject. It accepts up to 15 parameters. |
;Syntax | ;Syntax | ||
− | :Type <code>{{t|main|page name}}</code> | + | :Type <code>{{t|main|page name|page name|..|..}}</code> |
;Sample output | ;Sample output | ||
:<code><nowiki>{{main|Help:Contents}}</nowiki></code> gives... | :<code><nowiki>{{main|Help:Contents}}</nowiki></code> gives... | ||
− | :{{main|Help:Contents}} | + | :{{main|Help:Contents}}<br/> |
+ | :<code><nowiki>{{main|Help:Contents|Main Page|Special:RecentChanges}}</nowiki></code> gives... | ||
+ | :{{main|Help:Contents|Main Page|Special:RecentChanges}} | ||
<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> |
Latest revision as of 14:01, 28 September 2024
- Description
- This template is used at the start of a section to link to the main article on that subject. It accepts up to 15 parameters.
- Syntax
- Type
{{main|<page name>|<page name>|<..>|<..>}}
- Sample output
{{main|Help:Contents}}
gives...- Main page: Help:Contents
{{main|Help:Contents|Main Page|Special:RecentChanges}}
gives...