Template:Item Infobox: Difference between revisions
Appearance
imported>Naptalan m Naptalan moved page Template:Item/sandbox to Template:Item/Clothes: ⧼portable-infobox-builder-move-message⧽ |
imported>Naptalan No edit summary |
||
| Line 37: | Line 37: | ||
</pre> | </pre> | ||
<templatedata> | <templatedata> | ||
{"params":{" | { | ||
"params": { | |||
"caption-Image": { | |||
"suggested": true, | |||
"description": "A caption describing the item", | |||
"type": "string" | |||
}, | |||
"type": { | |||
"label": "Type", | |||
"description": "The type of the item", | |||
"type": "string", | |||
"suggestedvalues": [ | |||
"Material", | |||
"Shirt", | |||
"Pants", | |||
"Aura", | |||
"Right Hand/Gloves", | |||
"Back", | |||
"Mount", | |||
"Middle Headgear", | |||
"Top Headgear", | |||
"Consumable" | |||
], | |||
"required": true | |||
}, | |||
"rarity": { | |||
"label": "Rarity", | |||
"description": "The rarity of the item", | |||
"type": "string", | |||
"suggestedvalues": [ | |||
"Common", | |||
"Uncommon", | |||
"Rare", | |||
"Epic", | |||
"Legendary", | |||
"Event" | |||
], | |||
"required": true | |||
}, | |||
"effects": { | |||
"label": "Effects", | |||
"description": "The effects applied when the item is equipped", | |||
"type": "string", | |||
"autovalue": "No Effect", | |||
"required": true | |||
}, | |||
"name": { | |||
"label": "Name", | |||
"description": "The name of the item.", | |||
"type": "wiki-page-name", | |||
"required": true | |||
}, | |||
"image": { | |||
"label": "Image", | |||
"description": "A picture of the in-game item", | |||
"type": "wiki-file-name", | |||
"suggested": true | |||
} | |||
}, | |||
"sets": [], | |||
"paramOrder": [ | |||
"name", | |||
"image", | |||
"caption-Image", | |||
"type", | |||
"rarity", | |||
"effects" | |||
] | |||
} | |||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> | ||
Revision as of 23:55, 16 February 2025
Example usage:
Template:Item/sandbox
{{Item/sandbox
| Name=Example
| Image=Example.jpg
| caption-Image=Example
| type=Example
| rarity=Example
| effects=Example}}
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | The name of the item. | Page name | required |
| Image | image | A picture of the in-game item | File | suggested |
| caption-Image | caption-Image | A caption describing the item | String | suggested |
| Type | type | The type of the item
| String | required |
| Rarity | rarity | The rarity of the item
| String | required |
| Effects | effects | The effects applied when the item is equipped
| String | required |