Difference between revisions of "Template:Main/doc"

From RimWorld Wiki
Jump to navigation Jump to search
m (1 revision: Full import of Wikia (that might sting a bit))
 
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 +
{{Rewrite|reason=Missing label explaination}}
 
;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 00:19, 24 March 2023

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|Help:Contents|Main Page|Special:RecentChanges}} gives...