Template:Misc item page/doc: Difference between revisions

Jump to navigation Jump to search
m (Added "Instruments" to type)
m (Updated doc)
Line 9: Line 9:
| image =
| image =


<!-- Low-res, small image of the item. Used with the ItemIcon template. -->
<!-- A smaller, unfaded image of the item, used for the controller interface. Falls back to the value of "image" if not provided -->
| icon =
| controller icon = Longsword Unfaded.png
 
<!-- An even smaller image of the item, to be used as an icon. Falls back to the value of "controller icon" if not provided -->
| icon = Longsword Unfaded Icon.png


<!-- This is the first text that will appear on the page. Briefly describe what the item is and what makes it noteworthy. -->
<!-- This is the first text that will appear on the page. Briefly describe what the item is and what makes it noteworthy. -->
Line 82: Line 85:
{{MiscItemPage
{{MiscItemPage
| image =
| image =
| controller icon =
| icon =
| icon =
| description =
| description =
Line 326: Line 330:
"description": "The filename of the image associated with this item, usually the image seen in tooltips.",
"description": "The filename of the image associated with this item, usually the image seen in tooltips.",
"example": "Potion of Fire Resistance Faded.png",
"example": "Potion of Fire Resistance Faded.png",
"type": "wiki-file-name",
"suggested": true
},
"controller icon": {
"description": "The unfaded controller icon of this item. Defaults to the value of image= if not provided.",
"type": "wiki-file-name",
"suggested": true
},
"icon": {
"description": "The icon of this item. Defaults to the value of controller icon= if not provided.",
"required": true,
"type": "wiki-file-name",
"type": "wiki-file-name",
"suggested": true
"suggested": true
Line 440: Line 455:
"yes"
"yes"
],
],
"suggested": true
},
"icon": {
"description": "The image to use as an icon, usually the image used in UI elements such as inventories. If blank, will fall back to image.",
"example": "Potion of Fire Resistance Unfaded Icon.png",
"type": "wiki-file-name",
"suggested": true
"suggested": true
},
},
Line 485: Line 494:
"name",
"name",
"image",
"image",
        "controller icon",
"icon",
"icon",
"description",
"description",