Template:Game icon
From IFWiki
This template replaces about 60-70 separate templates for different icons (each icon had two templates).
The new template should make it easier to add genres:
- The game infobox module (Module:Game) will sort out categorisation (no need for a second template).
- All we will need is a 50x50px icon file, e.g.
Fantasy genre icon.pngfor the "Fantasy" genre.
It will link to the relevant category, unless you're on the category page (in which case it'll just link to the image page).
Examples:
{{game icon|Fantasy}}
|
|
{{game icon|Fantasy|image only=yes}}
|