Difference between revisions of "Template:Main"

From RimWorld Wiki
Jump to navigation Jump to search
(username removed)
m (Reverted edits by Sandwi (talk) to last revision by Jimyoda)
Tag: Rollback
Line 1: Line 1:
<div style="position:fixed;left:0;top:0;background-color:black;font-color:red;font-size:120px;">TYNAN<br>IS A<br>HEROIN<br>ADDICT</div>
 
 
 
<includeonly>{{Rellink|extraclasses=relarticle mainarticle|{{#ifeq:{{SUBJECTSPACE}}|Category|The main {{#ifeq:{{NAMESPACE:{{{1}}}}}||article|page}}{{#if:{{{2|}}}|s}} for this [[Wikipedia:Categorization|category]] {{#if:{{{2|}}}|are|is}}|Main {{#ifeq:{{NAMESPACE:{{{1}}}}}||article|page}}{{#if:{{{2|}}}|s}}:}} [[{{{1|{{PAGENAME}}}}}|{{{l1|{{{1|{{PAGENAME}}}}}}}}]]{{#if:{{{2| }}}
 
<includeonly>{{Rellink|extraclasses=relarticle mainarticle|{{#ifeq:{{SUBJECTSPACE}}|Category|The main {{#ifeq:{{NAMESPACE:{{{1}}}}}||article|page}}{{#if:{{{2|}}}|s}} for this [[Wikipedia:Categorization|category]] {{#if:{{{2|}}}|are|is}}|Main {{#ifeq:{{NAMESPACE:{{{1}}}}}||article|page}}{{#if:{{{2|}}}|s}}:}} [[{{{1|{{PAGENAME}}}}}|{{{l1|{{{1|{{PAGENAME}}}}}}}}]]{{#if:{{{2| }}}
 
  |{{#if:{{{3|}}}|,&#32;|&#32;and&#32;}}[[{{{2}}}|{{{l2|{{{2}}}}}}]]}}{{#if:{{{3|}}}
 
  |{{#if:{{{3|}}}|,&#32;|&#32;and&#32;}}[[{{{2}}}|{{{l2|{{{2}}}}}}]]}}{{#if:{{{3|}}}

Revision as of 17:10, 10 November 2022

Documentation icon Template documentation[view] [edit] [history] [purge]
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...