User:UBX/Userbox video game

{{{abbr}}}This user plays
[[{{{game}}}|{{{game}}}]].

Usage

edit

{{Userbox video game
| abbr =
| color =
| game =
| page =
}}

{{Userbox video game
| abbr = OoT
| color = green
| game = The Legend of Zelda: Ocarina of Time
| page=
}}

OoTThis user plays [[|The Legend of Zelda: Ocarina of Time]].

Legend

edit
  • abbr: abbreviation for the name of the game
  • color: dominant color to be used in userbox (in addition to white)
  • game: name of the game
  • page (optional): the Wikipedia page that represents the game - if not specified, will default to the name of the game

Known issues

edit
  • Doesn't work well with large amount of text in the left side (the abbreviation) -- please edit the source code if you know of a better formula to model the text length-size ratio!
  • Doesn't work well with light colors / white (could create a reversed-color version or modify this one to work that way)

Possible improvements

edit

(Not bugs per se)