Template:InterwikiColour/doc: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(17 intermediate revisions by 5 users not shown)
Line 2: Line 2:
{|style="background:transparent;border:none;border-collapse:separate;margin:1em auto 1em auto;text-align:center"
{|style="background:transparent;border:none;border-collapse:separate;margin:1em auto 1em auto;text-align:center"
|-
|-
|style="width:16%;"|
|style="width:14%;background:#{{InterwikiColour|armsinstitute|bg}};border:2px solid #{{InterwikiColour|armsinstitute}};color:#{{InterwikiColour|armsinstitute|text}}"|[[File:ARMSSymbol.svg|50px|class=invert-dark]]<br>armsinstitute
|style="width:16%;background:#{{InterwikiColour|armsinstitute|bg}};border:2px solid #{{InterwikiColour|armsinstitute}};color:#{{InterwikiColour|armsinstitute|text}}"|[[Image:ARMSSymbol.svg|50px]]<br>armsinstitute
|style="width:14%;background:#{{InterwikiColour|bulbapedia|bg}};border:2px solid #{{InterwikiColour|bulbapedia}};color:#{{InterwikiColour|bulbapedia|text}}"|[[File:PokemonSymbol.svg|50px|class=invert-dark]]<br>bulbapedia
|style="width:16%;background:#{{InterwikiColour|bulbapedia|bg}};border:2px solid #{{InterwikiColour|bulbapedia}};color:#{{InterwikiColour|bulbapedia|text}}"|[[Image:PokemonSymbol.svg|50px]]<br>bulbapedia
|style="width:14%;background:#{{InterwikiColour|chibirobowiki|bg}};border:2px solid #{{InterwikiColour|chibirobowiki}};color:#{{InterwikiColour|chibirobowiki|text}}"|[[File:ChibiRoboSymbol.svg|50px|class=invert-dark]]<br>chibirobowiki
|style="width:16%;background:#{{InterwikiColour|dkwiki|bg}};border:2px solid #{{InterwikiColour|dkwiki}};color:#{{InterwikiColour|dkwiki|text}}"|[[Image:DKSymbol.svg|50px]]<br>donkeykongwiki
|style="width:14%;background:#{{InterwikiColour|dragalialostwiki|bg}};border:2px solid #{{InterwikiColour|dragalialostwiki}};color:#{{InterwikiColour|dragalialostwiki|text}}"|[[File:DragaliaLostSymbol.svg|50px|class=invert-dark]]<br>dragalialostwiki
|style="width:16%;background:#{{InterwikiColour|dragonquestwiki|bg}};border:2px solid #{{InterwikiColour|dragonquestwiki}};color:#{{InterwikiColour|dragonquestwiki|text}}"|[[Image:DragonQuestSymbol.svg|50px]]<br>dragonquestwiki
<!--hidden since DQW is gone, will be inherited by any future NIWA member of the same series |style="width:14%;background:#{{InterwikiColour|dragonquestwiki|bg}};border:2px solid #{{InterwikiColour|dragonquestwiki}};color:#{{InterwikiColour|dragonquestwiki|text}}"|[[File:DragonQuestSymbol.svg|50px|class=invert-dark]]<br>dragonquestwiki-->
|style="width:16%;"|
|style="width:14%;background:#{{InterwikiColour|fireemblemwiki|bg}};border:2px solid #{{InterwikiColour|fireemblemwiki}};color:#{{InterwikiColour|fireemblemwiki|text}}"|[[File:FireEmblemSymbol.svg|50px|class=invert-dark]]<br>fireemblemwiki
|style="width:14%;background:#{{InterwikiColour|fzerowiki|bg}};border:2px solid #{{InterwikiColour|fzerowiki}};color:#{{InterwikiColour|fzerowiki|text}}"|[[File:FZeroSymbol.svg|50px|class=invert-dark]]<br>fzerowiki
|style="width:14%;background:#{{InterwikiColour|goldensununiverse|bg}};border:2px solid #{{InterwikiColour|goldensununiverse}};color:#{{InterwikiColour|goldensununiverse|text}}"|[[File:GoldenSunSymbol.svg|50px|class=invert-dark]]<br>goldensununiverse
|-
|-
|style="background:#{{InterwikiColour|fireemblemwiki|bg}};border:2px solid #{{InterwikiColour|fireemblemwiki}};color:#{{InterwikiColour|fireemblemwiki|text}}"|[[Image:FireEmblemSymbol.svg|50px]]<br>fireemblemwiki
|style="background:#{{InterwikiColour|harddrop|bg}};border:2px solid #{{InterwikiColour|harddrop}};color:#{{InterwikiColour|harddrop|text}}"|[[File:TetrisSymbol.svg|50px|class=invert-dark]]<br>harddrop
|style="background:#{{InterwikiColour|fzerowiki|bg}};border:2px solid #{{InterwikiColour|fzerowiki}};color:#{{InterwikiColour|fzerowiki|text}}"|[[Image:FZeroSymbol.svg|50px]]<br>fzerowiki
|style="background:#{{InterwikiColour|icaruspedia|bg}};border:2px solid #{{InterwikiColour|icaruspedia}};color:#{{InterwikiColour|icaruspedia|text}}"|[[File:KidIcarusSymbol.svg|50px|class=invert-dark]]<br>icaruspedia
|style="background:#{{InterwikiColour|goldensununiverse|bg}};border:2px solid #{{InterwikiColour|goldensununiverse}};color:#{{InterwikiColour|goldensununiverse|text}}"|[[Image:GoldenSunSymbol.svg|50px]]<br>goldensununiverse
|style="background:#{{InterwikiColour|inkipedia|bg}};border:2px solid #{{InterwikiColour|inkipedia}};color:#{{InterwikiColour|inkipedia|text}}"|[[File:SplatoonSymbol.svg|50px|class=invert-dark]]<br>inkipedia
|style="background:#{{InterwikiColour|harddrop|bg}};border:2px solid #{{InterwikiColour|harddrop}};color:#{{InterwikiColour|harddrop|text}}"|[[Image:TetrisSymbol.svg|50px]]<br>harddrop
|style="background:#{{InterwikiColour|kingdomheartswiki|bg}};border:2px solid #{{InterwikiColour|kingdomheartswiki}};color:#{{InterwikiColour|kingdomheartswiki|text}}"|[[File:KingdomHeartsSymbol.svg|50px|class=invert-dark]]<br>kingdomheartswiki
|style="background:#{{InterwikiColour|icaruspedia|bg}};border:2px solid #{{InterwikiColour|icaruspedia}};color:#{{InterwikiColour|icaruspedia|text}}"|[[Image:KidIcarusSymbol.svg|50px]]<br>icaruspedia
|style="background:#{{InterwikiColour|kovopedia|bg}};border:2px solid #{{InterwikiColour|kovopedia}};color:#{{InterwikiColour|kovopedia|text}}"|[[File:MagicalVacationSymbol.svg|50px|class=invert-dark]]<br>kovopedia
|style="background:#{{InterwikiColour|inkipedia|bg}};border:2px solid #{{InterwikiColour|inkipedia}};color:#{{InterwikiColour|inkipedia|text}}"|[[Image:SplatoonSymbol.svg|50px]]<br>inkipedia
|style="background:#{{InterwikiColour|lylatwiki|bg}};border:2px solid #{{InterwikiColour|lylatwiki}};color:#{{InterwikiColour|lylatwiki|text}}"|[[File:StarFoxSymbol.svg|50px|class=invert-dark]]<br>lylatwiki
|style="background:#{{InterwikiColour|metroidwiki|bg}};border:2px solid #{{InterwikiColour|metroidwiki}};color:#{{InterwikiColour|metroidwiki|text}}"|[[File:MetroidSymbol.svg|50px|class=invert-dark]]<br>metroidwiki
|-
|-
|style="background:#{{InterwikiColour|lylatwiki|bg}};border:2px solid #{{InterwikiColour|lylatwiki}};color:#{{InterwikiColour|lylatwiki|text}}"|[[Image:StarFoxSymbol.svg|50px]]<br>lylatwiki
|style="background:#{{InterwikiColour|miiwiki|bg}};border:2px solid #{{InterwikiColour|miiwiki}};color:#{{InterwikiColour|miiwiki|text}}"|[[File:MiiSymbol.svg|50px|class=invert-dark]]<br>miiwiki
|style="background:#{{InterwikiColour|metroidwiki|bg}};border:2px solid #{{InterwikiColour|metroidwiki}};color:#{{InterwikiColour|metroidwiki|text}}"|[[Image:MetroidSymbol.svg|50px]]<br>metroidwiki
|style="background:#{{InterwikiColour|mysterydungeon|bg}};border:2px solid #{{InterwikiColour|mysterydungeon}};color:#{{InterwikiColour|mysterydungeon|text}}"|[[File:MysteryDungeonSymbol.svg|50px|class=invert-dark]]<br>mysterydungeon
|style="background:#{{InterwikiColour|nwiki|bg}};border:2px solid #{{InterwikiColour|nwiki}};color:#{{InterwikiColour|nwiki|text}}"|[[Image:NintendoSymbol.svg|50px]]<br>nwiki
|style="background:#{{InterwikiColour|nwiki|bg}};border:2px solid #{{InterwikiColour|nwiki}};color:#{{InterwikiColour|nwiki|text}}"|[[File:NintendoSymbol.svg|50px|class=invert-dark]]<br>nwiki
|style="background:#{{InterwikiColour|nookipedia|bg}};border:2px solid #{{InterwikiColour|nookipedia}};color:#{{InterwikiColour|nookipedia|text}}"|[[Image:AnimalCrossingSymbol.svg|50px]]<br>nookipedia
|style="background:#{{InterwikiColour|nookipedia|bg}};border:2px solid #{{InterwikiColour|nookipedia}};color:#{{InterwikiColour|nookipedia|text}}"|[[File:AnimalCrossingSymbol.svg|50px|class=invert-dark]]<br>nookipedia
|style="background:#{{InterwikiColour|pikipedia|bg}};border:2px solid #{{InterwikiColour|pikipedia}};color:#{{InterwikiColour|pikipedia|text}}"|[[Image:PikminSymbol.svg|50px]]<br>pikipedia
|style="background:#{{InterwikiColour|pikipedia|bg}};border:2px solid #{{InterwikiColour|pikipedia}};color:#{{InterwikiColour|pikipedia|text}}"|[[File:PikminSymbol.svg|50px|class=invert-dark]]<br>pikipedia
|style="background:#{{InterwikiColour|pikminfanon|bg}};border:2px solid #{{InterwikiColour|pikminfanon}};color:#{{InterwikiColour|pikminfanon|text}}"|[[Image:PikminSymbol.svg|50px]]<br>pikminfanon
|style="background:#{{InterwikiColour|pikminfanon|bg}};border:2px solid #{{InterwikiColour|pikminfanon}};color:#{{InterwikiColour|pikminfanon|text}}"|[[File:PikminSymbol.svg|50px|class=invert-dark]]<br>pikminfanon
|style="background:#{{InterwikiColour|rhythmheavenwiki|bg}};border:2px solid #{{InterwikiColour|rhythmheavenwiki}};color:#{{InterwikiColour|rhythmheavenwiki|text}}"|[[File:RhythmHeavenSymbol.svg|50px|class=invert-dark]]<br>rhythmheavenwiki
|-
|-
|style="background:#{{InterwikiColour|smashwiki|bg}};border:2px solid #{{InterwikiColour|smashwiki}};color:#{{InterwikiColour|smashwiki|text}}"|[[Image:SmashBrosSymbol.svg|50px]]<br>smashwiki
|style="background:#{{InterwikiColour|smashwiki|bg}};border:2px solid #{{InterwikiColour|smashwiki}};color:#{{InterwikiColour|smashwiki|text}}"|[[File:SmashBrosSymbol.svg|50px|class=invert-dark]]<br>smashwiki
|style="background:#{{InterwikiColour|starfywiki|bg}};border:2px solid #{{InterwikiColour|starfywiki}};color:#{{InterwikiColour|starfywiki|text}}"|[[Image:StarfySymbol.svg|50px]]<br>starfywiki
|style="background:#{{InterwikiColour|starfywiki|bg}};border:2px solid #{{InterwikiColour|starfywiki}};color:#{{InterwikiColour|starfywiki|text}}"|[[File:StarfySymbol.svg|50px|class=invert-dark]]<br>starfywiki
|style="background:#{{InterwikiColour|strategywiki|bg}};border:2px solid #{{InterwikiColour|strategywiki}};color:#{{InterwikiColour|strategywiki|text}}"|[[Image:StrategyWikiSymbol.svg|50px]]<br>strategywiki
|style="background:#{{InterwikiColour|strategywiki|bg}};border:2px solid #{{InterwikiColour|strategywiki}};color:#{{InterwikiColour|strategywiki|text}}"|[[File:StrategyWikiSymbol.svg|50px|class=invert-dark]]<br>strategywiki
|style="background:#{{InterwikiColour|supermariowiki|bg}};border:2px solid #{{InterwikiColour|supermariowiki}};color:#{{InterwikiColour|supermariowiki|text}}"|[[Image:MarioSymbol.svg|50px]]<br>supermariowiki
|style="background:#{{InterwikiColour|supermariowiki|bg}};border:2px solid #{{InterwikiColour|supermariowiki}};color:#{{InterwikiColour|supermariowiki|text}}"|[[File:MarioSymbol.svg|50px|class=invert-dark]]<br>supermariowiki
|style="background:#{{InterwikiColour|warswiki|bg}};border:2px solid #{{InterwikiColour|warswiki}};color:#{{InterwikiColour|warswiki|text}}"|[[Image:NintendoWarsSymbol.svg|50px]]<br>warswiki
|style="background:#{{InterwikiColour|ukikipedia|bg}};border:2px solid #{{InterwikiColour|ukikipedia}};color:#{{InterwikiColour|ukikipedia|text}}"|[[File:MarioSymbol.svg|50px|class=invert-dark]]<br>ukikipedia
|style="background:#{{InterwikiColour|wikibound|bg}};border:2px solid #{{InterwikiColour|wikibound}};color:#{{InterwikiColour|wikibound|text}}"|[[Image:EarthboundSymbol.svg|50px]]<br>wikibound
|style="background:#{{InterwikiColour|wapopedia|bg}};border:2px solid #{{InterwikiColour|wapopedia}};color:#{{InterwikiColour|wapopedia|text}}"|[[File:DrawnToLifeSymbol.svg|50px|class=invert-dark]]<br>wapopedia
|style="background:#{{InterwikiColour|warswiki|bg}};border:2px solid #{{InterwikiColour|warswiki}};color:#{{InterwikiColour|warswiki|text}}"|[[File:NintendoWarsSymbol.svg|50px|class=invert-dark]]<br>warswiki
|-
|-
|
|style="background:#{{InterwikiColour|wikibound|bg}};border:2px solid #{{InterwikiColour|wikibound}};color:#{{InterwikiColour|wikibound|text}}"|[[File:EarthboundSymbol.svg|50px|class=invert-dark]]<br>wikibound
|style="background:#{{InterwikiColour|wikipedia|bg}};border:2px solid #{{InterwikiColour|wikipedia}};color:#{{InterwikiColour|wikipedia|text}}"|[[Image:WikipediaSymbol.svg|50px]]<br>wikipedia
|style="background:#{{InterwikiColour|wikipedia|bg}};border:2px solid #{{InterwikiColour|wikipedia}};color:#{{InterwikiColour|wikipedia|text}}"|[[File:WikipediaSymbol.svg|50px|class=invert-dark]]<br>wikipedia
|style="background:#{{InterwikiColour|wikirby|bg}};border:2px solid #{{InterwikiColour|wikirby}};color:#{{InterwikiColour|wikirby|text}}"|[[Image:KirbySymbol.svg|50px]]<br>wikirby
|style="background:#{{InterwikiColour|wikirby|bg}};border:2px solid #{{InterwikiColour|wikirby}};color:#{{InterwikiColour|wikirby|text}}"|[[File:KirbySymbol.svg|50px|class=invert-dark]]<br>wikirby
|style="background:#{{InterwikiColour|zeldawiki|bg}};border:2px solid #{{InterwikiColour|zeldawiki}};color:#{{InterwikiColour|zeldawiki|text}}"|[[Image:ZeldaSymbol.svg|50px]]<br>zeldawiki
|style="background:#{{InterwikiColour|xenoserieswiki|bg}};border:2px solid #{{InterwikiColour|xenoserieswiki}};color:#{{InterwikiColour|xenoserieswiki|text}}"|[[File:XenobladeSymbol.svg|50px|class=invert-dark]]<br>xenoserieswiki
|style="background:#{{InterwikiColour||bg}};border:2px solid #{{InterwikiColour|}};color:#{{InterwikiColour||text}}"|[[Image:SpecialStagesSymbol.svg|50px]]<br>_
|style="background:#{{InterwikiColour|zeldawiki|bg}};border:2px solid #{{InterwikiColour|zeldawiki}};color:#{{InterwikiColour|zeldawiki|text}}"|[[File:ZeldaSymbol.svg|50px|class=invert-dark]]<br>zeldawiki
|
|style="background:#{{InterwikiColour||bg}};border:2px solid #{{InterwikiColour|}};color:#{{InterwikiColour||text}}"|[[File:SpecialStagesSymbol.svg|50px|class=invert-dark]]<br>_
|}
|}
</div>
</div>

