Template:InterwikiColour/doc: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
mNo edit summary
No edit summary
 
(One intermediate revision by one other user 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:14%;background:#{{InterwikiColour|armsinstitute|bg}};border:2px solid #{{InterwikiColour|armsinstitute}};color:#{{InterwikiColour|armsinstitute|text}}"|[[File:ARMSSymbol.svg|50px|class=invert]]<br>armsinstitute
|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:14%;background:#{{InterwikiColour|bulbapedia|bg}};border:2px solid #{{InterwikiColour|bulbapedia}};color:#{{InterwikiColour|bulbapedia|text}}"|[[File:PokemonSymbol.svg|50px|class=invert]]<br>bulbapedia
|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:14%;background:#{{InterwikiColour|dragalialostwiki|bg}};border:2px solid #{{InterwikiColour|dragalialostwiki}};color:#{{InterwikiColour|dragalialostwiki|text}}"|[[File:DragaliaLostSymbol.svg|50px|class=invert]]<br>dragalialostwiki
|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
<!--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]]<br>dragonquestwiki-->
|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:14%;background:#{{InterwikiColour|fireemblemwiki|bg}};border:2px solid #{{InterwikiColour|fireemblemwiki}};color:#{{InterwikiColour|fireemblemwiki|text}}"|[[File:FireEmblemSymbol.svg|50px|class=invert]]<br>fireemblemwiki
<!--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:14%;background:#{{InterwikiColour|fzerowiki|bg}};border:2px solid #{{InterwikiColour|fzerowiki}};color:#{{InterwikiColour|fzerowiki|text}}"|[[File:FZeroSymbol.svg|50px|class=invert]]<br>fzerowiki
|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|goldensununiverse|bg}};border:2px solid #{{InterwikiColour|goldensununiverse}};color:#{{InterwikiColour|goldensununiverse|text}}"|[[File:GoldenSunSymbol.svg|50px|class=invert]]<br>goldensununiverse
|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|harddrop|bg}};border:2px solid #{{InterwikiColour|harddrop}};color:#{{InterwikiColour|harddrop|text}}"|[[File:TetrisSymbol.svg|50px|class=invert]]<br>harddrop
|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|icaruspedia|bg}};border:2px solid #{{InterwikiColour|icaruspedia}};color:#{{InterwikiColour|icaruspedia|text}}"|[[File:KidIcarusSymbol.svg|50px|class=invert]]<br>icaruspedia
|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|inkipedia|bg}};border:2px solid #{{InterwikiColour|inkipedia}};color:#{{InterwikiColour|inkipedia|text}}"|[[File:SplatoonSymbol.svg|50px|class=invert]]<br>inkipedia
|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|kingdomheartswiki|bg}};border:2px solid #{{InterwikiColour|kingdomheartswiki}};color:#{{InterwikiColour|kingdomheartswiki|text}}"|[[File:KingdomHeartsSymbol.svg|50px|class=invert]]<br>kingdomheartswiki
|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|kovopedia|bg}};border:2px solid #{{InterwikiColour|kovopedia}};color:#{{InterwikiColour|kovopedia|text}}"|[[File:MagicalVacationSymbol.svg|50px|class=invert]]<br>kovopedia
|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|lylatwiki|bg}};border:2px solid #{{InterwikiColour|lylatwiki}};color:#{{InterwikiColour|lylatwiki|text}}"|[[File:StarFoxSymbol.svg|50px|class=invert]]<br>lylatwiki
|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|metroidwiki|bg}};border:2px solid #{{InterwikiColour|metroidwiki}};color:#{{InterwikiColour|metroidwiki|text}}"|[[File:MetroidSymbol.svg|50px|class=invert]]<br>metroidwiki
|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|miiwiki|bg}};border:2px solid #{{InterwikiColour|miiwiki}};color:#{{InterwikiColour|miiwiki|text}}"|[[File:MiiSymbol.svg|50px|class=invert]]<br>miiwiki
|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|mysterydungeon|bg}};border:2px solid #{{InterwikiColour|mysterydungeon}};color:#{{InterwikiColour|mysterydungeon|text}}"|[[File:MysteryDungeonSymbol.svg|50px|class=invert]]<br>mysterydungeon
|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|nwiki|bg}};border:2px solid #{{InterwikiColour|nwiki}};color:#{{InterwikiColour|nwiki|text}}"|[[File:NintendoSymbol.svg|50px|class=invert]]<br>nwiki
|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|nookipedia|bg}};border:2px solid #{{InterwikiColour|nookipedia}};color:#{{InterwikiColour|nookipedia|text}}"|[[File:AnimalCrossingSymbol.svg|50px|class=invert]]<br>nookipedia
|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|pikipedia|bg}};border:2px solid #{{InterwikiColour|pikipedia}};color:#{{InterwikiColour|pikipedia|text}}"|[[File:PikminSymbol.svg|50px|class=invert]]<br>pikipedia
|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|pikminfanon|bg}};border:2px solid #{{InterwikiColour|pikminfanon}};color:#{{InterwikiColour|pikminfanon|text}}"|[[File:PikminSymbol.svg|50px|class=invert]]<br>pikminfanon
|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|rhythmheavenwiki|bg}};border:2px solid #{{InterwikiColour|rhythmheavenwiki}};color:#{{InterwikiColour|rhythmheavenwiki|text}}"|[[File:RhythmHeavenSymbol.svg|50px|class=invert]]<br>rhythmheavenwiki
|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|smashwiki|bg}};border:2px solid #{{InterwikiColour|smashwiki}};color:#{{InterwikiColour|smashwiki|text}}"|[[File:SmashBrosSymbol.svg|50px|class=invert]]<br>smashwiki
|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|starfywiki|bg}};border:2px solid #{{InterwikiColour|starfywiki}};color:#{{InterwikiColour|starfywiki|text}}"|[[File:StarfySymbol.svg|50px|class=invert]]<br>starfywiki
|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|strategywiki|bg}};border:2px solid #{{InterwikiColour|strategywiki}};color:#{{InterwikiColour|strategywiki|text}}"|[[File:StrategyWikiSymbol.svg|50px|class=invert]]<br>strategywiki
|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|supermariowiki|bg}};border:2px solid #{{InterwikiColour|supermariowiki}};color:#{{InterwikiColour|supermariowiki|text}}"|[[File:MarioSymbol.svg|50px|class=invert]]<br>supermariowiki
|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|ukikipedia|bg}};border:2px solid #{{InterwikiColour|ukikipedia}};color:#{{InterwikiColour|ukikipedia|text}}"|[[File:MarioSymbol.svg|50px|class=invert]]<br>ukikipedia
|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|wapopedia|bg}};border:2px solid #{{InterwikiColour|wapopedia}};color:#{{InterwikiColour|wapopedia|text}}"|[[File:DrawnToLifeSymbol.svg|50px|class=invert]]<br>wapopedia
|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|warswiki|bg}};border:2px solid #{{InterwikiColour|warswiki}};color:#{{InterwikiColour|warswiki|text}}"|[[File:NintendoWarsSymbol.svg|50px|class=invert]]<br>warswiki
|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|wikibound|bg}};border:2px solid #{{InterwikiColour|wikibound}};color:#{{InterwikiColour|wikibound|text}}"|[[File:EarthboundSymbol.svg|50px|class=invert]]<br>wikibound
|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}}"|[[File:WikipediaSymbol.svg|50px|class=invert]]<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}}"|[[File:KirbySymbol.svg|50px|class=invert]]<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|xenoserieswiki|bg}};border:2px solid #{{InterwikiColour|xenoserieswiki}};color:#{{InterwikiColour|xenoserieswiki|text}}"|[[File:XenobladeSymbol.svg|50px|class=invert]]<br>xenoserieswiki
|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|zeldawiki|bg}};border:2px solid #{{InterwikiColour|zeldawiki}};color:#{{InterwikiColour|zeldawiki|text}}"|[[File:ZeldaSymbol.svg|50px|class=invert]]<br>zeldawiki
|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]]<br>_
|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.