Template:InterwikiColour/doc
From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
File:PokemonSymbol.png bulbapedia |
File:DKSymbol.png donkeykongwiki |
File:DragonQuestSymbol.png dragonquestwiki |
File:FireEmblemSymbol.png fireemblemwiki |
File:FZeroSymbol.png fzerowiki |
File:GoldenSunSymbol.png goldensununiverse |
File:TetrisSymbol.png harddrop |
File:KidIcarusSymbol.png icaruspedia |
File:SplatoonSymbol.png inkipedia |
File:StarFoxSymbol.png lylatwiki |
File:MetroidSymbol.png metroidwiki |
File:NintendoSymbol.png nwiki |
File:AnimalCrossingSymbol.png nookipedia |
File:PikminSymbol.png pikipedia |
File:PikminSymbol.png pikminfanon |
File:SmashBrosSymbol.png smashwiki |
File:StarfySymbol.png starfywiki |
File:StrategyWikiSymbol.png strategywiki |
File:MarioSymbol.png supermariowiki |
File:NintendoWarsSymbol.png warswiki |
File:EarthboundSymbol.png wikibound |
File:WikipediaSymbol.png wikipedia |
File:KirbySymbol.png wikirby |
File:ZeldaSymbol.png zeldawiki |
File:SpecialStagesSymbol.png _ |
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.