Latest revision as of 14:59, August 22, 2024

ARMSSymbol.svg
armsinstitute
PokemonSymbol.svg
bulbapedia
ChibiRoboSymbol.svg
chibirobowiki
DragaliaLostSymbol.svg
dragalialostwiki
FireEmblemSymbol.svg
fireemblemwiki
FZeroSymbol.svg
fzerowiki
GoldenSunSymbol.svg
goldensununiverse
TetrisSymbol.svg
harddrop
KidIcarusSymbol.svg
icaruspedia
SplatoonSymbol.svg
inkipedia
KingdomHeartsSymbol.svg
kingdomheartswiki
MagicalVacationSymbol.svg
kovopedia
StarFoxSymbol.svg
lylatwiki
MetroidSymbol.svg
metroidwiki
MiiSymbol.svg
miiwiki
MysteryDungeonSymbol.svg
mysterydungeon
NintendoSymbol.svg
nwiki
AnimalCrossingSymbol.svg
nookipedia
PikminSymbol.svg
pikipedia
PikminSymbol.svg
pikminfanon
RhythmHeavenSymbol.svg
rhythmheavenwiki
SmashBrosSymbol.svg
smashwiki
StarfySymbol.svg
starfywiki
StrategyWikiSymbol.svg
strategywiki
MarioSymbol.svg
supermariowiki
MarioSymbol.svg
ukikipedia
DrawnToLifeSymbol.svg
wapopedia
NintendoWarsSymbol.svg
warswiki
EarthboundSymbol.svg
wikibound
WikipediaSymbol.svg
wikipedia
KirbySymbol.svg
wikirby
XenobladeSymbol.svg
xenoserieswiki
ZeldaSymbol.svg
zeldawiki
SpecialStagesSymbol.svg
_

Usage

Use {{InterwikiColour|interwiki prefix}} to get the hex colour of that wiki (minus the #). 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:

  • {{InterwikiColour|prefix|bg}} for a 75% lighter background tint
  • {{InterwikiColour|prefix|text}} for a 50% darker text-usable shade

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. 127,127,127 instead of 7f7f7f). Currently this is only available for the default colour.