Template:Main: Difference between revisions
From Space Station 14 Wiki
defaultloadout-wikigg>Karmaworks No edit summary |
defaultloadout-wikigg>Karmaworks No edit summary |
||
Line 1: | Line 1: | ||
<includeonly><!-- | |||
-->{{#vardefine:text|<!-- start vd | |||
-->{{#if:{{{2|}}}<!-- if more than one page | |||
-->|[[{{{1}}}]]{{#if:{{{3|}}}<!-- start concat if | |||
-->|, [[{{{2}}}]] and [[{{{3}}}]]<!-- concat two | |||
-->|<nowiki> </nowiki>and [[{{{2}}}]]<!-- else; concat one | |||
-->}}<!-- end concat if | |||
-->|[[{{{1}}}]]<!-- else; one page only | |||
-->}}<!-- end if | |||
-->}}<!-- end vd | |||
-->{{Hatnote|<!-- | |||
Main | -->{{#if:{{{2|}}}|Main Articles|Main Article}}: {{#var:text}}.<!-- | ||
-->}}<!-- | |||
--></includeonly><!-- | |||
--><noinclude>{{doc}}</noinclude> |
Revision as of 20:58, 12 April 2024
Examples
Code | Result |
---|---|
{{Main|Special:WantedPages}} |
Main Article: Special:WantedPages.
|
{{Main|Special:WantedPages#Section Title}} |
Main Article: Special:WantedPages.
|
{{Main|Special:WantedPages|Special:UncategorizedPages}} |
Main Articles: Special:WantedPages and Special:UncategorizedPages.
|
{{Main|Special:WantedPages|Special:UncategorizedPages|Special:UncategorizedCategories}} |
|
{{Main|Special:WantedPages{{!}}Page 1}} (Custom link label) |
Main Article: Page 1.
|