There are currently 0 stubs. You can help us by expanding these articles!

Difference between revisions of "Template:Other wikis"

From Rare Wiki
Jump to navigationJump to search
m
(Cut down the -p parameter & made it more readable.)
Line 1: Line 1:
<div class="noprint floatright" style="border: 1px solid #aaa; font-size:90%; background:#ffed89; width:250px; padding:5px; margin-bottom:10px;"><div>'''{{{title|{{FULLPAGENAME}}}}}''' on other wikis:<hr></div>{{#if:{{{ConkerWiki|}}}{{{ConkerWiki-p|}}}|<div class="niwa-ext-ConkerWiki"><div style="float: left;">[[File:Conker Wiki icon.png|16px|link=]]</div><div style="margin-left: 20px;">[[conkerwiki:{{{ConkerWiki-p|{{FULLPAGENAME}}}}}|Conker Wiki]]</div></div>}}{{#if:{{{Jiggywikki|}}}{{{Jiggywikki-p|}}}|<div class="niwa-ext-Jiggywikki"><div style="float: left;">[[File:Jiggywikki icon.png|16px|link=]]</div><div style="margin-left: 20px;">[[jiggywikki:{{{Jiggywikki-p|{{FULLPAGENAME}}}}}|Jiggywikki]]</div></div>}}{{#if:{{{LylatWiki|}}}{{{LylatWiki-p|}}}|<div class="niwa-ext-LylatWiki"><div style="float: left;">[[File:Lylat Wiki icon.png|16px|link=]]</div><div style="margin-left: 20px;">[[lylatwiki:{{{LylatWiki-p|{{FULLPAGENAME}}}}}|Lylat Wiki]]</div></div>}}{{#if:{{{NWiki|}}}{{{NWiki-p|}}}|<div class="niwa-ext-NWiki"><div style="float: left;">[[File:Nintendo Wiki icon.png|16px|link=]]</div><div style="margin-left: 20px;">[[nwiki:{{{NWiki-p|{{FULLPAGENAME}}}}}|NintendoWiki]]</div></div>}}{{#if:{{{SuperMarioWiki|}}}{{{SuperMarioWiki-p|}}}|<div class="niwa-ext-SuperMarioWiki"><div style="float: left;">[[File:Super Mario Wiki icon.png|16px|link=]]</div><div style="margin-left: 20px;">[[mariowiki:{{{SuperMarioWiki-p|{{FULLPAGENAME}}}}}|Super Mario Wiki]]</div></div>}}{{#if:{{{Wikipedia|}}}{{{Wikipedia-p|}}}|<div class="ext-Wikipedia"><div style="float: left;">[[File:Wikipedia icon.png|16px|link=]]</div><div style="margin-left: 20px;">[[wikipedia:{{{Wikipedia-p|{{FULLPAGENAME}}}}}|Wikipedia]]</div></div>}}
<div class="noprint floatright" style="border: 1px solid #aaa; font-size:90%; background:#ffed89; width:250px; padding:5px; margin-bottom:10px;"><div>'''{{{title|{{FULLPAGENAME}}}}}''' on other wikis:<hr></div><!--
</div>
 
<noinclude>Taken and edited from [[mariowiki:Template:NIWA|Super Mario Wiki]]'s template.
-->{{#if:{{{ConkerWiki|}}}|<div class="niwa-ext-ConkerWiki" style="float:left;">[[File:Conker Wiki icon.png|16px|link=]]</div><div style="margin-left:20px;">[[conkerwiki:{{#ifeq:{{{ConkerWiki|}}}|1|{{FULLPAGENAME}}|{{{ConkerWiki}}}}}|Conker Wiki]]</div>}}<!--
 
-->{{#if:{{{Jiggywikki|}}}|<div class="niwa-ext-Jiggywikki" style="float:left;">[[File:Jiggywikki icon.png|16px|link=]]</div><div style="margin-left:20px;">[[jiggywikki:{{#ifeq:{{{Jiggywikki|}}}|1|{{FULLPAGENAME}}|{{{Jiggywikki}}}}}|Jiggywikki]]</div>}}<!--
 
-->{{#if:{{{LylatWiki|}}}|<div class="niwa-ext-LylatWiki" style="float:left;">[[File:Lylat Wiki icon.png|16px|link=]]</div><div style="margin-left:20px;">[[lylatwiki:{{#ifeq:{{{LylatWiki|}}}|1|{{FULLPAGENAME}}|{{{LylatWiki}}}}}|Lylat Wiki]]</div>}}<!--
 
-->{{#if:{{{NWiki|}}}|<div class="niwa-ext-NWiki" style="float:left;">[[File:Nintendo Wiki icon.png|16px|link=]]</div><div style="margin-left:20px;">[[nwiki:{{#ifeq:{{{NWiki|}}}|1|{{FULLPAGENAME}}|{{{NWiki}}}}}|NintendoWiki]]</div>}}<!--
 
-->{{#if:{{{SuperMarioWiki|}}}|<div class="niwa-ext-SuperMarioWiki" style="float:left;">[[File:Super Mario Wiki icon.png|16px|link=]]</div><div style="margin-left:20px;">[[mariowiki:{{#ifeq:{{{SuperMarioWiki|}}}|1|{{FULLPAGENAME}}|{{{SuperMarioWiki}}}}}|Super Mario Wiki]]</div>}}<!--
 
-->{{#if:{{{Wikipedia|}}}|<div class="niwa-ext-Wikipedia" style="float:left;">[[File:Wikipedia icon.png|16px|link=]]</div><div style="margin-left:20px;">[[wikipedia:{{#ifeq:{{{Wikipedia|}}}|1|{{FULLPAGENAME}}|{{{Wikipedia}}}}}|Wikipedia]]</div>}}</div><noinclude>
 
Based on [[nwiki:Template:Otherwikis|NintendoWiki]]'s and [[mariowiki:Template:NIWA|Super Mario Wiki]]'s template.


==Usage==
==Usage==
To add an external link to a wiki, type <code><nowiki>{{Other wikis|ConkerWiki=1}}</nowiki></code> (see [[#Layout|Layout]] section for other wikis that can be added).
To add an external link to a wiki, type <code><nowiki>{{Other wikis|ConkerWiki=1}}</nowiki></code> (see [[#Layout|Layout]] section below for other wikis that can be added).
 
Use =1 to link to an article with the same title (as on this wiki), otherwise specify another title. For example: <code><nowiki>{{Other wikis|ConkerWiki=Conker (series)}}</nowiki></code>.


If the external wiki uses a different title, enter '''-p''' after the wiki's name and add the title afterward. For example: <code><nowiki>{{Other wikis|ConkerWiki-p=Conker (series)}}</nowiki></code>.
A <code><nowiki>|title=</nowiki></code> parameter can be added to display a different title in the box.


==Layout==
==Layout==

Revision as of 01:12, April 1, 2021

Template:Other wikis on other wikis:

Based on NintendoWiki's and Super Mario Wiki's template.

Usage

To add an external link to a wiki, type {{Other wikis|ConkerWiki=1}} (see Layout section below for other wikis that can be added).

Use =1 to link to an article with the same title (as on this wiki), otherwise specify another title. For example: {{Other wikis|ConkerWiki=Conker (series)}}.

A |title= parameter can be added to display a different title in the box.

Layout

{{Other wikis
|ConkerWiki=
|Jiggywikki=
|LylatWiki=
|NWiki=
|SuperMarioWiki=
|Wikipedia=
}}