Changes

Jump to: navigation, search

Template:Icon

450 bytes added, 17:05, 18 October 2014
Documentation.
| potato = item-icon-banana.png{{!}}Potato
| redapple = item-icon-redapple.png{{!}}Red Apple
| salt = item-icon-salt.png{{!}}Salt
| sugar = item-icon-sugar.png{{!}}Sugar
| water = item-icon-water.png{{!}}Bottle of Water
<!-- default uses the shop item naming convention -->
| #default = item-icon-{{{1|none}}}.png
==Description==
This template has several purposes:
* Always used Makes some item icons link to relevant article pages instead of direct links, it the default "File history" page (eg. Saltpeter).* It can save many edits in the future, for example certain foods that have the same icon now (banana & lemon), could have a unique icon later. The article refers to the individual foods, so the article won't need updating.* Adds mouseover title. <span style="color:red">'''TODO'''</span>: add a mouseover popup with the title (very handy in recipes tables)
* Reduces custom mediawiki code in the articles.
* Makes icons link to relevant article pages, instead of the default "File history" page.
==Parameters==
2,804
edits

Navigation menu