Welcome to SmashWiki! Log in or create an account and join the community, and don't forget to read this first!
Notices
The Skill parameter has been removed from Smasher infoboxes, and in its place are the new "Best historical ranking" and "Best tournament result" parameters. SmashWiki needs help adding these new parameters to Smasher infoboxes, refer to the guidelines here for what should be included in these new parameters.
When adding results to Smasher pages, include each tournament's entrant number in addition to the player's placement, and use the {{Trn}} template with the matching game specified. Please also fix old results on Smasher pages that do not abide to this standard. Refer to our Smasher article guidelines to see how results tables should be formatted.
Check out our project page for ongoing projects that SmashWiki needs help with.

Template:InterwikiColour

From SmashWiki, the Super Smash Bros. wiki
Revision as of 14:57, August 22, 2024 by Toomai (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
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.