Template:NIWA: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
No edit summary
No edit summary
Line 6: Line 6:
-->{{#if:{{{DragaliaWiki|}}}|<div style="float:left">[[File:Dragalia Lost Wiki icon.png|16px|link=]]</div>
-->{{#if:{{{DragaliaWiki|}}}|<div style="float:left">[[File:Dragalia Lost Wiki icon.png|16px|link=]]</div>
<div style="margin-left:20px">[[DragaliaWiki:{{#ifeq:{{{DragaliaWiki}}}|1|{{FULLPAGENAME}}|{{{DragaliaWiki}}}}}|Dragalia Lost Wiki]]</div>}}<!--
<div style="margin-left:20px">[[DragaliaWiki:{{#ifeq:{{{DragaliaWiki}}}|1|{{FULLPAGENAME}}|{{{DragaliaWiki}}}}}|Dragalia Lost Wiki]]</div>}}<!--
-->{{#if:{{{DrawnToLife|}}}|<div style="float:left">[[File:Drawn to Life Wiki icon.png|16px|link=]]</div>
<div style="margin-left:20px">[[DrawnToLife:{{#ifeq:{{{DrawnToLife}}}|1|{{FULLPAGENAME}}|{{{DrawnToLife}}}}}|Drawn to Life Wiki]]</div>}}<!--
-->{{#if:{{{FireEmblem|}}}|<div style="float:left">[[File:Fire Emblem Wiki icon.png|16px|link=]]</div>
-->{{#if:{{{FireEmblem|}}}|<div style="float:left">[[File:Fire Emblem Wiki icon.png|16px|link=]]</div>
<div style="margin-left:20px">[[FireEmblem:{{#ifeq:{{{FireEmblem}}}|1|{{FULLPAGENAME}}|{{{FireEmblem}}}}}|Fire Emblem Wiki]]</div>}}<!--
<div style="margin-left:20px">[[FireEmblem:{{#ifeq:{{{FireEmblem}}}|1|{{FULLPAGENAME}}|{{{FireEmblem}}}}}|Fire Emblem Wiki]]</div>}}<!--
Line 38: Line 36:
-->{{#if:{{{Ukikipedia|}}}|<div style="float:left">[[File:Ukikipedia icon.png|16px|link=]]</div>
-->{{#if:{{{Ukikipedia|}}}|<div style="float:left">[[File:Ukikipedia icon.png|16px|link=]]</div>
<div style="margin-left:20px">[[Ukikipedia:{{#ifeq:{{{Ukikipedia}}}|1|{{FULLPAGENAME}}|{{{Ukikipedia}}}}}|Ukikipedia]]</div>}}<!--
<div style="margin-left:20px">[[Ukikipedia:{{#ifeq:{{{Ukikipedia}}}|1|{{FULLPAGENAME}}|{{{Ukikipedia}}}}}|Ukikipedia]]</div>}}<!--
-->{{#if:{{{DrawnToLife|}}}|<div style="float:left">[[File:Drawn to Life Wiki icon.png|16px|link=]]</div>
<div style="margin-left:20px">[[DrawnToLife:{{#ifeq:{{{DrawnToLife}}}|1|{{FULLPAGENAME}}|{{{DrawnToLife}}}}}|Wapopedia]]</div>}}<!--
-->{{#if:{{{WarsWiki|}}}|<div style="float:left">[[File:Wars Wiki icon.png|16px|link=]]</div>
-->{{#if:{{{WarsWiki|}}}|<div style="float:left">[[File:Wars Wiki icon.png|16px|link=]]</div>
<div style="margin-left:20px">[[WarsWiki:{{#ifeq:{{{WarsWiki}}}|1|{{FULLPAGENAME}}|{{{WarsWiki}}}}}|Wars Wiki]]</div>}}<!--
<div style="margin-left:20px">[[WarsWiki:{{#ifeq:{{{WarsWiki}}}|1|{{FULLPAGENAME}}|{{{WarsWiki}}}}}|Wars Wiki]]</div>}}<!--
Line 122: Line 122:
</pre>
</pre>


The parameters match the standard interwiki prefixes used across NIWA, with proper capitalization applied.
The parameters match the standard interwiki prefixes used across NIWA, with capitalization applied.


[[Category:Navigation templates|*]]</noinclude>
[[Category:Navigation templates|*]]</noinclude>

Revision as of 17:55, December 14, 2022

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 second-level heading). Listing the title parameter first (if used) followed by the wiki parameters in alphabetical order is preferred (see formatting below).

Usage

Article 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.

Article 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}}).

Modifying the article title text

The title for the current article can be modified by specifying a title parameter. The template automatically strips out article identifiers, but there are still obscure cases where overriding the default title may be needed (e.g. e-Reader).

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
|DrawnToLife=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.