Template:Item Infobox: Difference between revisions
Appearance
imported>Ziebster No edit summary |
imported>Ziebster No edit summary |
||
| (20 intermediate revisions by the same user not shown) | |||
| Line 4: | Line 4: | ||
<default>{{PAGENAME}}</default> | <default>{{PAGENAME}}</default> | ||
</title> | </title> | ||
<image source=" | <image source="image" /> | ||
<data source="type"> | <data source="type"> | ||
<label>Type</label> | <label>Type</label> | ||
</data> | </data> | ||
<data source="effects"> | <panel> | ||
<section> | |||
<label>{{{heading1}}}</label> | |||
<data source="effects"> | |||
<label> | <label>Effects</label> | ||
</data> | </data> | ||
<data source="rarity"> | |||
<label>Shop Price</label> | <label>Rarity</label> | ||
</data> | </data> | ||
<data source="shop_price"> | |||
< | <label>Shop Price</label> | ||
</image> | </data> | ||
</section> | |||
<section> | |||
<label>{{{heading2|Section 2}}}</label> | |||
<data source="effects2"> | |||
<label>Effects</label> | |||
</data> | |||
<data source="rarity2"> | |||
<label>Rarity</label> | |||
</data> | |||
<data source="shop_price2"> | |||
<label>Shop Price</label> | |||
</data> | |||
</section> | |||
<section> | |||
<label>{{{heading3|Section 3}}}</label> | |||
<data source="effects3"> | |||
<label>Effects</label> | |||
</data> | |||
<data source="rarity3"> | |||
<label>Rarity</label> | |||
</data> | |||
<data source="shop_price3"> | |||
<label>Shop Price</label> | |||
</data> | |||
</section> | |||
</panel> | |||
<image source="image1" /> | |||
<data source="other"> | <data source="other"> | ||
<label> </label> | <label> </label> | ||
| Line 28: | 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 52: | Line 87: | ||
{ | { | ||
"params": { | "params": { | ||
"image": { | |||
"label": "Image", | |||
"description": "A picture of the in-game item", | |||
"type": "wiki-file-name", | |||
"suggested": true | |||
}, | |||
"type": { | "type": { | ||
"label": "Type", | "label": "Type", | ||
| Line 70: | Line 111: | ||
], | ], | ||
"required": true | "required": true | ||
}, | |||
"heading1": { | |||
"label": "Heading 1", | |||
"type": "string", | |||
"description": "Optional panel title 1" | |||
}, | }, | ||
"rarity": { | "rarity": { | ||
| Line 82: | Line 128: | ||
"Legendary", | "Legendary", | ||
"Event" | "Event" | ||
] | ] | ||
}, | }, | ||
"effects": { | "effects": { | ||
| Line 91: | Line 136: | ||
"autovalue": "No Effect", | "autovalue": "No Effect", | ||
"required": true | "required": true | ||
}, | }, | ||
"shop_price": { | "shop_price": { | ||
"label": "Shop Price", | "label": "Shop Price", | ||
"description": "Shop price, if applicable", | |||
"type": "string" | |||
}, | |||
"heading2": { | |||
"label": "Heading 2", | |||
"type": "string", | |||
"description": "Panel title 2" | |||
}, | |||
"rarity2": { | |||
"label": "Rarity (2)", | |||
"description": "The rarity of the item", | |||
"type": "string", | |||
"suggestedvalues": [ | |||
"Common", | |||
"Uncommon", | |||
"Rare", | |||
"Epic", | |||
"Legendary", | |||
"Event" | |||
] | |||
}, | |||
"effects2": { | |||
"label": "Effects (2)", | |||
"description": "The effects applied when the item is equipped", | |||
"type": "string", | |||
"autovalue": "No Effect" | |||
}, | |||
"shop_price2": { | |||
"label": "Shop Price (2)", | |||
"description": "Shop price, if applicable", | |||
"type": "string" | |||
}, | |||
"heading3": { | |||
"label": "Heading 3", | |||
"type": "string", | |||
"description": "Panel title 3" | |||
}, | |||
"rarity3": { | |||
"label": "Rarity (3)", | |||
"description": "The rarity of the item", | |||
"type": "string", | |||
"suggestedvalues": [ | |||
"Common", | |||
"Uncommon", | |||
"Rare", | |||
"Epic", | |||
"Legendary", | |||
"Event" | |||
] | |||
}, | |||
"effects3": { | |||
"label": "Effects (3)", | |||
"description": "The effects applied when the item is equipped", | |||
"type": "string", | |||
"autovalue": "No Effect" | |||
}, | |||
"shop_price3": { | |||
"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", | |||
"rarity", | |||
"effects", | "effects", | ||
" | "shop_price", | ||
" | "heading2", | ||
"rarity2", | |||
"effects2", | |||
"shop_price2", | |||
"heading3", | |||
"rarity3", | |||
"effects3", | |||
"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 |