Difference between revisions of "Template:SpellCaster"
From DDO Compendium
(testing) |
m (gah, forgot indenting is bad on MW) |
||
Line 24: | Line 24: | ||
}} | }} | ||
</pre> | </pre> | ||
{{TemplateDocumentation | |||
|name = SpellCaster | |||
|description = This template is used to render information about a wand, scroll or potion. Example of the Template | |||
in Use: [[Eternal Wand of Finger of Fire]]. | |||
|category=Item Templates | |||
|usesnamedparameters = true | |||
|parameter1name = name | |||
|parameter1description = The name of the caster. | |||
|parameter2name = type | |||
|parameter2description = Enter the type of item. | |||
|parameter3values= | |||
* Wand | |||
* Scroll | |||
* Potion | |||
|parameter3name = minlevel | |||
|parameter3description = Enter the minimum level required for the wand, or leave blank if there is none. | |||
|parameter4name = umd | |||
|parameter4description = The UMD required for use. | |||
|parameter5name = noumdfor | |||
|parameter5description = Classes that don't require a UMD check. | |||
|parameter6name = binding | |||
|parameter6description = How is this item bound - leave blank it is unbound. | |||
|parameter6values = | |||
* btc for Bound to Character | |||
* bta for Bound to Account | |||
* btcoe for Bound to Character on Equip | |||
* btcoa for Bound to Character on Acquire | |||
* btaoe for Bound to Account on Equip | |||
* btaoa for Bound to Account on Acquire | |||
|parameter7name = enchantments | |||
|parameter7description = These are a bulleted list of templates (each on its own line starting with an asterisk) | |||
found in [[:Category:Item_Enchantment_Template|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. | |||
|parameter8name = description | |||
|parameter8description = Enter the description that is on the examine window at the bottom. | |||
|parameter9name = droplocation | |||
|parameter9description = 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. | |||
|parameter10name = material | |||
|parameter10description = Enter what the item is made from (i.e. Leather, Glass, Gem, Flametouched Iron). | |||
|parameter11name = hardness | |||
|parameter11description = Enter the hardness shown in the examine window. | |||
|parameter12name = durability | |||
|parameter12description = Enter the maximum durability value shown in the examine window. | |||
|parameter13name = update | |||
|parameter13description = Which update was this item added to the game in. | |||
|parameter14name = details | |||
|parameter14description = Enter any details that a player may need to know about this (i.e. if not working | |||
correctly, etc). | |||
|parameter15name = upgradeable | |||
|parameter15description = 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. | |||
|parameter16name = icon | |||
|parameter16description = The icon to use for this item, overrides the image using the item name | |||
|parameter17name = bug | |||
|parameter17description = Contains any information about a bug related to the item. Use [[Template:Bug]] | |||
|parameter18name = replaced | |||
|parameter18description = Contains information about any replacement that SSG did of this weapon. Use | |||
[[Template:ItemReplacement]] | |||
|parameter19name = weight | |||
|parameter19description = This is the weight, in lbs, as shown on the examine window. The "lbs" will be added. | |||
|parameter20name = basevalue | |||
|parameter20description = This is the base value as shown in the examine window. Use [[Template:Price]]. | |||
}} | |||
</noinclude> | </noinclude> | ||
<includeonly> | <includeonly> | ||
<div class="container"> | |||
<div class="row"> | |||
<div class="col-md-6"> | |||
<table class="table"> | |||
<tr> | |||
<td> | |||
<table class="table"> | |||
<tr> | |||
<td class="col-md-1"> | |||
{{IconImage|{{{name}}}|{{{icon|}}}}} | |||
</td> | |||
<td class="col-md-11 center"> | |||
'''{{{name}}}'''<br>[[:Category:{{{type}}}|{{{type}}}]] | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td> | |||
{{#if:{{{umd}}}|'''UMD Difficulty:''' {{{umd|}}}<br>}} | |||
{{#if:{{{noumdfor}}}|'''No UMD Check For:''' {{{noumdfor|}}}<br>}} | |||
{{#if: {{{minlevel|}}}|'''Minimum Level:''' {{{minlevel}}}<br>[[Category:Minimum Level | |||
{{{minlevel}}} | |||
Items]]|[[Category:Items with No Minimum Level]]}} | |||
{{ItemBinding|{{{binding}}}}}<br> | |||
'''Enchantments:''' | |||
{{{enchantments|}}} | |||
{{ItemMaterialDR|{{{material}}}}} | |||
{{ItemMaterial|{{{material}}}|{{#if: {{{hardness|}}}|{{{hardness}}} |}}|{{#if: | |||
{{{durability|}}}|{{{durability}}}|}}}} | |||
<br> | |||
<br> | |||
'''Description:''' ''{{{description}}} '' | |||
</td> | |||
</tr> | |||
{{#if: {{{weight|}}}{{{basevalue|}}}| | |||
<tr> | |||
<td> | |||
<table class="table"> | |||
<tr> | |||
<td class="col-md-6 text-left">{{#if:{{{basevalue|}}}|Base Value: | |||
{{{basevalue}}}}} | |||
</td> | |||
<td class="col-md-6 text-right">{{#if:{{{weight|}}}|{{{weight}}} lbs}}</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
}} | |||
</table> | |||
</div> | |||
<div class="col-md-6 h-100"> | |||
<table class="item-image-table background-color"> | |||
<tr> | |||
<td class="extra-details"> | |||
{{#if: {{{droplocation|}}} | '''Where To | |||
Find:''' {{WrapMultiLine|{{{droplocation}}}}}<br>|[[Category:Items | |||
without | |||
a Drop Location]]}} | |||
{{#if: {{{details|}}} | '''Extra Details:''' {{{details}}}<br>}} | |||
{{#if: {{{upgradeable|}}} | '''Upgradeable:''' {{{upgradeable}}}[[Category:Upgradable | |||
Items]]<br>}} | |||
{{#if: {{{bug|}}} | '''Bugs:''' {{{bug}}}[[Category:Items with a Known Bug]]}} | |||
</td> | |||
</tr> | |||
{{#if: {{{replaced|}}} | | |||
<tr> | |||
<td class="extra-details topborder">{{{replaced}}}</td> | |||
</tr> | |||
}} | |||
</table> | |||
</div> | |||
</div> | |||
</div> | |||
{{#if: {{{update|}}} | [[Category:Update {{{update|}}} Loot]] | [[Category:Items without an Update]]}} | |||
[[Category:Loot]] | |||
</includeonly> | </includeonly> |
Revision as of 23:19, 17 February 2020
{{Template:SpellCaster |name = |type= |minlevel = |umd= |noumdfor= |binding = |enchantments = |description = |droplocation = |material = |hardness = |durability = |update = |details = |upgradeable = |icon= |bug= |replaced= |weight= |basevalue= }}
SpellCaster[edit]
This template is used to render information about a wand, scroll or potion. Example of the Template in Use: Eternal Wand of Finger of Fire.
Usage[edit]
Parameter Documentation | |
name | The name of the caster. |
type | Enter the type of item. |
minlevel | Enter the minimum level required for the wand, or leave blank if there is none. Possible Values:
|
umd | The UMD required for use. |
noumdfor | Classes that don't require a UMD check. |
binding | How is this item bound - leave blank it is unbound. Possible Values:
|
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. |
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. |
material | Enter what the item is made from (i.e. Leather, Glass, Gem, Flametouched Iron). |
hardness | Enter the hardness shown in the examine window. |
durability | Enter the maximum durability value shown in the examine window. |
update | Which update was this item added to the game in. |
details | Enter any details that a player may need to know about this (i.e. if not working correctly, etc). |
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. |
icon | The icon to use for this item, overrides the image using the item name |
bug | Contains any information about a bug related to the item. Use Template:Bug |
replaced | Contains information about any replacement that SSG did of this weapon. Use Template:ItemReplacement |
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. |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.