Template:InterwikiColour/doc: Difference between revisions
From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
(10 intermediate revisions by 4 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:14%;background:#{{InterwikiColour|armsinstitute|bg}};border:2px solid #{{InterwikiColour|armsinstitute}};color:#{{InterwikiColour|armsinstitute|text}}"|[[File:ARMSSymbol.svg|50px]]<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]]<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]]<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 | ||
|style="width:14%;background:#{{InterwikiColour|dragonquestwiki|bg}};border:2px solid #{{InterwikiColour|dragonquestwiki}};color:#{{InterwikiColour|dragonquestwiki|text}}"|[[File:DragonQuestSymbol.svg|50px]]<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]]<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]]<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]]<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|goldensununiverse|bg}};border:2px solid #{{InterwikiColour|goldensununiverse}};color:#{{InterwikiColour|goldensununiverse|text}}"|[[File:GoldenSunSymbol.svg|50px|class=invert-dark]]<br>goldensununiverse | |||
|- | |- | ||
|style="background:#{{InterwikiColour|harddrop|bg}};border:2px solid #{{InterwikiColour|harddrop}};color:#{{InterwikiColour|harddrop|text}}"|[[File:TetrisSymbol.svg|50px]]<br>harddrop | |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|icaruspedia|bg}};border:2px solid #{{InterwikiColour|icaruspedia}};color:#{{InterwikiColour|icaruspedia|text}}"|[[File:KidIcarusSymbol.svg|50px]]<br>icaruspedia | |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|inkipedia|bg}};border:2px solid #{{InterwikiColour|inkipedia}};color:#{{InterwikiColour|inkipedia|text}}"|[[File:SplatoonSymbol.svg|50px]]<br>inkipedia | |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| | |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| | |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| | |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| | |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| | |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| | |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| | |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| | |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| | |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| | |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| | |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||bg}};border:2px solid #{{InterwikiColour|}};color:#{{InterwikiColour||text}}"|[[File: | |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|wikibound|bg}};border:2px solid #{{InterwikiColour|wikibound}};color:#{{InterwikiColour|wikibound|text}}"|[[File:EarthboundSymbol.svg|50px]]<br>wikibound | |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|wikipedia|bg}};border:2px solid #{{InterwikiColour|wikipedia}};color:#{{InterwikiColour|wikipedia|text}}"|[[File:WikipediaSymbol.svg|50px]]<br>wikipedia | |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|wikirby|bg}};border:2px solid #{{InterwikiColour|wikirby}};color:#{{InterwikiColour|wikirby|text}}"|[[File:KirbySymbol.svg|50px]]<br>wikirby | |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|xenoserieswiki|bg}};border:2px solid #{{InterwikiColour|xenoserieswiki}};color:#{{InterwikiColour|xenoserieswiki|text}}"|[[File:XenobladeSymbol.svg|50px]]<br>xenoserieswiki | |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|zeldawiki|bg}};border:2px solid #{{InterwikiColour|zeldawiki}};color:#{{InterwikiColour|zeldawiki|text}}"|[[File:ZeldaSymbol.svg|50px]]<br>zeldawiki | |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||bg}};border:2px solid #{{InterwikiColour|}};color:#{{InterwikiColour||text}}"|[[File:SpecialStagesSymbol.svg|50px]]<br>_ | |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-dark]]<br>wikipedia | |||
|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-dark]]<br>xenoserieswiki | |||
|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
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.