Difference between revisions of "Template:SpellCaster"

From DDO Compendium
 
(21 intermediate revisions by the same user not shown)
Line 26: Line 26:
|cooldown=
|cooldown=
|duration=
|duration=
|options=
|upgradedfrom=
|categories=
|otherversions=
|emptyaugments=
|storedescription=
}}
}}
</pre>
</pre>
Line 101: Line 107:
|parameter24name = duration
|parameter24name = duration
|parameter24description = The amount of time this lasts. Use [[Template:SpellDuration]]
|parameter24description = The amount of time this lasts. Use [[Template:SpellDuration]]
|parameter25name = options
|parameter25description = Use [[Template:ItemOptions]], displays options about the item
|parameter26name = upgradedfrom
|parameter26description = A list of items this was upgraded from.
|parameter27name = categories
|parameter27description = Contains extra categories.  Use [[Template:CategoryList]]
|parameter28name = otherversions
|parameter28description = Other related version (i.e. heroic vs legendary or epic, feytwisted, etc)
|parameter29name = emptyaugments
|parameter29description = Any Empty augments that this item has.  Use [[Template:EmptyAugments]]
|parameter30name = storedescription
|parameter30description = The description of the item from the ddo store
}}
}}
</noinclude>
</noinclude>
<includeonly>{{#dplvar:set|itembasevalue|{{{basevalue}}}}}<div class="row"><div class="col-sm-6 border"><table class="table table-bordered table-striped table-condensed">
<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>
<table class="table table-condensed">
<table class="table table-noborder table-condensed">
<tr><td class="col-sm-1 align-middle">{{IconImage|{{{name}}}|{{{icon|}}}}}</td><td class="col-sm-11 center"><span class="big">{{{name}}}</span><br>[[:Category:{{{type}}}|<span class="small">{{{type}}}</span>]]</td>
<tr><td class="col-sm-1 align-middle">{{IconImageWithLink|{{{name}}}|{{{icon|}}}}}</td><td class="col-sm-11 center"><span class="big">{{{name}}}</span><br>[[:Category:{{{type}}}|<span class="small">{{{type}}}</span>]]</td>
</tr>
</tr>
</table>
</table>
Line 113: Line 131:
</tr>
</tr>
<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}}}}}{{#if: {{{casterlevel|}}}|<br>'''Caster Level:''' {{{casterlevel}}}}}{{#if: {{{duration|}}}|<br>'''Duration:''' {{{duration|}}}}}{{#if: {{{cooldown|}}}|<br>'''Cooldown:''' {{{cooldown}}}}}
<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}}}}}{{#if: {{{options|}}}|<br>{{{options}}}}}{{#if: {{{casterlevel|}}}|<br>'''Caster Level:''' {{{casterlevel}}}}}{{#if: {{{duration|}}}|<br>'''Duration:''' {{{duration|}}}}}{{#if: {{{cooldown|}}}|<br>'''Cooldown:''' {{{cooldown}}}}}


</td>
</td>
Line 120: Line 138:
<td>'''Enchantments:'''&nbsp;
<td>'''Enchantments:'''&nbsp;
{{{enchantments|}}}
{{{enchantments|}}}
{{ItemMaterialDR|{{{material}}}}}
{{ItemMaterialDR|{{{material|}}}}}
</td>
</td>
</tr>}}
</tr>}}{{#if: {{{emptyaugments|}}}|<tr><td>{{{emptyaugments}}}</td></tr>}}
<tr>
<tr>
<td>{{ItemMaterial|{{{material}}}|{{#if: {{{hardness|}}}|{{{hardness}}} |}}|{{#if: {{{durability|}}}|{{{durability}}}|}}}}
<td>{{ItemMaterial|{{{material|}}}|{{#if: {{{hardness|}}}|{{{hardness}}} |}}|{{#if: {{{durability|}}}|{{{durability}}}|}}}}
</td>
</td>
</tr>
</tr>
Line 149: Line 167:
<table class="table table-bordered table-striped table-condensed sortable">
<table class="table table-bordered table-striped table-condensed sortable">
{{#switch: {{lc:{{{type}}}}}
{{#switch: {{lc:{{{type}}}}}
| wand =
| wand =<tr style="background: rgb(0,0,0)">
<tr style="background: rgb(0,0,0)">
<td>[[File:{{#if: {{{image|}}}|{{{image}}}|{{{name}}}}}.png|center|300px|]]</td>
<td>[[File:{{#if: {{{image|}}}|{{{image}}}|{{{name}}}}}.png|center|300px|]]</td>
</tr>
</tr>
|#default={{#if: {{{image|}}}|
|#default={{#if: {{{image|}}}|
<tr style="background: rgb(0,0,0)">
<tr style="background: rgb(0,0,0)">
<td>[[File:{{#if: {{{image|}}}|{{{image}}}|{{{name}}}}}.png|center|300px|]]</td></tr>}}}}<tr><td class="extra-details">{{#if: {{{droplocation|}}} | '''Where To Find:'''&nbsp;{{WrapMultiLine|{{{droplocation}}}}}|[[Category:Items without a Drop Location]]}}</td></tr>{{#if: {{{details|}}} | <tr><td class="extra-details">'''Extra Details:'''&nbsp;{{WrapMultiLine|{{{details}}}}}</td></tr>}}{{#if: {{{upgradeable|}}} |<tr><td class="extra-details">'''Upgradeable:'''&nbsp;{{WrapMultiLine|{{{upgradeable}}}}}</td></tr>}}{{#if: {{{bug|}}} |<tr><td class="extra-details">'''Bugs:'''&nbsp;{{WrapMultiLine|{{{bug}}}}}</td></tr>}}
<td>[[File:{{#if: {{{image|}}}|{{{image}}}|{{{name}}}}}.png|center|300px|]]</td></tr>}}}}<tr><td class="extra-details">{{#if: {{{droplocation|}}} | '''Where To Find:'''&nbsp;{{WrapMultiLine|{{{droplocation}}}}}|[[Category:Items without a Drop Location]]}}</td></tr>{{#if: {{{details|}}} | <tr><td class="extra-details">'''Extra Details:'''&nbsp;{{WrapMultiLine|{{{details}}}}}</td></tr>}}{{#if: {{{storedescription|}}} | <tr><td class="extra-details">'''Store Description:'''&nbsp;{{{storedescription}}}</td></tr>}}{{#if: {{{upgradeable|}}} |<tr><td class="extra-details">'''Upgradeable:'''&nbsp;{{WrapMultiLine|{{{upgradeable}}}}}</td></tr>}}{{#if: {{{upgradedfrom|}}} | <tr><td class="extra-details">'''Upgraded From:'''&nbsp;{{WrapMultiLine|{{{upgradedfrom}}}}}</td></tr>}}{{#if: {{{bug|}}} |<tr><td class="extra-details">'''Bugs:'''&nbsp;{{WrapMultiLine|{{{bug}}}}}</td></tr>}}
{{#if: {{{replaced|}}} | <tr><td class="extra-details topborder">{{{replaced}}}</td></tr>}}</table></div></div>{{#if: {{{update|}}} | [[Category:Update {{{update|}}} Loot]] | [[Category:Items without an Update]]}}[[Category:{{{type}}}]]
{{#if: {{{replaced|}}} | <tr><td class="extra-details highlighted">{{{replaced}}}</td></tr>}}{{#if: {{{otherversions|}}} | <tr><td class="extra-details topborder">'''Related Items:'''
{{#seo:
{{WrapMultiLine|{{{otherversions}}}}}</td></tr>}}</table></div></div>{{#if: {{{update|}}} | [[Category:Update {{{update|}}} Loot]] | [[Category:Items without an Update]]}}[[Category:{{{type}}}]]{{{categories|}}}{{#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={{#ifexist:File:{{{name}}}.png|{{filepath:{{{name}}}.png|nowiki}}|{{#ifexist:File:{{{name}}} Icon.png|{{filepath:{{{name}}} Icon.png|nowiki}}|}}}}
|image={{#if: {{#dplvar:seoimage}}|{{#dplvar:seoimage}}}}
|description=Item Type: {{{type}}}
|description=Item Type: {{{type}}}
Min Level: {{{minlevel}}}
Min Level: {{{minlevel}}}
UMD: {{{umd|None}}}
UMD: {{#if: {{{umd|}}}|{{{umd}}}|None}}
No UMD: {{#replace:{{#replace:{{{noumdfor|N/A}}}|[|}}|]|}}
No UMD: {{#if: {{{noumdfor|}}}|{{#replace:{{#replace:{{{noumdfor}}}|[|}}|]|}}|N/A}}{{#if: {{{material|}}}|
Material: {{{material}}}
Material: {{{material}}}}}
Drop Location: {{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{{droplocation}}}|[|}}|]|}}|Category:Loot|}}|{|}}|}|}}|DropLocation{{!}}|}}|{{!}}|, }}
Drop Location: {{#dplvar:seodroplocation}}
|site_name={{SITENAME}}
|site_name={{SITENAME}}
|published_time={{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY2}}
|published_time={{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY2}}
|theme-color=#FF0000
|theme-color=#FF0000
|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:{{#dplvar:seodroplocation}}| |,}}
}}</includeonly>
}}{{#dplvar:set|seoimage|}}{{#dplvar:set|seodroplocation|}}}}</includeonly>

Latest revision as of 01:20, 23 December 2024

{{Template:SpellCaster
|name =
|type =
|minlevel =
|umd =
|noumdfor =
|binding =
|enchantments =
|description =
|droplocation =
|material =
|hardness =
|durability =
|update =
|details =
|upgradeable =
|icon =
|bug =
|replaced =
|weight =
|basevalue =
|image=
|casterlevel=
|cooldown=
|duration=
|options=
|upgradedfrom=
|categories=
|otherversions=
|emptyaugments=
|storedescription=
}}

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
nameThe name of the caster.
typeEnter the type of item.
Possible Values:
  • Wand
  • Scroll
  • Potion
minlevelEnter the minimum level required for the wand, or leave blank if there is none.
umdThe UMD required for use.
noumdforClasses that don't require a UMD check.
bindingHow is this item bound - leave blank it is unbound.
Possible Values:
  • 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
enchantmentsThese 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.
descriptionEnter the description that is on the examine window at the bottom.
droplocationThis 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.
materialEnter what the item is made from (i.e. Leather, Glass, Gem, Flametouched Iron).
hardnessEnter the hardness shown in the examine window.
durabilityEnter the maximum durability value shown in the examine window.
updateWhich update was this item added to the game in.
detailsEnter any details that a player may need to know about this (i.e. if not working correctly, etc).
upgradeableIf 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.
iconThe icon to use for this item, overrides the image using the item name
bugContains any information about a bug related to the item. Use Template:Bug
replacedContains information about any replacement that SSG did of this weapon. Use Template:ItemReplacement
weightThis is the weight, in lbs, as shown on the examine window. The "lbs" will be added.
basevalueThis is the base value as shown in the examine window. Use Template:Price.
imageImage file, use if the image doesn't change between heroic and epic types. Do not include extension.
casterlevelThe caster level this works as
cooldownThe amount of time needed before this can be used again.
durationThe amount of time this lasts. Use Template:SpellDuration
optionsUse Template:ItemOptions, displays options about the item
upgradedfromA list of items this was upgraded from.
categoriesContains extra categories. Use Template:CategoryList
otherversionsOther related version (i.e. heroic vs legendary or epic, feytwisted, etc)
emptyaugmentsAny Empty augments that this item has. Use Template:EmptyAugments
storedescriptionThe 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.