Template:NIWA: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly><div class="nav-right noprint | <includeonly><div class="nav-right floatright noprint" style="font-size:90%;width:250px;background:#bfdfff;border:1px solid #007fff;padding:5px;margin:0 0 10px 1em"><div>'''{{{title|{{PAGENAME}}}}}''' coverage on other [[MarioWiki:Nintendo Independent Wiki Alliance|NIWA]] wikis:<hr></div><!-- | ||
<div style="margin-left:20px">[[ | -->{{#if:{{{ARMSWiki|}}}|<div style="float:left">[[File:Arms-niwa-icon.png|15px|link=]]</div> | ||
<div style="margin-left:20px">[[Bulbapedia:{{{Bulbapedia | <div style="margin-left:20px">[[ARMSWiki:{{#ifeq:{{{ARMSWiki}}}|1|{{FULLPAGENAME}}|{{{ARMSWiki}}}}}|ARMS Institute]]</div>}}<!-- | ||
<div style="margin-left:20px">[[DragaliaWiki:{{{DragaliaWiki | -->{{#if:{{{Bulbapedia|}}}|<div style="float:left">[[File:SugimoriPokeBall.png|15px|link=]]</div> | ||
<div style="margin-left:20px">[[DragonQuest:{{{ | <div style="margin-left:20px">[[Bulbapedia:{{#ifeq:{{{Bulbapedia}}}|1|{{FULLPAGENAME}}|{{{Bulbapedia}}}}}|Bulbapedia]]</div>}}<!-- | ||
<div style="margin-left:20px">[[FireEmblem:{{{FireEmblem | -->{{#if:{{{DragaliaWiki|}}}|<div style="float:left">[[File:Dragalia icon.png|15px|link=]]</div> | ||
<div style="margin-left:20px">[[FZeroWiki:{{{FZeroWiki | <div style="margin-left:20px">[[DragaliaWiki:{{#ifeq:{{{DragaliaWiki}}}|1|{{FULLPAGENAME}}|{{{DragaliaWiki}}}}}|Dragalia Lost Wiki]]</div>}}<!-- | ||
<div style="margin-left:20px">[[GoldenSun:{{{GoldenSun | -->{{#if:{{{DragonQuest|}}}|<div style="float:left">[[File:DragonQuestSymbol.png|15px|link=|class=invert]]</div> | ||
<div style="margin-left:20px">[[HardDrop:{{{ | <div style="margin-left:20px">[[DragonQuest:{{#ifeq:{{{DragonQuest}}}|1|{{FULLPAGENAME}}|{{{DragonQuest}}}}}|Dragon Quest Wiki]]</div>}}<!-- | ||
<div style="margin-left:20px">[[Icaruspedia:{{{Icaruspedia | -->{{#if:{{{FireEmblem|}}}|<div style="float:left">[[File:FESword.png|15px|link=]]</div> | ||
<div style="margin-left:20px">[[Inkipedia:{{{Inkipedia | <div style="margin-left:20px">[[FireEmblem:{{#ifeq:{{{FireEmblem}}}|1|{{FULLPAGENAME}}|{{{FireEmblem}}}}}|Fire Emblem Wiki]]</div>}}<!-- | ||
<div style="margin-left:20px">[[LylatWiki:{{{LylatWiki | -->{{#if:{{{FZeroWiki|}}}|<div style="float:left">[[File:FZeroSymbol.png|15px|link=|class=invert]]</div> | ||
<div style="margin-left:20px">[[MetroidWiki:{{{ | <div style="margin-left:20px">[[FZeroWiki:{{#ifeq:{{{FZeroWiki}}}|1|{{FULLPAGENAME}}|{{{FZeroWiki}}}}}|F-Zero Wiki]]</div>}}<!-- | ||
<div style="margin-left:20px">[[NWiki:{{{NWiki | -->{{#if:{{{GoldenSun|}}}|<div style="float:left">[[File:Golden Sun logo.png|15px|link=]]</div> | ||
<div style="margin-left:20px">[[Nookipedia:{{{Nookipedia | <div style="margin-left:20px">[[GoldenSun:{{#ifeq:{{{GoldenSun}}}|1|{{FULLPAGENAME}}|{{{GoldenSun}}}}}|Golden Sun Universe]]</div>}}<!-- | ||
<div style="margin-left:20px">[[Pikipedia:{{{Pikipedia | -->{{#if:{{{HardDrop|}}}|<div style="float:left">[[File:Tetris-icon.png|15px|link=]]</div> | ||
<div style="margin-left:20px">[[SmashWiki:{{{ | <div style="margin-left:20px">[[HardDrop:{{#ifeq:{{{HardDrop}}}|1|{{FULLPAGENAME}}|{{{HardDrop}}}}}|Hard Drop Tetris Wiki]]</div>}}<!-- | ||
<div style="margin-left:20px">[[StarfyWiki:{{{StarfyWiki | -->{{#if:{{{Icaruspedia|}}}|<div style="float:left">[[File:IcaruspediaLink.png|15px|link=|class=invert]]</div> | ||
<div style="margin-left:20px">[[StrategyWiki:{{{StrategyWiki | <div style="margin-left:20px">[[Icaruspedia:{{#ifeq:{{{Icaruspedia}}}|1|{{FULLPAGENAME}}|{{{Icaruspedia}}}}}|Icaruspedia]]</div>}}<!-- | ||
<div style="margin-left:20px">[[Ukikipedia:{{{Ukikipedia | -->{{#if:{{{Inkipedia|}}}|<div style="float:left">[[File:Inkipedia.png|15px|link=]]</div> | ||
<div style="margin-left:20px">[[WarsWiki:{{{ | <div style="margin-left:20px">[[Inkipedia:{{#ifeq:{{{Inkipedia}}}|1|{{FULLPAGENAME}}|{{{Inkipedia}}}}}|Inkipedia]]</div>}}<!-- | ||
<div style="margin-left:20px">[[WikiBound:{{{WikiBound | -->{{#if:{{{LylatWiki|}}}|<div style="float:left">[[File:Starfoxsymbol.png|15px|link=|class=invert]]</div> | ||
<div style="margin-left:20px">[[WiKirby:{{{WiKirby | <div style="margin-left:20px">[[LylatWiki:{{#ifeq:{{{LylatWiki}}}|1|{{FULLPAGENAME}}|{{{LylatWiki}}}}}|Lylat Wiki]]</div>}}<!-- | ||
<div style="margin-left:20px">[[XenoSeries:{{{XenoSeries | -->{{#if:{{{MetroidWiki|}}}|<div style="float:left">[[File:Screw Attack.png|15px|link=]]</div> | ||
<div style="margin-left:20px">[[ZeldaWiki:{{{ | <div style="margin-left:20px">[[MetroidWiki:{{#ifeq:{{{MetroidWiki}}}|1|{{FULLPAGENAME}}|{{{MetroidWiki}}}}}|Metroid Wiki]]</div>}}<!-- | ||
</div></includeonly><noinclude> | -->{{#if:{{{NWiki|}}}|<div style="float:left">[[File:NintendoWiki icon.png|15px|link=]]</div> | ||
<div style="margin-left:20px">[[NWiki:{{#ifeq:{{{NWiki}}}|1|{{FULLPAGENAME}}|{{{NWiki}}}}}|NintendoWiki]]</div>}}<!-- | |||
-->{{#if:{{{Nookipedia|}}}|<div style="float:left">[[File:Animal Crossing logo.png|15px|link=]]</div> | |||
<div style="margin-left:20px">[[Nookipedia:{{#ifeq:{{{Nookipedia}}}|1|{{FULLPAGENAME}}|{{{Nookipedia}}}}}|Nookipedia]]</div>}}<!-- | |||
-->{{#if:{{{Pikipedia|}}}|<div style="float:left">[[File:Pikminlogo.png|15px|link=]]</div> | |||
<div style="margin-left:20px">[[Pikipedia:{{#ifeq:{{{Pikipedia}}}|1|{{FULLPAGENAME}}|{{{Pikipedia}}}}}|Pikipedia]]</div>}}<!-- | |||
-->{{#if:{{{SmashWiki|}}}|<div style="float:left">[[File:Smashsymbol.png|15px|link=|class=invert]]</div> | |||
<div style="margin-left:20px">[[SmashWiki:{{#ifeq:{{{SmashWiki}}}|1|{{FULLPAGENAME}}|{{{SmashWiki}}}}}|SmashWiki]]</div>}}<!-- | |||
-->{{#if:{{{StarfyWiki|}}}|<div style="float:left">[[File:StarfyNIWApic.png|15px|link=]]</div> | |||
<div style="margin-left:20px">[[StarfyWiki:{{#ifeq:{{{StarfyWiki}}}|1|{{FULLPAGENAME}}|{{{StarfyWiki}}}}}|Starfy Wiki]]</div>}}<!-- | |||
-->{{#if:{{{StrategyWiki|}}}|<div style="float:left">[[File:SWlogo.png|15px|link=]]</div> | |||
<div style="margin-left:20px">[[StrategyWiki:{{#ifeq:{{{StrategyWiki}}}|1|{{FULLPAGENAME}}|{{{StrategyWiki}}}}}|StrategyWiki]]</div>}}<!-- | |||
-->{{#if:{{{Ukikipedia|}}}|<div style="float:left">[[File:Ukikipedia.png|15px|link=]]</div> | |||
<div style="margin-left:20px">[[Ukikipedia:{{#ifeq:{{{Ukikipedia}}}|1|{{FULLPAGENAME}}|{{{Ukikipedia}}}}}|Ukikipedia]]</div>}}<!-- | |||
-->{{#if:{{{WarsWiki|}}}|<div style="float:left">[[File:AdvanceTank.png|15px|link=]]</div> | |||
<div style="margin-left:20px">[[WarsWiki:{{#ifeq:{{{WarsWiki}}}|1|{{FULLPAGENAME}}|{{{WarsWiki}}}}}|Wars Wiki]]</div>}}<!-- | |||
-->{{#if:{{{WikiBound|}}}|<div style="float:left">[[File:WikiBound.png|15px|link=]]</div> | |||
<div style="margin-left:20px">[[WikiBound:{{#ifeq:{{{WikiBound}}}|1|{{FULLPAGENAME}}|{{{WikiBound}}}}}|WikiBound]]</div>}}<!-- | |||
-->{{#if:{{{WiKirby|}}}|<div style="float:left">[[File:Warp Star.png|15px|link=]]</div> | |||
<div style="margin-left:20px">[[WiKirby:{{#ifeq:{{{WiKirby}}}|1|{{FULLPAGENAME}}|{{{WiKirby}}}}}|WiKirby]]</div>}}<!-- | |||
-->{{#if:{{{XenoSeries|}}}|<div style="float:left">[[File:Xeno series.png|15px|link=]]</div> | |||
<div style="margin-left:20px">[[XenoSeries:{{#ifeq:{{{XenoSeries}}}|1|{{FULLPAGENAME}}|{{{XenoSeries}}}}}|Xeno Series Wiki]]</div>}}<!-- | |||
-->{{#if:{{{ZeldaWiki|}}}|<div style="float:left">[[File:Triforce.png|15px|link=]]</div> | |||
<div style="margin-left:20px">[[ZeldaWiki:{{#ifeq:{{{ZeldaWiki}}}|1|{{FULLPAGENAME}}|{{{ZeldaWiki}}}}}|Zelda Wiki]]</div>}}<!-- | |||
--></div></includeonly><noinclude> | |||
The template should be placed at the top of the external links section if it exists, otherwise it should be placed at the top of the last main section (immediately underneath the h2 heading). Listing the <code>title</code> parameter first (if used) followed by the wiki parameters on new lines in alphabetical order is preferred (see formatting below). | |||
== Usage == | |||
=== Page exists on another NIWA wiki with exactly the same title === | |||
{{NIWA|WiKirby=1}} | |||
If the page exists or is a wanted page on another wiki, use <code><nowiki>{{NIWA|WikiCode=1}}</nowiki></code> (e.g. <code><nowiki>{{NIWA|WiKirby=1}}</nowiki></code>). This will create a copy of the template with a link to the specified wiki, using exactly the same title as on the Super Mario Wiki. See below for a full list of wiki parameters. {{br}} | |||
=== Page exists on another NIWA wiki with a different title === | |||
===Page exists on another NIWA wiki with | {{NIWA|ARMSWiki=ARMS Institute:NIWA Links}} | ||
{{NIWA| | If the page name is different than here on MarioWiki, use <code><nowiki>{{NIWA|WikiCode=Page name}}</nowiki></code> (e.g. <code><nowiki>{{NIWA|ARMSWiki=ARMS Institute:NIWA Links}}</nowiki></code>). {{br}} | ||
=== | === Title on the Super Mario Wiki contains an identifier === | ||
{{NIWA| | {{NIWA|title=Pit|Icaruspedia=Pit|SmashWiki=Pit}} | ||
If the page on the Super Mario Wiki contains an article identifier, such as the "(character)" in [[Pit (character)]], a <code><nowiki>title</nowiki></code> parameter should be specified to remove this in the box. In this example, <code><nowiki>{{NIWA|title=Pit|Icaruspedia=Pit|SmashWiki=Pit}}</nowiki></code>. {{br}} | |||
== | == Parameters and formatting == | ||
Here's a list of all the available parameters (shown using identical page title format): | |||
<pre>{{NIWA|title=Complete | <pre>{{NIWA|title=Complete | ||
| | |ARMSWiki=1 | ||
|Bulbapedia=1 | |Bulbapedia=1 | ||
|DragaliaWiki=1 | |DragaliaWiki=1 | ||
Line 97: | Line 93: | ||
|ZeldaWiki=1 | |ZeldaWiki=1 | ||
}}</pre> | }}</pre> | ||
The parameters match the standard interwiki prefixes used across NIWA, with capitalization applied. | |||
[[Category:Navigation templates|*]]</noinclude> | [[Category:Navigation templates|*]]</noinclude> |
Revision as of 11:09, June 18, 2021
The template should be placed at the top of the external links section if it exists, otherwise it should be placed at the top of the last main section (immediately underneath the h2 heading). Listing the title
parameter first (if used) followed by the wiki parameters on new lines in alphabetical order is preferred (see formatting below).
Usage
Page exists on another NIWA wiki with exactly the same title
If the page exists or is a wanted page on another wiki, use {{NIWA|WikiCode=1}}
(e.g. {{NIWA|WiKirby=1}}
). This will create a copy of the template with a link to the specified wiki, using exactly the same title as on the Super Mario Wiki. See below for a full list of wiki parameters.
Page exists on another NIWA wiki with a different title
If the page name is different than here on MarioWiki, use {{NIWA|WikiCode=Page name}}
(e.g. {{NIWA|ARMSWiki=ARMS Institute:NIWA Links}}
).
Title on the Super Mario Wiki contains an identifier
If the page on the Super Mario Wiki contains an article identifier, such as the "(character)" in Pit (character), a title
parameter should be specified to remove this in the box. In this example, {{NIWA|title=Pit|Icaruspedia=Pit|SmashWiki=Pit}}
.
Parameters and formatting
Here's a list of all the available parameters (shown using identical page title format):
{{NIWA|title=Complete |ARMSWiki=1 |Bulbapedia=1 |DragaliaWiki=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 |SmashWiki=1 |StarfyWiki=1 |StrategyWiki=1 |Ukikipedia=1 |WarsWiki=1 |WikiBound=1 |WiKirby=1 |XenoSeries=1 |ZeldaWiki=1 }}
The parameters match the standard interwiki prefixes used across NIWA, with capitalization applied.