Template:NIWA: Difference between revisions
Supatoad64 (talk | contribs) No edit summary |
m (Text replacement - "> <noinclude>" to "><noinclude>") |
||
Line 23: | Line 23: | ||
<div style="margin-left: 20px;">[[WiKirby:{{{WiKirby-p|{{FULLPAGENAME}}}}}|WiKirby]]</div></div>}}{{#if:{{{ZeldaWiki|}}}{{{ZeldaWiki-p|}}}|<div class="niwa-ext-ZeldaWiki"><div style="float: left;">[[File:Triforce.png|15px|link=]]</div> | <div style="margin-left: 20px;">[[WiKirby:{{{WiKirby-p|{{FULLPAGENAME}}}}}|WiKirby]]</div></div>}}{{#if:{{{ZeldaWiki|}}}{{{ZeldaWiki-p|}}}|<div class="niwa-ext-ZeldaWiki"><div style="float: left;">[[File:Triforce.png|15px|link=]]</div> | ||
<div style="margin-left: 20px;">[[ZeldaWiki:{{{ZeldaWiki-p|{{FULLPAGENAME}}}}}|Zelda Wiki]]</div></div>}} | <div style="margin-left: 20px;">[[ZeldaWiki:{{{ZeldaWiki-p|{{FULLPAGENAME}}}}}|Zelda Wiki]]</div></div>}} | ||
</div></includeonly> | </div></includeonly><noinclude>There can be more than one parameter specification. Separate them with <code>{{!}}</code>. For the current links to work or new links to be added to the template, it needs to be a part of the [[Special:Interwiki|Interwiki table]] ([[Special:Log/interwiki|log]]). | ||
<noinclude>There can be more than one parameter specification. Separate them with <code>{{!}}</code>. For the current links to work or new links to be added to the template, it needs to be a part of the [[Special:Interwiki|Interwiki table]] ([[Special:Log/interwiki|log]]). | |||
==Variables== | ==Variables== | ||
===Page exists on another NIWA Wiki with exactly the same title=== | ===Page exists on another NIWA Wiki with exactly the same title=== |
Revision as of 00:38, August 30, 2019
There can be more than one parameter specification. Separate them with |
. For the current links to work or new links to be added to the template, it needs to be a part of the Interwiki table (log).
Variables
Page exists on another NIWA Wiki with exactly the same title
If the page exists or is a wanted page on another wiki, do {{NIWA|(Wiki Code, see below)=1}}
- e.g., {{NIWA|WiKirby=1}}
. This will create a copy of the template with a link to the specified wiki (in this example, WiKirby), both using and displaying exactly the same title as on Super Mario Wiki.
Page exists on another NIWA Wiki with a different title
If the page name is different than here on MarioWiki, do {{NIWA|(Wiki Code, see below)-p=(page name)}}
- e.g., {{NIWA|ARMS Institute-p=ARMS Institute:NIWA_Links}}
Title on Super Mario Wiki contains a (disambiguation) tag
If the page on Super Mario Wiki contains a disambiguation tag - for instance, the "(character)" in Pit (character), a |title=
should be specified to remove this in the box - in this example, {{NIWA|title=Pit|Icaruspedia-p=Pit|SmashWiki-p=Pit}}
All Parameters
This is what the full table looks like to the right if all -p
parameters are used. Parameters covered, as used:
{{NIWA|title=All Coverage |ARMS Institute-p=Home |Bulbapedia-p=Main Page |DKWiki-p=Main Page |DragonQuest-p=Main Page |FireEmblem-p=Main Page |F-ZeroWiki-p=Main Page |GoldenSun-p=Main Page |HardDrop-p=Main Page |Icaruspedia-p=Main Page |Inkipedia-p=Main Page |LylatWiki-p=Main Page |MetroidWiki-p=Main Page |NWiki-p=Main Page |Nookipedia-p=Main Page |Pikipedia-p=Main Page |PikminFanon-p=Main Page |SmashWiki-p=Main Page |StarfyWiki-p=Main Page |StrategyWiki-p=Main Page |WarsWiki-p=Main Page |WikiBound-p=Main Page |WiKirby-p=Main Page |ZeldaWiki-p=Main Page }}
Non-specified (identical page title) versions:
{{NIWA|title=All Coverage |ARMS Institute=1 |Bulbapedia=1 |DKWiki=1 |DragonQuest=1 |FireEmblem=1 |F-ZeroWiki=1 |GoldenSun=1 |HardDrop=1 |Icaruspedia=1 |Inkipedia=1 |LylatWiki=1 |MetroidWiki=1 |NWiki=1 |Nookipedia=1 |Pikipedia=1 |PikminFanon=1 |SmashWiki=1 |StarfyWiki=1 |StrategyWiki=1 |WarsWiki=1 |WikiBound=1 |WiKirby=1 |ZeldaWiki=1 }}