Be sure to read our policy on citing sources before editing!
Difference between revisions of "Template:Other wikis"
From Jiggywikki, a Banjo-Kazooie wiki
Jump to navigationJump to search
(i'm surprised i didn't create this yet) |
(adjusted a bit) |
||
Line 11: | Line 11: | ||
-->{{#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></includeonly><noinclude> | -->{{#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></includeonly><noinclude> | ||
Based on | Based on the [[mariowiki:Template:NIWA|NIWA]] template from the Super Mario Wiki and the [[triforcewiki:Template:Other wikis|Other wikis]] template from Triforce Wiki. | ||
==Usage== | ==Usage== | ||
To add an external link to a wiki, type <code><nowiki>{{Other wikis| | To add an external link to a wiki, type <code><nowiki>{{Other wikis|SuperMarioWiki=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| | 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|SuperMarioWiki=Bottles)}}</nowiki></code>. | ||
A <code><nowiki>|title=</nowiki></code> parameter can be added to display a different title in the box. | A <code><nowiki>|title=</nowiki></code> parameter can be added to display a different title in the box. |
Revision as of 14:26, May 4, 2021
Based on the NIWA template from the Super Mario Wiki and the Other wikis template from Triforce Wiki.
Usage
To add an external link to a wiki, type {{Other wikis|SuperMarioWiki=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|SuperMarioWiki=Bottles)}}
.
A |title=
parameter can be added to display a different title in the box.
Layout
{{Other wikis |ConkerWiki= |LylatWiki= |RareWiki= |SuperMarioWiki= |Wikipedia= }}