Template:Item Infobox: Difference between revisions
Appearance
imported>Naptalan Created page with "<includeonly> <infobox> <title source="Name"> <default>{{PAGENAME}}</default> </title> <image source="Image"> <caption source="caption-Image"/> </image> <data source="type"> <label>Type</label> </data> <data source="rarity"> <label>Rarity</label> </data> <data source="effects"> <label>Effects</label> </data> </infobox> </includeonly> <noinclude> Example usage: {{Item/sandbox | Name=Example | Image=Example.jpg | caption-Image=..." |
imported>Ziebster No edit summary |
||
| (63 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<infobox> | <infobox theme="item"> | ||
<title source=" | <title source="name"> | ||
<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="rarity"> | <panel> | ||
<label>Rarity</label> | <section> | ||
</data> | <label>{{{heading1}}}</label> | ||
<data source=" | <data source="effects"> | ||
<label> | <label>Effects</label> | ||
</data> | |||
<data source="rarity"> | |||
<label>Rarity</label> | |||
</data> | |||
<data source="shop_price"> | |||
<label>Shop Price</label> | |||
</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"> | |||
<label> </label> | |||
</data> | </data> | ||
</infobox> | </infobox> | ||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
[[Category:Infobox templates]] | |||
Example usage: | Example usage: | ||
{{Item | {{Item Infobox | ||
|image=DigiExample.png | |||
|type=Example | |||
|effects=Example | |||
|rarity=Example | |||
|shop_price=Example | |||
|image1=DigiExample.png | |||
<pre> | |other=Example | ||
{{Item | }}<pre> | ||
{{Item Infobox | |||
|name= | |||
|image= | |||
|type= | |||
|effects= | |||
|rarity= | |||
|shop_price= | |||
|header1= | |||
|header2= | |||
|effects2= | |||
|rarity2= | |||
|shop_price2= | |||
|header3= | |||
|effects3= | |||
|rarity3= | |||
|shop_price3= | |||
|image1= | |||
|other= | |||
}} | |||
</pre> | </pre> | ||
<templatedata> | <templatedata> | ||
{"params":{" | { | ||
"params": { | |||
"image": { | |||
"label": "Image", | |||
"description": "A picture of the in-game item", | |||
"type": "wiki-file-name", | |||
"suggested": true | |||
}, | |||
"type": { | |||
"label": "Type", | |||
"description": "The type of the item", | |||
"type": "string", | |||
"suggestedvalues": [ | |||
"Material", | |||
"Shirt", | |||
"Pants", | |||
"Aura", | |||
"Right Hand/Gloves", | |||
"Mount", | |||
"Middle Headgear", | |||
"Top Headgear", | |||
"Consumable", | |||
"Left Hand", | |||
"Back" | |||
], | |||
"required": true | |||
}, | |||
"heading1": { | |||
"label": "Heading 1", | |||
"type": "string", | |||
"description": "Optional panel title 1" | |||
}, | |||
"rarity": { | |||
"label": "Rarity", | |||
"description": "The rarity of the item", | |||
"type": "string", | |||
"suggestedvalues": [ | |||
"Common", | |||
"Uncommon", | |||
"Rare", | |||
"Epic", | |||
"Legendary", | |||
"Event" | |||
] | |||
}, | |||
"effects": { | |||
"label": "Effects", | |||
"description": "The effects applied when the item is equipped", | |||
"type": "string", | |||
"autovalue": "No Effect", | |||
"required": true | |||
}, | |||
"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", | |||
"type": "string" | |||
} | |||
}, | |||
"paramOrder": [ | |||
"image", | |||
"type", | |||
"heading1", | |||
"rarity", | |||
"effects", | |||
"shop_price", | |||
"heading2", | |||
"rarity2", | |||
"effects2", | |||
"shop_price2", | |||
"heading3", | |||
"rarity3", | |||
"effects3", | |||
"shop_price3" | |||
], | |||
"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 |