Template:DunItem/doc

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

Syntax

 * (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 will spawn hidden.

color=
 * (can be placed anywhere after)
 * Changes color to a respective region's colors.

Sample Output

 * }


 * }

TemplateData
{	"params": { "1": {			"label": "Item name", "description": "The name of the item. Adds its sprite automatically.", "type": "string", "suggested": true },		"2": {			"label": "Floors", "description": "The floors the item appears on.", "type": "line", "default": "??", "suggested": true, "suggestedvalues": [ "All Floors", "(B)#-#F", "(B)#F+" ]		},		"3": {			"label": "Tiles", "description": "The tiles the item can spawn on.", "example": "'Floor' or 'Floor, Walls', etc.", "type": "line", "default": "??", "suggested": true },		"4": {			"label": "Hidden", "description": "If the item can spawn hidden.", "type": "string", "default": "??", "suggested": true, "suggestedvalues": [ "Yes", "No", "Both" ]		},		"color": { "description": "Changes the color of the table.", "type": "string", "suggested": true, "suggestedvalues": [ "exbel", "winden", "tanren", "undercity", "archford" ]		},		"sprite": { "description": "Add a sprite manually.", "example": "sprite=Perfect Apple", "type": "line" }	},	"description": "Displays a table row for an item in a dungeon.", "format": "inline", "paramOrder": [ "1",		"2",		"3",		"4",		"sprite", "color" ] }