Template:InterwikiColour/doc: Difference between revisions

no edit summary
No edit summary
No edit summary
 
(12 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<div style="font-family:monospace;font-weight:bold;">
{{#vardefine:width|125px}}
{|style="background:transparent;border:none;border-collapse:separate;margin:1em auto 1em auto;text-align:center"
<div style="font-family:monospace;font-weight:bold;text-align:center;">
|-
<div style="background:{{InterwikiColour|armsinstitute|bg}};--darkbg:{{InterwikiColour|armsinstitute|bg|dark=y}};border:2px solid {{InterwikiColour|armsinstitute}};color:{{InterwikiColour|armsinstitute|text}};--darkcolor:{{InterwikiColour|armsinstitute|text|dark=y}};display:inline-block;width:{{#var:width}};text-align:center;margin:2px -1px;">[[Image:ARMSSymbol.svg|50px|class=invert-dark]]<br>armsinstitute</div>
|style="width:14%;background:#{{InterwikiColour|armsinstitute|bg}};border:2px solid #{{InterwikiColour|armsinstitute}};color:#{{InterwikiColour|armsinstitute|text}}"|[[File:ARMSSymbol.svg|50px]]<br>armsinstitute
<div style="background:{{InterwikiColour|bulbapedia|bg}};--darkbg:{{InterwikiColour|bulbapedia|bg|dark=y}};border:2px solid {{InterwikiColour|bulbapedia}};color:{{InterwikiColour|bulbapedia|text}};--darkcolor:{{InterwikiColour|bulbapedia|text|dark=y}};display:inline-block;width:{{#var:width}};text-align:center;margin:2px -1px;">[[Image:PokemonSymbol.svg|50px|class=invert-dark]]<br>bulbapedia</div>
|style="width:14%;background:#{{InterwikiColour|bulbapedia|bg}};border:2px solid #{{InterwikiColour|bulbapedia}};color:#{{InterwikiColour|bulbapedia|text}}"|[[File:PokemonSymbol.svg|50px]]<br>bulbapedia
<div style="background:{{InterwikiColour|chibirobowiki|bg}};--darkbg:{{InterwikiColour|chibirobowiki|bg|dark=y}};border:2px solid {{InterwikiColour|chibirobowiki}};color:{{InterwikiColour|chibirobowiki|text}};--darkcolor:{{InterwikiColour|chibirobowiki|text|dark=y}};display:inline-block;width:{{#var:width}};text-align:center;margin:2px -1px;">[[Image:ChibiRoboSymbol.svg|50px|class=invert-dark]]<br>chibirobowiki</div>
|style="width:14%;background:#{{InterwikiColour|dragalialostwiki|bg}};border:2px solid #{{InterwikiColour|dragalialostwiki}};color:#{{InterwikiColour|dragalialostwiki|text}}"|[[File:DragaliaLostSymbol.svg|50px]]<br>dragalialostwiki
<div style="background:{{InterwikiColour|dkwiki|bg}};--darkbg:{{InterwikiColour|dkwiki|bg|dark=y}};border:2px solid {{InterwikiColour|dkwiki}};color:{{InterwikiColour|dkwiki|text}};--darkcolor:{{InterwikiColour|dkwiki|text|dark=y}};display:inline-block;width:{{#var:width}};text-align:center;margin:2px -1px;">[[Image:DKSymbol.svg|50px|class=invert-dark]]<br>dkwiki</div>
|style="width:14%;background:#{{InterwikiColour|dragonquestwiki|bg}};border:2px solid #{{InterwikiColour|dragonquestwiki}};color:#{{InterwikiColour|dragonquestwiki|text}}"|[[File:DragonQuestSymbol.svg|50px]]<br>dragonquestwiki
<div style="background:{{InterwikiColour|dragalialostwiki|bg}};--darkbg:{{InterwikiColour|dragalialostwiki|bg|dark=y}};border:2px solid {{InterwikiColour|armsdragalialostwikinstitute}};color:{{InterwikiColour|dragalialostwiki|text}};--darkcolor:{{InterwikiColour|dragalialostwiki|text|dark=y}};display:inline-block;width:{{#var:width}};text-align:center;margin:2px -1px;">[[Image:DragaliaLostSymbol.svg|50px|class=invert-dark]]<br>dragalialostwiki</div>
|style="width:14%;background:#{{InterwikiColour|fireemblemwiki|bg}};border:2px solid #{{InterwikiColour|fireemblemwiki}};color:#{{InterwikiColour|fireemblemwiki|text}}"|[[File:FireEmblemSymbol.svg|50px]]<br>fireemblemwiki
<div style="background:{{InterwikiColour|dragonquestwiki|bg}};--darkbg:{{InterwikiColour|dragonquestwiki|bg|dark=y}};border:2px solid {{InterwikiColour|dragonquestwiki}};color:{{InterwikiColour|dragonquestwiki|text}};--darkcolor:{{InterwikiColour|dragonquestwiki|text|dark=y}};display:inline-block;width:{{#var:width}};text-align:center;margin:2px -1px;">[[Image:DragonQuestSymbol.svg|50px|class=invert-dark]]<br>dragonquestwiki</div>
|style="width:14%;background:#{{InterwikiColour|fzerowiki|bg}};border:2px solid #{{InterwikiColour|fzerowiki}};color:#{{InterwikiColour|fzerowiki|text}}"|[[File:FZeroSymbol.svg|50px]]<br>fzerowiki
<div style="background:{{InterwikiColour|fireemblemwiki|bg}};--darkbg:{{InterwikiColour|fireemblemwiki|bg|dark=y}};border:2px solid {{InterwikiColour|fireemblemwiki}};color:{{InterwikiColour|fireemblemwiki|text}};--darkcolor:{{InterwikiColour|fireemblemwiki|text|dark=y}};display:inline-block;width:{{#var:width}};text-align:center;margin:2px -1px;">[[Image:FireEmblemSymbol.svg|50px|class=invert-dark]]<br>fireemblemwiki</div>
|style="width:14%;background:#{{InterwikiColour|goldensununiverse|bg}};border:2px solid #{{InterwikiColour|goldensununiverse}};color:#{{InterwikiColour|goldensununiverse|text}}"|[[File:GoldenSunSymbol.svg|50px]]<br>goldensununiverse
<div style="background:{{InterwikiColour|fzerowiki|bg}};--darkbg:{{InterwikiColour|fzerowiki|bg|dark=y}};border:2px solid {{InterwikiColour|fzerowiki}};color:{{InterwikiColour|fzerowiki|text}};--darkcolor:{{InterwikiColour|fzerowiki|text|dark=y}};display:inline-block;width:{{#var:width}};text-align:center;margin:2px -1px;">[[Image:FZeroSymbol.svg|50px|class=invert-dark]]<br>fzerowiki</div>
|-
<div style="background:{{InterwikiColour|goldensununiverse|bg}};--darkbg:{{InterwikiColour|goldensununiverse|bg|dark=y}};border:2px solid {{InterwikiColour|goldensununiverse}};color:{{InterwikiColour|goldensununiverse|text}};--darkcolor:{{InterwikiColour|goldensununiverse|text|dark=y}};display:inline-block;width:{{#var:width}};text-align:center;margin:2px -1px;">[[Image:GoldenSunSymbol.svg|50px|class=invert-dark]]<br>goldensununiverse</div>
|style="background:#{{InterwikiColour|harddrop|bg}};border:2px solid #{{InterwikiColour|harddrop}};color:#{{InterwikiColour|harddrop|text}}"|[[File:TetrisSymbol.svg|50px]]<br>harddrop
<div style="background:{{InterwikiColour|harddrop|bg}};--darkbg:{{InterwikiColour|harddrop|bg|dark=y}};border:2px solid {{InterwikiColour|harddrop}};color:{{InterwikiColour|harddrop|text}};--darkcolor:{{InterwikiColour|harddrop|text|dark=y}};display:inline-block;width:{{#var:width}};text-align:center;margin:2px -1px;">[[Image:TetrisSymbol.svg|50px|class=invert-dark]]<br>harddrop</div>
|style="background:#{{InterwikiColour|icaruspedia|bg}};border:2px solid #{{InterwikiColour|icaruspedia}};color:#{{InterwikiColour|icaruspedia|text}}"|[[File:KidIcarusSymbol.svg|50px]]<br>icaruspedia
<div style="background:{{InterwikiColour|icaruspedia|bg}};--darkbg:{{InterwikiColour|icaruspedia|bg|dark=y}};border:2px solid {{InterwikiColour|icaruspedia}};color:{{InterwikiColour|icaruspedia|text}};--darkcolor:{{InterwikiColour|icaruspedia|text|dark=y}};display:inline-block;width:{{#var:width}};text-align:center;margin:2px -1px;">[[Image:KidIcarusSymbol.svg|50px|class=invert-dark]]<br>icaruspedia</div>
|style="background:#{{InterwikiColour|inkipedia|bg}};border:2px solid #{{InterwikiColour|inkipedia}};color:#{{InterwikiColour|inkipedia|text}}"|[[File:SplatoonSymbol.svg|50px]]<br>inkipedia
<div style="background:{{InterwikiColour|inkipedia|bg}};--darkbg:{{InterwikiColour|inkipedia|bg|dark=y}};border:2px solid {{InterwikiColour|inkipedia}};color:{{InterwikiColour|inkipedia|text}};--darkcolor:{{InterwikiColour|inkipedia|text|dark=y}};display:inline-block;width:{{#var:width}};text-align:center;margin:2px -1px;">[[Image:SplatoonSymbol.svg|50px|class=invert-dark]]<br>inkipedia</div>
|style="background:#{{InterwikiColour|lylatwiki|bg}};border:2px solid #{{InterwikiColour|lylatwiki}};color:#{{InterwikiColour|lylatwiki|text}}"|[[File:StarFoxSymbol.svg|50px]]<br>lylatwiki
<div style="background:{{InterwikiColour|kingdomheartswiki|bg}};--darkbg:{{InterwikiColour|kingdomheartswiki|bg|dark=y}};border:2px solid {{InterwikiColour|kingdomheartswiki}};color:{{InterwikiColour|kingdomheartswiki|text}};--darkcolor:{{InterwikiColour|kingdomheartswiki|text|dark=y}};display:inline-block;width:{{#var:width}};text-align:center;margin:2px -1px;">[[Image:KingdomHeartsSymbol.svg|50px|class=invert-dark]]<br>kingdomheartswiki</div>
|style="background:#{{InterwikiColour|metroidwiki|bg}};border:2px solid #{{InterwikiColour|metroidwiki}};color:#{{InterwikiColour|metroidwiki|text}}"|[[File:MetroidSymbol.svg|50px]]<br>metroidwiki
<div style="background:{{InterwikiColour|kovopedia|bg}};--darkbg:{{InterwikiColour|kovopedia|bg|dark=y}};border:2px solid {{InterwikiColour|kovopedia}};color:{{InterwikiColour|kovopedia|text}};--darkcolor:{{InterwikiColour|kovopedia|text|dark=y}};display:inline-block;width:{{#var:width}};text-align:center;margin:2px -1px;">[[Image:MagicalVacationSymbol.svg|50px|class=invert-dark]]<br>kovopedia</div>
|style="background:#{{InterwikiColour|nwiki|bg}};border:2px solid #{{InterwikiColour|nwiki}};color:#{{InterwikiColour|nwiki|text}}"|[[File:NintendoSymbol.svg|50px]]<br>nwiki
<div style="background:{{InterwikiColour|lylatwiki|bg}};--darkbg:{{InterwikiColour|lylatwiki|bg|dark=y}};border:2px solid {{InterwikiColour|lylatwiki}};color:{{InterwikiColour|lylatwiki|text}};--darkcolor:{{InterwikiColour|lylatwiki|text|dark=y}};display:inline-block;width:{{#var:width}};text-align:center;margin:2px -1px;">[[Image:StarFoxSymbol.svg|50px|class=invert-dark]]<br>lylatwiki</div>
|style="background:#{{InterwikiColour|nookipedia|bg}};border:2px solid #{{InterwikiColour|nookipedia}};color:#{{InterwikiColour|nookipedia|text}}"|[[File:AnimalCrossingSymbol.svg|50px]]<br>nookipedia
<div style="background:{{InterwikiColour|metroidwiki|bg}};--darkbg:{{InterwikiColour|metroidwiki|bg|dark=y}};border:2px solid {{InterwikiColour|metroidwiki}};color:{{InterwikiColour|metroidwiki|text}};--darkcolor:{{InterwikiColour|metroidwiki|text|dark=y}};display:inline-block;width:{{#var:width}};text-align:center;margin:2px -1px;">[[Image:MetroidSymbol.svg|50px|class=invert-dark]]<br>metroidwiki</div>
|-
<div style="background:{{InterwikiColour|miiwiki|bg}};--darkbg:{{InterwikiColour|miiwiki|bg|dark=y}};border:2px solid {{InterwikiColour|miiwiki}};color:{{InterwikiColour|miiwiki|text}};--darkcolor:{{InterwikiColour|miiwiki|text|dark=y}};display:inline-block;width:{{#var:width}};text-align:center;margin:2px -1px;">[[Image:MiiSymbol.svg|50px|class=invert-dark]]<br>miiwiki</div>
|style="background:#{{InterwikiColour|pikipedia|bg}};border:2px solid #{{InterwikiColour|pikipedia}};color:#{{InterwikiColour|pikipedia|text}}"|[[File:PikminSymbol.svg|50px]]<br>pikipedia
<div style="background:{{InterwikiColour|mysterydungeon|bg}};--darkbg:{{InterwikiColour|mysterydungeon|bg|dark=y}};border:2px solid {{InterwikiColour|mysterydungeon}};color:{{InterwikiColour|mysterydungeon|text}};--darkcolor:{{InterwikiColour|mysterydungeon|text|dark=y}};display:inline-block;width:{{#var:width}};text-align:center;margin:2px -1px;">[[Image:MysteryDungeonSymbol.svg|50px|class=invert-dark]]<br>mysterydungeon</div>
|style="background:#{{InterwikiColour|pikminfanon|bg}};border:2px solid #{{InterwikiColour|pikminfanon}};color:#{{InterwikiColour|pikminfanon|text}}"|[[File:PikminSymbol.svg|50px]]<br>pikminfanon
<div style="background:{{InterwikiColour|nwiki|bg}};--darkbg:{{InterwikiColour|nwiki|bg|dark=y}};border:2px solid {{InterwikiColour|nwiki}};color:{{InterwikiColour|nwiki|text}};--darkcolor:{{InterwikiColour|nwiki|text|dark=y}};display:inline-block;width:{{#var:width}};text-align:center;margin:2px -1px;">[[Image:NintendoSymbol.svg|50px|class=invert-dark]]<br>nwiki</div>
|style="background:#{{InterwikiColour|smashwiki|bg}};border:2px solid #{{InterwikiColour|smashwiki}};color:#{{InterwikiColour|smashwiki|text}}"|[[File:SmashBrosSymbol.svg|50px]]<br>smashwiki
<div style="background:{{InterwikiColour|nookipedia|bg}};--darkbg:{{InterwikiColour|nookipedia|bg|dark=y}};border:2px solid {{InterwikiColour|nookipedia}};color:{{InterwikiColour|nookipedia|text}};--darkcolor:{{InterwikiColour|nookipedia|text|dark=y}};display:inline-block;width:{{#var:width}};text-align:center;margin:2px -1px;">[[Image:AnimalCrossingSymbol.svg|50px|class=invert-dark]]<br>nookipedia</div>
|style="background:#{{InterwikiColour|starfywiki|bg}};border:2px solid #{{InterwikiColour|starfywiki}};color:#{{InterwikiColour|starfywiki|text}}"|[[File:StarfySymbol.svg|50px]]<br>starfywiki
<div style="background:{{InterwikiColour|pikipedia|bg}};--darkbg:{{InterwikiColour|pikipedia|bg|dark=y}};border:2px solid {{InterwikiColour|pikipedia}};color:{{InterwikiColour|pikipedia|text}};--darkcolor:{{InterwikiColour|pikipedia|text|dark=y}};display:inline-block;width:{{#var:width}};text-align:center;margin:2px -1px;">[[Image:PikminSymbol.svg|50px|class=invert-dark]]<br>pikipedia</div>
|style="background:#{{InterwikiColour|strategywiki|bg}};border:2px solid #{{InterwikiColour|strategywiki}};color:#{{InterwikiColour|strategywiki|text}}"|[[File:StrategyWikiSymbol.svg|50px]]<br>strategywiki
<div style="background:{{InterwikiColour|pikminfanon|bg}};--darkbg:{{InterwikiColour|pikminfanon|bg|dark=y}};border:2px solid {{InterwikiColour|pikminfanon}};color:{{InterwikiColour|pikminfanon|text}};--darkcolor:{{InterwikiColour|pikminfanon|text|dark=y}};display:inline-block;width:{{#var:width}};text-align:center;margin:2px -1px;">[[Image:PikminSymbol.svg|50px|class=invert-dark]]<br>pikminfanon</div>
|style="background:#{{InterwikiColour|supermariowiki|bg}};border:2px solid #{{InterwikiColour|supermariowiki}};color:#{{InterwikiColour|supermariowiki|text}}"|[[File:MarioSymbol.svg|50px]]<br>supermariowiki
<div style="background:{{InterwikiColour|rhythmheavenwiki|bg}};--darkbg:{{InterwikiColour|rhythmheavenwiki|bg|dark=y}};border:2px solid {{InterwikiColour|rhythmheavenwiki}};color:{{InterwikiColour|rhythmheavenwiki|text}};--darkcolor:{{InterwikiColour|rhythmheavenwiki|text|dark=y}};display:inline-block;width:{{#var:width}};text-align:center;margin:2px -1px;">[[Image:RhythmHeavenSymbol.svg|50px|class=invert-dark]]<br>rhythmheavenwiki</div>
|style="background:#{{InterwikiColour|ukikipedia|bg}};border:2px solid #{{InterwikiColour|ukikipedia}};color:#{{InterwikiColour|ukikipedia|text}}"|[[File:MarioSymbol.svg|50px]]<br>ukikipedia
<div style="background:{{InterwikiColour|smashwiki|bg}};--darkbg:{{InterwikiColour|smashwiki|bg|dark=y}};border:2px solid {{InterwikiColour|smashwiki}};color:{{InterwikiColour|smashwiki|text}};--darkcolor:{{InterwikiColour|smashwiki|text|dark=y}};display:inline-block;width:{{#var:width}};text-align:center;margin:2px -1px;">[[Image:SmashBrosSymbol.svg|50px|class=invert-dark]]<br>smashwiki</div>
|-
<div style="background:{{InterwikiColour|starfywiki|bg}};--darkbg:{{InterwikiColour|starfywiki|bg|dark=y}};border:2px solid {{InterwikiColour|starfywiki}};color:{{InterwikiColour|starfywiki|text}};--darkcolor:{{InterwikiColour|starfywiki|text|dark=y}};display:inline-block;width:{{#var:width}};text-align:center;margin:2px -1px;">[[Image:StarfySymbol.svg|50px|class=invert-dark]]<br>starfywiki</div>
|style="background:#{{InterwikiColour|warswiki|bg}};border:2px solid #{{InterwikiColour|warswiki}};color:#{{InterwikiColour|warswiki|text}}"|[[File:NintendoWarsSymbol.svg|50px]]<br>warswiki
<div style="background:{{InterwikiColour|strategywiki|bg}};--darkbg:{{InterwikiColour|strategywiki|bg|dark=y}};border:2px solid {{InterwikiColour|strategywiki}};color:{{InterwikiColour|strategywiki|text}};--darkcolor:{{InterwikiColour|strategywiki|text|dark=y}};display:inline-block;width:{{#var:width}};text-align:center;margin:2px -1px;">[[Image:StrategyWikiSymbol.svg|50px|class=invert-dark]]<br>strategywiki</div>
|style="background:#{{InterwikiColour|wikibound|bg}};border:2px solid #{{InterwikiColour|wikibound}};color:#{{InterwikiColour|wikibound|text}}"|[[File:EarthboundSymbol.svg|50px]]<br>wikibound
<div style="background:{{InterwikiColour|supermariowiki|bg}};--darkbg:{{InterwikiColour|supermariowiki|bg|dark=y}};border:2px solid {{InterwikiColour|supermariowiki}};color:{{InterwikiColour|supermariowiki|text}};--darkcolor:{{InterwikiColour|supermariowiki|text|dark=y}};display:inline-block;width:{{#var:width}};text-align:center;margin:2px -1px;">[[Image:MarioSymbol.svg|50px|class=invert-dark]]<br>supermariowiki</div>
|style="background:#{{InterwikiColour|wikipedia|bg}};border:2px solid #{{InterwikiColour|wikipedia}};color:#{{InterwikiColour|wikipedia|text}}"|[[File:WikipediaSymbol.svg|50px]]<br>wikipedia
<div style="background:{{InterwikiColour|ukikipedia|bg}};--darkbg:{{InterwikiColour|ukikipedia|bg|dark=y}};border:2px solid {{InterwikiColour|ukikipedia}};color:{{InterwikiColour|ukikipedia|text}};--darkcolor:{{InterwikiColour|ukikipedia|text|dark=y}};display:inline-block;width:{{#var:width}};text-align:center;margin:2px -1px;">[[Image:MarioSymbol.svg|50px|class=invert-dark]]<br>ukikipedia</div>
|style="background:#{{InterwikiColour|wikirby|bg}};border:2px solid #{{InterwikiColour|wikirby}};color:#{{InterwikiColour|wikirby|text}}"|[[File:KirbySymbol.svg|50px]]<br>wikirby
<div style="background:{{InterwikiColour|wapopedia|bg}};--darkbg:{{InterwikiColour|wapopedia|bg|dark=y}};border:2px solid {{InterwikiColour|wapopedia}};color:{{InterwikiColour|wapopedia|text}};--darkcolor:{{InterwikiColour|wapopedia|text|dark=y}};display:inline-block;width:{{#var:width}};text-align:center;margin:2px -1px;">[[Image:DrawnToLifeSymbol.svg|50px|class=invert-dark]]<br>wapopedia</div>
|style="background:#{{InterwikiColour|xenoserieswiki|bg}};border:2px solid #{{InterwikiColour|xenoserieswiki}};color:#{{InterwikiColour|xenoserieswiki|text}}"|[[File:XenobladeSymbol.svg|50px]]<br>xenoserieswiki
<div style="background:{{InterwikiColour|warswiki|bg}};--darkbg:{{InterwikiColour|warswiki|bg|dark=y}};border:2px solid {{InterwikiColour|warswiki}};color:{{InterwikiColour|warswiki|text}};--darkcolor:{{InterwikiColour|warswiki|text|dark=y}};display:inline-block;width:{{#var:width}};text-align:center;margin:2px -1px;">[[Image:NintendoWarsSymbol.svg|50px|class=invert-dark]]<br>warswiki</div>
|style="background:#{{InterwikiColour|zeldawiki|bg}};border:2px solid #{{InterwikiColour|zeldawiki}};color:#{{InterwikiColour|zeldawiki|text}}"|[[File:ZeldaSymbol.svg|50px]]<br>zeldawiki
<div style="background:{{InterwikiColour|wikibound|bg}};--darkbg:{{InterwikiColour|wikibound|bg|dark=y}};border:2px solid {{InterwikiColour|wikibound}};color:{{InterwikiColour|wikibound|text}};--darkcolor:{{InterwikiColour|wikibound|text|dark=y}};display:inline-block;width:{{#var:width}};text-align:center;margin:2px -1px;">[[Image:EarthboundSymbol.svg|50px|class=invert-dark]]<br>wikibound</div>
|style="background:#{{InterwikiColour||bg}};border:2px solid #{{InterwikiColour|}};color:#{{InterwikiColour||text}}"|[[File:SpecialStagesSymbol.svg|50px]]<br>_
<div style="background:{{InterwikiColour|wikipedia|bg}};--darkbg:{{InterwikiColour|wikipedia|bg|dark=y}};border:2px solid {{InterwikiColour|wikipedia}};color:{{InterwikiColour|wikipedia|text}};--darkcolor:{{InterwikiColour|wikipedia|text|dark=y}};display:inline-block;width:{{#var:width}};text-align:center;margin:2px -1px;">[[Image:WikipediaSymbol.svg|50px|class=invert-dark]]<br>wikipedia</div>
|}
<div style="background:{{InterwikiColour|wikirby|bg}};--darkbg:{{InterwikiColour|wikirby|bg|dark=y}};border:2px solid {{InterwikiColour|wikirby}};color:{{InterwikiColour|wikirby|text}};--darkcolor:{{InterwikiColour|wikirby|text|dark=y}};display:inline-block;width:{{#var:width}};text-align:center;margin:2px -1px;">[[Image:KirbySymbol.svg|50px|class=invert-dark]]<br>wikirby</div>
<div style="background:{{InterwikiColour|xenoserieswiki|bg}};--darkbg:{{InterwikiColour|xenoserieswiki|bg|dark=y}};border:2px solid {{InterwikiColour|xenoserieswiki}};color:{{InterwikiColour|xenoserieswiki|text}};--darkcolor:
{{InterwikiColour|xenoserieswiki|text|dark=y}};display:inline-block;width:{{#var:width}};text-align:center;margin:2px -1px;">[[Image:XenobladeSymbol.svg|50px|class=invert-dark]]<br>xenoserieswiki</div>
<div style="background:{{InterwikiColour|zeldawiki|bg}};--darkbg:{{InterwikiColour|zeldawiki|bg|dark=y}};border:2px solid {{InterwikiColour|zeldawiki}};color:{{InterwikiColour|zeldawiki|text}};--darkcolor:{{InterwikiColour|zeldawiki|text|dark=y}};display:inline-block;width:{{#var:width}};text-align:center;margin:2px -1px;">[[Image:ZeldaSymbol.svg|50px|class=invert-dark]]<br>zeldawiki</div>
<div style="background:{{InterwikiColour|_|bg}};--darkbg:{{InterwikiColour|_|bg|dark=y}};border:2px solid {{InterwikiColour|_}};color:{{InterwikiColour|_|text}};--darkcolor:{{InterwikiColour|_|text|dark=y}};display:inline-block;width:{{#var:width}};text-align:center;margin:2px -1px;">[[Image:SpecialStagesSymbol.svg|50px|class=invert-dark]]<br>_</div>
</div>
</div>
==Usage==
==Usage==
Use <code><nowiki>{{InterwikiColour|interwiki prefix}}</nowiki></code> to get the hex colour of that wiki (minus the <code>#</code>). Not giving it anything, or giving it something that doesn't match an option presented above, will result in grey.
Use <code><nowiki>{{InterwikiColour|interwiki prefix}}</nowiki></code> to get the colour of that wiki. Not giving it anything, or giving it something that doesn't match an option presented above, will result in grey.


By default, this returns the bold, fully-saturated colour. To get one of the available shades, add a second parameter:
By default, this returns the bold, fully-saturated colour in the form <code>rgb(127,127,127)</code>. To get one of the available shades, add a second parameter:


*<code><nowiki>{{InterwikiColour|prefix|bg}}</nowiki></code> for a 75% lighter background tint
*<code><nowiki>{{InterwikiColour|prefix|bg}}</nowiki></code> for a background that's 75% fainter
*<code><nowiki>{{InterwikiColour|prefix|text}}</nowiki></code> for a 50% darker text-usable shade
*<code><nowiki>{{InterwikiColour|prefix|text}}</nowiki></code> for text that's 50% less saturated
*<code><nowiki>{{InterwikiColour|prefix|bgt}}</nowiki></code> for a background that's 75% transparent
The difference between "bg" and "bgt" is because some usages (e.g. table cells) would produce unexpected results if the background were actually transparent (e.g. the table's background colour shows through instead of the page's). Thus, the default is "fake transparent" so the colour is consistent.


In addition to the above, if the second parameter is "rgb", the colour will be returned in decimal r,g,b format instead of hex rrggbb format (e.g. <code>127,127,127</code> instead of <code>7f7f7f</code>). Currently this is only available for the default colour.
Add a <code>dark=y</code> for the "bg" and "t" options to use a dark background and light text colour, instead of the default light background and dark text colour.
 
If a wiki leaves NIWA for any reason, its colour is retained here, so a future wiki can take it if need be.


<noinclude>[[Category:Template documentation]]</noinclude>
<noinclude>[[Category:Template documentation]]</noinclude>