Difference between revisions of "Template:Material"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(13 intermediate revisions by the same user not shown) | |||
Line 163: | Line 163: | ||
|horn accessory=|he=Horn Accessory | |horn accessory=|he=Horn Accessory | ||
|iod set bonus=|iodset=Isle of Dread Set Bonus | |iod set bonus=|iodset=Isle of Dread Set Bonus | ||
}} Augment]] | }} Augment]]}}{{#dplvar:set|seoimage|{{PageExists|File: {{{image|}}}.png|{{filepath:{{{image|}}}.png}}|}}}}{{#if: {{#dplvar:seoimage|}}||{{#dplvar:set|seoimage|{{PageExists|File: {{{name|}}}.png|{{filepath:{{{name|}}}.png}}|}}}}}}{{#if: {{#dplvar:seoimage|}}||{{#dplvar:set|seoimage|{{PageExists|File: {{{icon|}}} Icon.png|{{filepath:{{{icon|}}} Icon.png}}}}}}}}{{#if: {{#dplvar:seoimage|}}||{{#dplvar:set|seoimage|{{PageExists|File: {{{name|}}} Icon.png|{{filepath:{{{name|}}} Icon.png}}}}}}}}{{#seo: | ||
|type=website | |type=website | ||
|image={{#if: {{#dplvar:seoimage}}|{{#dplvar:seoimage}}}} | |image={{#if: {{#dplvar:seoimage|}}|{{#dplvar:seoimage}}}} | ||
|description=Type: {{{type}}} | |description=Type: {{{type}}} | ||
Min Level: {{{minlevel}}} | Min Level: {{#if: {{{minlevel|}}}|{{{minlevel}}}|None}} | ||
Used In: {{ | Binding: {{ItemBinding|{{{binding}}}|True}} | ||
Bag: {{{bagtype}}} | Used In: {{#if: {{#dplvar:seoaugmentuse}}|{{#dplvar:seoaugmentuse}}|{{#replace:{{#replace:{{{use}}}|]|}}|[|}}}} | ||
Bag: {{#if: {{{bagtype|}}}|{{{bagtype}}}|Not baggable}} | |||
Drop Location: {{#dplvar:seodroplocation}} | Drop Location: {{#dplvar:seodroplocation}} | ||
|site_name={{SITENAME}} | |site_name={{SITENAME}} | ||
Line 175: | Line 176: | ||
|theme-color=#FF0000 | |theme-color=#FF0000 | ||
|keywords=Dungeons,and,Dragons,Online,DDO,{{#replace:{{{name}}}| |,}},{{#replace:{{{type|}}}| |,}},{{#replace:{{#dplvar:seodroplocation}}| |,}} | |keywords=Dungeons,and,Dragons,Online,DDO,{{#replace:{{{name}}}| |,}},{{#replace:{{{type|}}}| |,}},{{#replace:{{#dplvar:seodroplocation}}| |,}} | ||
}}{{#dplvar:set|seoimage|}}{{#dplvar:set|seodroplocation|}} | }}{{#dplvar:set|seoimage|}}{{#dplvar:set|seoaugmentuse|}}{{#dplvar:set|seodroplocation|}}}}</includeonly> | ||
</includeonly> |
Latest revision as of 21:59, 22 December 2024
{{Template:Material |name = |type = |minlevel = |binding= |bagtype = |use= |rarity = |collectors = |description = |droplocation = |enchantments= |icon= |weight= |basevalue= |notes= |bagstacksize= |inventorystacksize= |image= |update= |link= |options= |doubleclickpurchase= |otherversions= |storedescription= }}
Material[edit]
This template is used to render information about an ingredient, collectable, gem or any other material.
Usage[edit]
Parameter Documentation | |
name | This is the material name. |
type | What type of item is it. Possible Values:
|
minlevel | The minimum level needed to be to use this item. |
binding | How is this item bound - leave blank it is unbound. Possible Values:
|
bagtype | Type of the bag/container that this goes in, leave blank if it doesn't go in anything. Possible Values:
|
use | List what this can be used for - be detailed with links |
rarity | How common/uncommon/rare is this to get. If it always drops from some location, don't include this. |
collectors | List collectors who take this. |
description | Enter the description that is on the examine window at the bottom. |
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. |
enchantments | This specifies the enchantments when the type is augment. |
icon | This is an icon to use, instead of the name |
weight | This is the weight, in lbs, as shown on the examine window. The "lbs" will be added. |
basevalue | This is the base value as shown in the examine window. Use Template:Price. |
notes | Any notes about this material. |
bagstacksize | This is the maximum number of items that can stack in the bag |
inventorystacksize | This is the maximum number of items that can stack in the inventory |
image | The image to show, do default is shown for this template |
update | Update this was released in |
bagicon | The icon to use for the bag if it is custom. |
link | The link to this page, if it isn't the same as the name. |
options | Use Template:ItemOptions, displays options about the item |
otherversions | Other related version (i.e. heroic vs legendary or epic, feytwisted, etc) |
storedescription | The description of the item from the ddo store |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.