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