Template:Item
From Project Nakagami
Shows an item icon, along with its name. Links to the relevant page.
Parameters
The following parameters are supported:
| Parameter | Use | Default |
|---|---|---|
(1st) or item
|
The name of the item to show. Names are defined in Module:ItemIconData | none |
(2nd) or format
|
The format type to use, must be one of the items listed below | inline
|
link
|
Overrides the default link. Accepts an internal link (like Fluxduct), or an external link. Please consider if it makes sense to instead update the default in Module:ItemIconData instead.
|
The link defined in Module:ItemIconData, otherwise just an internal link to the item's name |
Examples
{{Item|minecraft:apple#0}} becomes Apple
{{Item|minecraft:cake#0|icon|link=Main_Page}} becomes
Formats
inline
Example:
Intended uses:
itemtable
Example:
Intended uses:
- Within an itemtable:
icon
Example:
Intended uses:
- When just the icon is desired