Template:NIWA: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly><div class="noprint floatright" style="border:solid #007fff 1px; font-size:90%; background:#bfdfff; width:250px; padding:5px; margin:0 0 10px 1em"><div>'''{{{title|{{ | <includeonly><div class="noprint floatright" style="border:solid #007fff 1px; font-size:90%; background:#bfdfff; width:250px; padding:5px; margin:0 0 10px 1em"><div>'''{{{title|{{PAGENAME}}}}}''' coverage on other [[MarioWiki:Nintendo Independent Wiki Alliance|NIWA]] wikis:<hr></div>{{#if:{{{ARMS Institute|}}}{{{ARMS Institute-p|}}}|<div class="niwa-ext-ArmsWiki"><div style="float:left;">[[File:Arms-niwa-icon.png|15px|link=]]</div> | ||
<div style="margin-left: 20px;">[[ArmsWiki:{{{ARMS Institute-p|{{FULLPAGENAME}}}}}|ARMS Institute]]</div></div>}}{{#if:{{{Bulbapedia|}}}{{{Bulbapedia-p|}}}|<div class="niwa-ext-Bulbapedia"><div style="float: left;">[[File:SugimoriPokeBall.png|15px|link=]]</div> | <div style="margin-left: 20px;">[[ArmsWiki:{{{ARMS Institute-p|{{FULLPAGENAME}}}}}|ARMS Institute]]</div></div>}}{{#if:{{{Bulbapedia|}}}{{{Bulbapedia-p|}}}|<div class="niwa-ext-Bulbapedia"><div style="float: left;">[[File:SugimoriPokeBall.png|15px|link=]]</div> | ||
<div style="margin-left: 20px;">[[Bulbapedia:{{{Bulbapedia-p|{{FULLPAGENAME}}}}}|Bulbapedia]]</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;">[[Bulbapedia:{{{Bulbapedia-p|{{FULLPAGENAME}}}}}|Bulbapedia]]</div></div>}}{{#if:{{{DragonQuest|}}}{{{DragonQuest-p|}}}|<div class="niwa-ext-DragonQuest"><div style="float: left;">[[File:DragonQuestSymbol.png|15px|link=]]</div> | ||
Line 24: | Line 24: | ||
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 in alphabetical order is preferred. | 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 in alphabetical order is preferred. | ||
==Variables== | ==Variables== | ||
===Page exists on another NIWA | ===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, do <code><nowiki>{{NIWA|(Wiki Code, see below)=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 (in this example, WiKirby), both using and displaying exactly the same title as on Super Mario Wiki. | {{NIWA|WiKirby=1}}If the page exists or is a wanted page on another wiki, do <code><nowiki>{{NIWA|(Wiki Code, see below)=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 (in this example, WiKirby), both using and displaying exactly the same title as on the Super Mario Wiki. {{br}} | ||
{{br}} | |||
===Page exists on another NIWA | ===Page exists on another NIWA wiki with a different title=== | ||
{{NIWA|ARMS Institute-p=ARMS Institute: | {{NIWA|ARMS Institute-p=ARMS Institute:NIWA Links}}If the page name is different than here on MarioWiki, do <code><nowiki>{{NIWA|(Wiki Code, see below)-p=(page name)}}</nowiki></code> - e.g., <code><nowiki>{{NIWA|ARMS Institute-p=ARMS Institute:NIWA Links}}</nowiki></code>{{br}} | ||
===Title on Super Mario Wiki contains | ===Title on the Super Mario Wiki contains an identifier=== | ||
{{NIWA|title=Pit|Icaruspedia-p=Pit|SmashWiki-p=Pit}}If the page on Super Mario Wiki contains | {{NIWA|title=Pit|Icaruspedia-p=Pit|SmashWiki-p=Pit}}If the page on the Super Mario Wiki contains an article identifier - for instance, the "(character)" in [[Pit (character)]], a <code><nowiki>|title=</nowiki></code> should be specified to remove this in the box - in this example, <code><nowiki>{{NIWA|title=Pit|Icaruspedia-p=Pit|SmashWiki-p=Pit}}</nowiki></code> {{br}} | ||
{{br}} | |||
==All | ==All parameters== | ||
{{NIWA|title= | {{NIWA|title=Complete|ARMS Institute-p=Home|Bulbapedia-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|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= | <pre>{{NIWA|title=Complete | ||
|ARMS Institute-p=Home | |ARMS Institute-p=Home | ||
|Bulbapedia-p=Main Page | |Bulbapedia-p=Main Page | ||
Line 62: | Line 63: | ||
Non-specified (identical page title) versions: | Non-specified (identical page title) versions: | ||
<pre>{{NIWA|title= | <pre>{{NIWA|title=Complete | ||
|ARMS Institute=1 | |ARMS Institute=1 | ||
|Bulbapedia=1 | |Bulbapedia=1 | ||
Line 85: | Line 86: | ||
|ZeldaWiki=1 | |ZeldaWiki=1 | ||
}}</pre> | }}</pre> | ||
[[Category:Navigation templates|*]]</noinclude> | [[Category:Navigation templates|*]]</noinclude> |
Revision as of 22:21, September 15, 2020
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).
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 in alphabetical order is preferred.
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 the 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 the Super Mario Wiki contains an identifier
If the page on the Super Mario Wiki contains an article identifier - 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=Complete |ARMS Institute-p=Home |Bulbapedia-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 |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=Complete |ARMS Institute=1 |Bulbapedia=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 |WarsWiki=1 |WikiBound=1 |WiKirby=1 |ZeldaWiki=1 }}