Template:Main: Difference between revisions

From 2d4chan
Jump to navigation Jump to search
PathfinderWiki>Virenerus
m Add autosync to Starfinderwiki
imported>Administrator
m 3 revisions imported
Line 1: Line 1:
<includeonly>:''{{rellink|extraclasses=noprint relarticle mainarticle|Main article{{#if:{{{2|}}}|s}}: [[{{{1}}}|{{{l1|{{{1}}}}}}]]{{#if:{{{2| }}}
<div class="noprint">''Main article: [[{{{1}}}|{{{l1|{{{1}}}}}}]]''</div><noinclude>
|{{#if:{{{3|}}}|,&#32;|&#32;and&#32;}}[[{{{2}}}|{{{l2|{{{2}}}}}}]]}}{{#if:{{{3|}}}
 
|{{#if:{{{4|}}}|,&#32;|,&#32;and&#32;}}[[{{{3}}}|{{{l3|{{{3}}}}}}]]}}{{#if:{{{4|}}}
== Code to include on page ==
  |{{#if:{{{5|}}}|,&#32;|,&#32;and&#32;}}[[{{{4}}}|{{{l4|{{{4}}}}}}]]}}{{#if:{{{5|}}}
  <nowiki>{{main|exact wiki link name without any brackets}}</nowiki>
|{{#if:{{{6|}}}|,&#32;|,&#32;and&#32;}}[[{{{5}}}|{{{l5|{{{5}}}}}}]]}}{{#if:{{{6|}}}
 
|{{#if:{{{7|}}}|,&#32;|,&#32;and&#32;}}[[{{{6}}}|{{{l6|{{{6}}}}}}]]}}{{#if:{{{7|}}}
If you want the "main" page to have a different displayed title, use as follows:
  |{{#if:{{{8|}}}|,&#32;|,&#32;and&#32;}}[[{{{7}}}|{{{l7|{{{7}}}}}}]]}}{{#if:{{{8|}}}
  <nowiki>{{main|exact wiki link name without any brackets|l1 = displayed title}}</nowiki>
|{{#if:{{{9|}}}|,&#32;|,&#32;and&#32;}}[[{{{8}}}|{{{l8|{{{8}}}}}}]]}}{{#if:{{{9|}}}
 
|{{#if:{{{10|}}}|,&#32;|,&#32;and&#32;}}[[{{{9}}}|{{{l9|{{{9}}}}}}]]}}{{#if:{{{10|}}}
</noinclude>
|, and [[{{{10}}}|{{{l10|{{{10}}}}}}]]}}''{{#if:{{{11| }}}|&#32; (too many parameters in &#123;&#123;[[Template:main|main]]&#125;&#125;)}}}}</includeonly><noinclude>
{{Documentation}}
[[Category:Utility templates]]
</noinclude><noinclude>[[Category:Synced to starfinderwiki]]</noinclude>

Revision as of 18:15, 24 June 2023

Main article: [[{{{1}}}|{{{1}}}]]

Code to include on page

{{main|exact wiki link name without any brackets}}

If you want the "main" page to have a different displayed title, use as follows:

{{main|exact wiki link name without any brackets|l1 = displayed title}}