Don't like the ads? Then create an account! Users with accounts have more options than anonymous users. |
Difference between revisions of "Template:Other wikis"
From Triforce Wiki, a The Legend of Zelda wiki
Jump to navigationJump to search
(changed colors) |
(organized edit) |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><div class="noprint | <includeonly><div class="nav-right floatright noprint" style="font-size:90%;width:250px;background:#f7f2b9;border:2px solid gold;padding:5px;margin:0 0 10px 1em"><div>'''{{{title|{{FULLPAGENAME}}}}}''' on other wikis:<hr></div><!-- | ||
{{#if:{{{SmashWiki|}}}{{{SmashWiki-p|}}}|<div class="ext-SmashWiki"><div style="float: left;">[[File:SmashWiki icon.png| | -->{{#if:{{{SmashWiki|}}}{{{SmashWiki-p|}}}|<div class="ext-SmashWiki"><div style="float: left;">[[File:SmashWiki icon.png|16px|link=]]</div><div style="margin-left: 20px;">[[smashwiki:{{{SmashWiki-p|{{FULLPAGENAME}}}}}|SmashWiki]]</div></div>}}<!-- | ||
{{#if:{{{SuperMarioWiki|}}}{{{SuperMarioWiki-p|}}}|<div class="ext-SuperMarioWiki"><div style="float: left;">[[File:Super Mario Wiki icon.png| | -->{{#if:{{{SuperMarioWiki|}}}{{{SuperMarioWiki-p|}}}|<div class="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:{{{WiKirby|}}}{{{WiKirby-p|}}}|<div class="ext-WiKirby"><div style="float: left;">[[File:WiKirby icon.png| | -->{{#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>}}<!-- | ||
Taken and edited from [[mariowiki:Template:NIWA|Super Mario Wiki]]'s and [ | -->{{#if:{{{WiKirby|}}}{{{WiKirby-p|}}}|<div class="ext-WiKirby"><div style="float: left;">[[File:WiKirby icon.png|16px|link=]]</div><div style="margin-left: 20px;">[[wikirby:{{{WiKirby-p|{{FULLPAGENAME}}}}}|WiKirby]]</div></div>}}</div></includeonly><noinclude> | ||
Taken and edited from the [[mariowiki:Template:NIWA|Super Mario Wiki]]'s and [[rarewiki:Template:Other wikis|Rare Wiki]]'s templates. | |||
==Usage== | ==Usage== | ||
To add an external link to a wiki, type <code><nowiki>{{ | To add an external link to a wiki, type <code><nowiki>{{other wikis|SuperMarioWiki=1}}</nowiki></code> (see [[#Layout|Layout]] section for other wikis that can be added). | ||
If the external wiki uses a different title, enter '''-p''' after the wiki's name and add the title afterward. For example: <code><nowiki>{{ | 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|SuperMarioWiki-p=Mario (franchise)}}</nowiki></code>. | ||
==Layout== | ==Layout== | ||
<pre> | <pre> | ||
{{ | {{other wikis | ||
|SmashWiki= | |SmashWiki= | ||
|SuperMarioWiki= | |SuperMarioWiki= | ||
|Wikipedia= | |||
|WiKirby= | |WiKirby= | ||
}}</pre> | }}</pre> | ||
[[Category:Navigation templates|*]]</noinclude> | [[Category:Navigation templates|*]]</noinclude> |
Latest revision as of 19:44, October 16, 2021
Taken and edited from the Super Mario Wiki's and Rare Wiki's templates.
Usage[edit]
To add an external link to a wiki, type {{other wikis|SuperMarioWiki=1}}
(see Layout section for other wikis that can be added).
If the external wiki uses a different title, enter -p after the wiki's name and add the title afterward. For example: {{other wikis|SuperMarioWiki-p=Mario (franchise)}}
.
Layout[edit]
{{other wikis |SmashWiki= |SuperMarioWiki= |Wikipedia= |WiKirby= }}