Template:InterwikiColour/doc: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
m (so there's a bit less to do later)
No edit summary
Line 8: Line 8:
|style="width:12.5%;background:#{{InterwikiColour|fzerowiki|bg}};border:2px solid #{{InterwikiColour|fzerowiki}};color:#{{InterwikiColour|fzerowiki|text}}"|[[Image:FZeroSymbol.png|50px]]<br>fzerowiki
|style="width:12.5%;background:#{{InterwikiColour|fzerowiki|bg}};border:2px solid #{{InterwikiColour|fzerowiki}};color:#{{InterwikiColour|fzerowiki|text}}"|[[Image:FZeroSymbol.png|50px]]<br>fzerowiki
|style="width:12.5%;background:#{{InterwikiColour|goldensununiverse|bg}};border:2px solid #{{InterwikiColour|goldensununiverse}};color:#{{InterwikiColour|goldensununiverse|text}}"|[[Image:GoldenSunSymbol.png|50px]]<br>goldensununiverse
|style="width:12.5%;background:#{{InterwikiColour|goldensununiverse|bg}};border:2px solid #{{InterwikiColour|goldensununiverse}};color:#{{InterwikiColour|goldensununiverse|text}}"|[[Image:GoldenSunSymbol.png|50px]]<br>goldensununiverse
|style="width:12.5%;background:#{{InterwikiColour|harddrop|bg}};border:2px solid #{{InterwikiColour|harddrop}};color:#{{InterwikiColour|harddrop|text}}"|[[Image:TetrisSymbol.png|50px]]<br>harddrop
|style="width:12.5%;background:#{{InterwikiColour|icaruspedia|bg}};border:2px solid #{{InterwikiColour|icaruspedia}};color:#{{InterwikiColour|icaruspedia|text}}"|[[Image:KidIcarusSymbol.png|50px]]<br>icaruspedia
|style="width:12.5%;background:#{{InterwikiColour|icaruspedia|bg}};border:2px solid #{{InterwikiColour|icaruspedia}};color:#{{InterwikiColour|icaruspedia|text}}"|[[Image:KidIcarusSymbol.png|50px]]<br>icaruspedia
|style="width:12.5%;background:#{{InterwikiColour|???|bg}};border:2px solid #{{InterwikiColour|???}};color:#{{InterwikiColour|???|text}}"|[[Image:SpecialStagesSymbol.png|50px]]<br>???
|-
|-
|style="background:#{{InterwikiColour|lylatwiki|bg}};border:2px solid #{{InterwikiColour|lylatwiki}};color:#{{InterwikiColour|lylatwiki|text}}"|[[Image:StarFoxSymbol.png|50px]]<br>lylatwiki
|style="background:#{{InterwikiColour|lylatwiki|bg}};border:2px solid #{{InterwikiColour|lylatwiki}};color:#{{InterwikiColour|lylatwiki|text}}"|[[Image:StarFoxSymbol.png|50px]]<br>lylatwiki

Revision as of 14:45, January 17, 2014

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: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:AdvanceWarsSymbol.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