Difference between revisions of "Template:Item"
MNDeveloper (talk | contribs) |
m (testing template data and template wizard; will revert when done) Tag: Reverted |
||
Line 1: | Line 1: | ||
<includeonly>{{#ifeq:{{#dplvar:rendertype}}|ingredient|{{RenderIngredient|{{{name}}}|{{{icon|}}}|{{{link|}}}}}|{{#dplvar:set|itembasevalue|{{{basevalue}}}}}<div class="row"><div class="col-sm-6"><table class="table table-bordered table-striped table-condensed"> | |||
<tr> | <tr> | ||
<td> | <td> | ||
Line 193: | Line 80: | ||
|keywords=Dungeons,and,Dragons,Online,DDO,{{#replace:{{{name}}}| |,}},{{#replace:{{{type|}}}| |,}},{{#replace:{{{droplocation|}}}| |,}},{{#replace:{{{upgradeable|}}}| |,}} | |keywords=Dungeons,and,Dragons,Online,DDO,{{#replace:{{{name}}}| |,}},{{#replace:{{{type|}}}| |,}},{{#replace:{{{droplocation|}}}| |,}},{{#replace:{{{upgradeable|}}}| |,}} | ||
}}}}</includeonly> | }}}}</includeonly> | ||
<noinclude> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"name": { | |||
"label": "Name", | |||
"description": "The name of the item.", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"icon": { | |||
"label": "Icon", | |||
"description": "The icon to use for this item, overrides the image using the item name", | |||
"type": "string" | |||
}, | |||
"link": { | |||
"label": "Link", | |||
"description": "The link to this page, if it isn't the same as the name.", | |||
"type": "string" | |||
}, | |||
"basevalue": { | |||
"label": "Base Value", | |||
"description": "This is the base value as shown in the examine window. Use [[Template:Price]].", | |||
"type": "wiki-template-name", | |||
"default": "{{Price|}}", | |||
"suggested": true | |||
}, | |||
"type": { | |||
"label": "Type", | |||
"description": "What type of item is it.", | |||
"type": "string", | |||
"required": true, | |||
"suggestedvalues": [ | |||
"Goggles", | |||
"Helmet", | |||
"Necklace", | |||
"Trinket", | |||
"Cloak", | |||
"Belt", | |||
"Ring", | |||
"Gloves", | |||
"Boots", | |||
"Bracers", | |||
"Activator" | |||
] | |||
}, | |||
"artifacttype": { | |||
"label": "Artifact Type", | |||
"description": "Which type of artifact this is, leave blank if it is not an artifact", | |||
"type": "string", | |||
"suggestedvalues": [ | |||
"", | |||
"Minor" | |||
] | |||
}, | |||
"restriction": { | |||
"label": "Restriction", | |||
"description": "This is used when there is some kind of restriction. If it is a trait (Lawful, Good, etc), use [[Template:ItemRequiredTrait]]. If there is a race restriction, use [[Template:ItemRestrictedRace]].", | |||
"type": "wiki-template-name" | |||
}, | |||
"minlevel": { | |||
"label": "Minimum Level", | |||
"description": "Enter the minimum level required for the item, or leave blank if there is none.", | |||
"type": "number" | |||
}, | |||
"absoluteminlevel": { | |||
"label": "Absolute Minimum Level", | |||
"description": "Enter the minimum level required for the item if something is removed, or leave blank if there is none.", | |||
"type": "number" | |||
}, | |||
"binding": { | |||
"label": "Binding", | |||
"description": "How is this item bound - leave blank it is unbound. ", | |||
"example": "btc for Bound to Character\nbta for Bound to Account\nbtcoe for Bound to Character on Equip\nbtcoa for Bound to Character on Acquire\nbtaoe for Bound to Account on Equip\nbtaoa for Bound to Account on Acquire", | |||
"type": "string", | |||
"suggestedvalues": [ | |||
"", | |||
"btc", | |||
"bta", | |||
"btcoe", | |||
"btcoa", | |||
"btaoe", | |||
"btaoa" | |||
] | |||
}, | |||
"exclusive": { | |||
"label": "Exclusive", | |||
"description": "Use [[Template:Exclusive]]", | |||
"type": "wiki-template-name", | |||
"default": "{{Exclusive}}" | |||
}, | |||
"enchantments": { | |||
"label": "Enchantments", | |||
"description": "These are a bulleted list of templates (each on its own line starting with an asterisk) found in Enchantment Templates. If the enchantment is a one just for this item, just enter the information directly. The enchantment that is added because of the material (i.e. Flametouched Iron) is automatically added.", | |||
"type": "wiki-template-name", | |||
"suggested": true | |||
}, | |||
"emptyaugments": { | |||
"label": "Empty Augments", | |||
"description": "Any Empty augments that this item has. Use [[Template:EmptyAugments]]", | |||
"type": "wiki-template-name", | |||
"default": "{{EmptyAugments|}}" | |||
}, | |||
"itemsets": { | |||
"label": "Item Sets", | |||
"description": "The item sets that this item has. Use [[Template:ItemSetList]]", | |||
"type": "wiki-template-name", | |||
"default": "{{ItemSetList|}}" | |||
}, | |||
"material": { | |||
"label": "Material", | |||
"description": "Enter what the item is made from (i.e. Leather, Glass, Gem, Flametouched Iron).", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"hardness": { | |||
"label": "Hardness", | |||
"description": "Enter the hardness shown in the examine window.", | |||
"type": "number", | |||
"suggested": true | |||
}, | |||
"durability": { | |||
"label": "Durability", | |||
"description": "Enter the maximum durability value shown in the examine window.", | |||
"type": "number", | |||
"suggested": true | |||
}, | |||
"description": { | |||
"label": "Description", | |||
"description": "Enter the description that is on the examine window at the bottom.", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"weight": { | |||
"label": "Weight", | |||
"description": "This is the weight, in lbs, as shown on the examine window. The \"lbs\" will be added.", | |||
"type": "number", | |||
"suggested": true | |||
}, | |||
"image": { | |||
"label": "Image", | |||
"description": "Image file, use if the image doesn't change between heroic and epic types. Do not include extension.", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"droplocation": { | |||
"label": "Drop Location", | |||
"description": "This specifies information on where this drops. Use one of the drop location templates to specify it. The list of templates can be found here: [[Category:DropLocation Templates]]. If there is more than one, put each on its own line starting with an asterisk.", | |||
"type": "wiki-template-name", | |||
"suggested": true | |||
}, | |||
"replaced": { | |||
"label": "Replaced", | |||
"description": "Contains information about any replacement that SSG did of this item. Use [[Template:ItemReplacement]]", | |||
"type": "wiki-template-name", | |||
"default": "{{ItemReplacement}}" | |||
}, | |||
"details": { | |||
"label": "Details", | |||
"description": "Enter any details that a player may need to know about this (i.e. if not working correctly, etc).", | |||
"type": "string" | |||
}, | |||
"upgradeable": { | |||
"label": "Upgradable", | |||
"description": "If this item is upgradeable, use [[Template:ItemUpgrade]]. If there is more than one (i.e. it is in the middle of a crafting chain), include multiple templates in a bulleted list.", | |||
"type": "wiki-template-name" | |||
}, | |||
"bug": { | |||
"label": "Bug", | |||
"description": "Contains any information about a bug related to the item. Use [[Template:Bug]]", | |||
"type": "wiki-template-name" | |||
}, | |||
"otherversions": { | |||
"label": "Other Versions", | |||
"description": "Other related version (i.e. heroic vs legendary or epic, feytwisted, etc)", | |||
"type": "string" | |||
}, | |||
"update": { | |||
"label": "Update", | |||
"description": "Which update was this item added to the game in.", | |||
"type": "string", | |||
"suggested": true | |||
} | |||
}, | |||
"description": "This template is used to render information about an item that is not a weapon, armor, orb, rune arm, shield or quiver. See [[Template:Weapon]] for weapons, [[Template:Armor]] for armor, [[Template:Shield]] for shields and orbs, [[Template:Quiver]] for quivers. Example of the Template in Use: [[Pale Lavender Ioun Stone]].", | |||
"paramOrder": [ | |||
"name", | |||
"type", | |||
"minlevel", | |||
"absoluteminlevel", | |||
"binding", | |||
"enchantments", | |||
"description", | |||
"droplocation", | |||
"material", | |||
"hardness", | |||
"durability", | |||
"update", | |||
"details", | |||
"upgradeable", | |||
"restriction", | |||
"icon", | |||
"image", | |||
"bug", | |||
"replaced", | |||
"weight", | |||
"basevalue", | |||
"artifacttype", | |||
"emptyaugments", | |||
"itemsets", | |||
"otherversions", | |||
"link", | |||
"exclusive" | |||
], | |||
"format": "block" | |||
} | |||
</templatedata>[[Category:Template]][[Category:Item Templates]] | |||
</noinclude> |
Revision as of 07:01, 2 April 2022
This template is used to render information about an item that is not a weapon, armor, orb, rune arm, shield or quiver. See [[Template:Weapon]] for weapons, [[Template:Armor]] for armor, [[Template:Shield]] for shields and orbs, [[Template:Quiver]] for quivers. Example of the Template in Use: [[Pale Lavender Ioun Stone]].
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | The name of the item. | String | required |
Type | type | What type of item is it.
| String | required |
Minimum Level | minlevel | Enter the minimum level required for the item, or leave blank if there is none. | Number | optional |
Absolute Minimum Level | absoluteminlevel | Enter the minimum level required for the item if something is removed, or leave blank if there is none. | Number | optional |
Binding | binding | How is this item bound - leave blank it is unbound.
| String | optional |
Enchantments | enchantments | These are a bulleted list of templates (each on its own line starting with an asterisk) found in Enchantment Templates. If the enchantment is a one just for this item, just enter the information directly. The enchantment that is added because of the material (i.e. Flametouched Iron) is automatically added. | Template | suggested |
Description | description | Enter the description that is on the examine window at the bottom. | String | suggested |
Drop Location | droplocation | This specifies information on where this drops. Use one of the drop location templates to specify it. The list of templates can be found here: [[Category:DropLocation Templates]]. If there is more than one, put each on its own line starting with an asterisk. | Template | suggested |
Material | material | Enter what the item is made from (i.e. Leather, Glass, Gem, Flametouched Iron). | String | required |
Hardness | hardness | Enter the hardness shown in the examine window. | Number | suggested |
Durability | durability | Enter the maximum durability value shown in the examine window. | Number | suggested |
Update | update | Which update was this item added to the game in. | String | suggested |
Details | details | Enter any details that a player may need to know about this (i.e. if not working correctly, etc). | String | optional |
Upgradable | upgradeable | If this item is upgradeable, use [[Template:ItemUpgrade]]. If there is more than one (i.e. it is in the middle of a crafting chain), include multiple templates in a bulleted list. | Template | optional |
Restriction | restriction | This is used when there is some kind of restriction. If it is a trait (Lawful, Good, etc), use [[Template:ItemRequiredTrait]]. If there is a race restriction, use [[Template:ItemRestrictedRace]]. | Template | optional |
Icon | icon | The icon to use for this item, overrides the image using the item name | String | optional |
Image | image | Image file, use if the image doesn't change between heroic and epic types. Do not include extension. | String | suggested |
Bug | bug | Contains any information about a bug related to the item. Use [[Template:Bug]] | Template | optional |
Replaced | replaced | Contains information about any replacement that SSG did of this item. Use [[Template:ItemReplacement]]
| Template | optional |
Weight | weight | This is the weight, in lbs, as shown on the examine window. The "lbs" will be added. | Number | suggested |
Base Value | basevalue | This is the base value as shown in the examine window. Use [[Template:Price]].
| Template | suggested |
Artifact Type | artifacttype | Which type of artifact this is, leave blank if it is not an artifact
| String | optional |
Empty Augments | emptyaugments | Any Empty augments that this item has. Use [[Template:EmptyAugments]]
| Template | optional |
Item Sets | itemsets | The item sets that this item has. Use [[Template:ItemSetList]]
| Template | optional |
Other Versions | otherversions | Other related version (i.e. heroic vs legendary or epic, feytwisted, etc) | String | optional |
Link | link | The link to this page, if it isn't the same as the name. | String | optional |
Exclusive | exclusive | Use [[Template:Exclusive]]
| Template | optional |