Template:Item Infobox: Difference between revisions
Appearance
imported>Ziebster No edit summary |
imported>Ziebster No edit summary |
||
| (10 intermediate revisions by the same user not shown) | |||
| Line 53: | Line 53: | ||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
[[Category:Infobox templates]] | |||
Example usage: | Example usage: | ||
{{Item Infobox | {{Item Infobox | ||
|image=DigiExample.png | |||
|type=Example | |||
|effects=Example | |||
|rarity=Example | |||
|shop_price=Example | |||
|image1=DigiExample.png | |||
|other=Example | |||
}} | }}<pre> | ||
<pre> | |||
{{Item Infobox | {{Item Infobox | ||
|name= | |||
|image= | |||
|type= | |||
|effects= | |||
|rarity= | |||
|shop_price= | |||
|header1= | |||
|header2= | |||
|effects2= | |||
|rarity2= | |||
|shop_price2= | |||
|header3= | |||
|effects3= | |||
|rarity3= | |||
|shop_price3= | |||
|image1= | |||
|other= | |||
}} | }} | ||
</pre> | </pre> | ||
| Line 114: | Line 114: | ||
"heading1": { | "heading1": { | ||
"label": "Heading 1", | "label": "Heading 1", | ||
"type": "string" | "type": "string", | ||
"description": "Optional panel title 1" | |||
}, | }, | ||
"rarity": { | "rarity": { | ||
| Line 143: | Line 144: | ||
"heading2": { | "heading2": { | ||
"label": "Heading 2", | "label": "Heading 2", | ||
"type": "string" | "type": "string", | ||
"description": "Panel title 2" | |||
}, | }, | ||
"rarity2": { | "rarity2": { | ||
"label": "Rarity", | "label": "Rarity (2)", | ||
"description": "The rarity of the item", | "description": "The rarity of the item", | ||
"type": "string", | "type": "string", | ||
| Line 159: | Line 161: | ||
}, | }, | ||
"effects2": { | "effects2": { | ||
"label": "Effects", | "label": "Effects (2)", | ||
"description": "The effects applied when the item is equipped", | "description": "The effects applied when the item is equipped", | ||
"type": "string", | "type": "string", | ||
| Line 165: | Line 167: | ||
}, | }, | ||
"shop_price2": { | "shop_price2": { | ||
"label": "Shop Price", | "label": "Shop Price (2)", | ||
"description": "Shop price, if applicable", | "description": "Shop price, if applicable", | ||
"type": "string" | "type": "string" | ||
| Line 171: | Line 173: | ||
"heading3": { | "heading3": { | ||
"label": "Heading 3", | "label": "Heading 3", | ||
"type": "string" | "type": "string", | ||
"description": "Panel title 3" | |||
}, | }, | ||
"rarity3": { | "rarity3": { | ||
"label": "Rarity", | "label": "Rarity (3)", | ||
"description": "The rarity of the item", | "description": "The rarity of the item", | ||
"type": "string", | "type": "string", | ||
| Line 187: | Line 190: | ||
}, | }, | ||
"effects3": { | "effects3": { | ||
"label": "Effects", | "label": "Effects (3)", | ||
"description": "The effects applied when the item is equipped", | "description": "The effects applied when the item is equipped", | ||
"type": "string", | "type": "string", | ||
| Line 193: | Line 196: | ||
}, | }, | ||
"shop_price3": { | "shop_price3": { | ||
"label": "Shop Price", | "label": "Shop Price (3)", | ||
"description": "Shop price, if applicable", | "description": "Shop price, if applicable", | ||
"type": "string" | "type": "string" | ||
} | } | ||
}, | }, | ||
"paramOrder": [ | "paramOrder": [ | ||
"image", | "image", | ||
"type", | "type", | ||
"heading1", | "heading1", | ||
"rarity", | |||
"effects", | "effects", | ||
"shop_price", | "shop_price", | ||
"heading2", | "heading2", | ||
"rarity2", | |||
"effects2", | "effects2", | ||
"shop_price2", | "shop_price2", | ||
"heading3", | "heading3", | ||
"rarity3", | |||
"effects3", | "effects3", | ||
"shop_price3" | "shop_price3" | ||
], | ], | ||
"format": " | "format": "{{_\n|_=_\n}}" | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> | ||
Latest revision as of 21:41, 30 December 2025
Example usage:
{{Item Infobox
|name=
|image=
|type=
|effects=
|rarity=
|shop_price=
|header1=
|header2=
|effects2=
|rarity2=
|shop_price2=
|header3=
|effects3=
|rarity3=
|shop_price3=
|image1=
|other=
}}
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Image | image | A picture of the in-game item | File | suggested |
| Type | type | The type of the item
| String | required |
| Heading 1 | heading1 | Optional panel title 1 | String | optional |
| Rarity | rarity | The rarity of the item
| String | optional |
| Effects | effects | The effects applied when the item is equipped
| String | required |
| Shop Price | shop_price | Shop price, if applicable | String | optional |
| Heading 2 | heading2 | Panel title 2 | String | optional |
| Rarity (2) | rarity2 | The rarity of the item
| String | optional |
| Effects (2) | effects2 | The effects applied when the item is equipped
| String | optional |
| Shop Price (2) | shop_price2 | Shop price, if applicable | String | optional |
| Heading 3 | heading3 | Panel title 3 | String | optional |
| Rarity (3) | rarity3 | The rarity of the item
| String | optional |
| Effects (3) | effects3 | The effects applied when the item is equipped
| String | optional |
| Shop Price (3) | shop_price3 | Shop price, if applicable | String | optional |