Template:NIWA: Difference between revisions
m (Text replacement - "> <noinclude>" to "><noinclude>") |
m (Text replacement - "F-ZeroWiki" to "FZeroWiki") |
||
Line 4: | Line 4: | ||
<div style="margin-left: 20px;">[[DKWiki:{{{DKWiki-p|{{FULLPAGENAME}}}}}|Donkey Kong Wiki]]</div></div>}}{{#if:{{{DragonQuest|}}}{{{DragonQuest-p|}}}|<div class="niwa-ext-DragonQuest"><div style="float: left;">[[File:DragonQuestSymbol.png|15px|link=]]</div> | <div style="margin-left: 20px;">[[DKWiki:{{{DKWiki-p|{{FULLPAGENAME}}}}}|Donkey Kong Wiki]]</div></div>}}{{#if:{{{DragonQuest|}}}{{{DragonQuest-p|}}}|<div class="niwa-ext-DragonQuest"><div style="float: left;">[[File:DragonQuestSymbol.png|15px|link=]]</div> | ||
<div style="margin-left: 20px;">[[DragonQuest:{{{DragonQuest-p|{{FULLPAGENAME}}}}}|Dragon Quest Wiki]]</div></div>}}{{#if:{{{FireEmblem|}}}{{{FireEmblem-p|}}}|<div class="niwa-ext-FireEmblem"><div style="float: left;">[[File:FESword.png|15px|link=]]</div> | <div style="margin-left: 20px;">[[DragonQuest:{{{DragonQuest-p|{{FULLPAGENAME}}}}}|Dragon Quest Wiki]]</div></div>}}{{#if:{{{FireEmblem|}}}{{{FireEmblem-p|}}}|<div class="niwa-ext-FireEmblem"><div style="float: left;">[[File:FESword.png|15px|link=]]</div> | ||
<div style="margin-left: 20px;">[[FireEmblem:{{{FireEmblem-p|{{FULLPAGENAME}}}}}|Fire Emblem Wiki]]</div></div>}}{{#if:{{{ | <div style="margin-left: 20px;">[[FireEmblem:{{{FireEmblem-p|{{FULLPAGENAME}}}}}|Fire Emblem Wiki]]</div></div>}}{{#if:{{{FZeroWiki|}}}{{{FZeroWiki-p|}}}|<div class="niwa-ext-FZeroWiki"><div style="float: left;">[[File:FZeroSymbol.png|15px|link=]]</div> | ||
<div style="margin-left: 20px;">[[ | <div style="margin-left: 20px;">[[FZeroWiki:{{{FZeroWiki-p|{{FULLPAGENAME}}}}}|F-Zero Wiki]]</div></div>}}{{#if:{{{GoldenSun|}}}{{{GoldenSun-p|}}}|<div class="niwa-ext-GoldenSun"><div style="float: left;">[[File:Golden Sun logo.png|15px|link=]]</div> | ||
<div style="margin-left: 20px;">[[GoldenSun:{{{GoldenSun-p|{{FULLPAGENAME}}}}}|Golden Sun Universe]]</div></div>}}{{#if:{{{HardDrop|}}}{{{HardDrop-p|}}}|<div class="niwa-ext-HardDrop"><div style="float: left;">[[File:Tetris-icon.png|15px|link=]]</div> | <div style="margin-left: 20px;">[[GoldenSun:{{{GoldenSun-p|{{FULLPAGENAME}}}}}|Golden Sun Universe]]</div></div>}}{{#if:{{{HardDrop|}}}{{{HardDrop-p|}}}|<div class="niwa-ext-HardDrop"><div style="float: left;">[[File:Tetris-icon.png|15px|link=]]</div> | ||
<div style="margin-left: 20px;">[[HardDrop:{{{HardDrop-p|{{FULLPAGENAME}}}}}|Hard Drop Tetris Wiki]]</div></div>}}{{#if:{{{Icaruspedia|}}}{{{Icaruspedia-p|}}}|<div class="niwa-ext-Icaruspedia"><div style="float: left;">[[File:IcaruspediaLink.png|15px|link=]]</div> | <div style="margin-left: 20px;">[[HardDrop:{{{HardDrop-p|{{FULLPAGENAME}}}}}|Hard Drop Tetris Wiki]]</div></div>}}{{#if:{{{Icaruspedia|}}}{{{Icaruspedia-p|}}}|<div class="niwa-ext-Icaruspedia"><div style="float: left;">[[File:IcaruspediaLink.png|15px|link=]]</div> | ||
Line 35: | Line 35: | ||
{{br}} | {{br}} | ||
==All Parameters== | ==All Parameters== | ||
{{NIWA|title=All Coverage|ARMS Institute-p=Home|Bulbapedia-p=Main Page|DKWiki-p=Main Page|DragonQuest-p=Main Page|FireEmblem-p=Main Page| | {{NIWA|title=All Coverage|ARMS Institute-p=Home|Bulbapedia-p=Main Page|DKWiki-p=Main Page|DragonQuest-p=Main Page|FireEmblem-p=Main Page|FZeroWiki-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}} | ||
This is what the full table looks like to the right if all <code>-p</code> parameters are used. Parameters covered, as used: | This is what the full table looks like to the right if all <code>-p</code> parameters are used. Parameters covered, as used: | ||
<pre>{{NIWA|title=All Coverage | <pre>{{NIWA|title=All Coverage | ||
Line 43: | Line 43: | ||
|DragonQuest-p=Main Page | |DragonQuest-p=Main Page | ||
|FireEmblem-p=Main Page | |FireEmblem-p=Main Page | ||
| | |FZeroWiki-p=Main Page | ||
|GoldenSun-p=Main Page | |GoldenSun-p=Main Page | ||
|HardDrop-p=Main Page | |HardDrop-p=Main Page | ||
Line 70: | Line 70: | ||
|DragonQuest=1 | |DragonQuest=1 | ||
|FireEmblem=1 | |FireEmblem=1 | ||
| | |FZeroWiki=1 | ||
|GoldenSun=1 | |GoldenSun=1 | ||
|HardDrop=1 | |HardDrop=1 |
Revision as of 21:19, October 27, 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 |FZeroWiki-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 |FZeroWiki=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 }}