User:UBX/Userbox video game
Appearance
< User:UBX
(Redirected from Template: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=
}}
OoT | This 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)
Handle cases where the text would look better if the game name were on its own line. See User:CaseyPenk/UBX/VG/Madden/94 -- this looks better if there's a <br /> between beginning text and name of the game.- Handle series -- such as Madden series (perhaps have a parameter as a flag for series-ness?)
- Resize the right side field in case there is simply too much text to fit in two lines (see User:CaseyPenk/UBX/VG/consoles/Nintendo/NES)
- Make a small amount of text fit in one line by making the text smaller (see User:CaseyPenk/UBX/VG/Final Fantasy/I)