Template:DunItem/doc

Description
Using DunItem on a page puts the code of a stylized table row for item tables on dungeon pages. Should be used in conjunction with Template:DunItem/t.

Parameters
(Item name) (#-#) (Floor, Wall, Water, Lava, Ice, Air) (Yes/No/Both)
 * (must go in this order)
 * The item; adds its sprite and name.
 * The floor(s) the item appears on. "B" and "F" should be used accordingly.
 * The tile(s) the item can appear on.
 * If the item spawns hidden.
 * (can be placed anywhere after)
 * Manually add a sprite using the name of an uploaded png.

Sample Output

 * }


 * }

TemplateData
{	"params": { "1": {			"label": "Item name", "description": "The name of the item. Adds its sprite automatically.", "type": "string", "suggested": true },		"2": {			"label": "Location", "description": "Mainly the floors the item appears. Also account for being dropped by Pokémon.", "type": "content", "default": "??", "suggested": true, "suggestedvalues": [ "(B)#-#F", "Dropped by " ]		},		"3": {			"label": "Tiles", "description": "The tiles the item can spawn on.", "example": "\"Floor\" or \"Floor, Walls\", etc.", "type": "string", "default": "??", "suggested": true, "suggestedvalues": [ "Floor", "Wall", "Water", "Lava", "Ice", "Air" ]		},		"4": {			"label": "Hidden", "description": "If the item can spawn hidden.", "type": "string", "default": "??", "suggested": true, "suggestedvalues": [ "Yes", "No", "Both" ]		},		"sprite": { "label": "Sprite", "description": "Manually add a sprite. Namespace and file extension aren't needed (extension will always be .png).", "type": "string", "example": "Blue Gummi" }	},	"description": "Displays a table row for an item in a dungeon.", "format": "inline", "paramOrder": [ "1",		"2",		"3",		"4",		"sprite" ] }