Difference between revisions of "Template:SpellCaster"

From DDO Compendium
m (tweak)
 
(94 intermediate revisions by 2 users not shown)
Line 3: Line 3:
{{Template:SpellCaster
{{Template:SpellCaster
|name =
|name =
|type=
|type =
|minlevel =
|minlevel =
|umd=
|umd =
|noumdfor=
|noumdfor =
|binding =  
|binding =
|enchantments =
|enchantments =
|description =
|description =
|droplocation =  
|droplocation =
|material =
|material =
|hardness =
|hardness =
Line 17: Line 17:
|details =
|details =
|upgradeable =
|upgradeable =
|icon=
|icon =
|bug=
|bug =
|replaced=
|replaced =
|weight=
|weight =
|basevalue=
|basevalue =
|image=
|casterlevel=
|cooldown=
|duration=
|options=
|upgradedfrom=
|categories=
|otherversions=
|emptyaugments=
|storedescription=
}}
}}
</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 in Use: [[Eternal Wand of Finger of Fire]].
|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
|category=Item Templates
|usesnamedparameters = true
|usesnamedparameters = true
Line 33: Line 44:
|parameter2name = type
|parameter2name = type
|parameter2description = Enter the type of item.
|parameter2description = Enter the type of item.
|parameter3values=
|parameter2values=
* 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
Line 45: Line 56:
|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
Line 53: Line 64:
* 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) 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.
|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
|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 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.
|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
|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).
Line 67: Line 83:
|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 correctly, etc).
|parameter14description = Enter any details that a player may need to know about this (i.e. if not working
correctly, etc).
|parameter15name = upgradeable
|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.
|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
|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 [[Template:ItemReplacement]]
|parameter18description = Contains information about any replacement that SSG did of this weapon. Use
[[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]].
|parameter21name = image
|parameter21description = Image file, use if the image doesn't change between heroic and epic types. Do not include extension.
|parameter22name = casterlevel
|parameter22description = The caster level this works as
|parameter23name = cooldown
|parameter23description = The amount of time needed before this can be used again.
|parameter24name = duration
|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><includeonly>
</noinclude>
<table class="item-table background-color">
<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>
<td class="item-info-side">
<table class="background-color">
<tr>
<tr>
<td>
<td>
<table class="table background-color">
<table class="table table-noborder table-condensed">
<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>
</table>
</td>
</tr>
<tr>
<tr>
<td class="col icon">
<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}}}}}
<!-- Icon Image -->
 
{{IconImage|{{{name}}}|{{{icon|}}}}}
</td>
</td>
<td class="col title">
</tr>{{#if: {{{enchantments|}}}|
'''{{{name}}}'''<br>[[:Category:{{{type}}}|{{{type}}}]]
<tr>
<td>'''Enchantments:'''&nbsp;
{{{enchantments|}}}
{{ItemMaterialDR|{{{material|}}}}}
</td>
</td>
</tr>
</tr>}}{{#if: {{{emptyaugments|}}}|<tr><td>{{{emptyaugments}}}</td></tr>}}
</table>
<tr>
<td>{{ItemMaterial|{{{material|}}}|{{#if: {{{hardness|}}}|{{{hardness}}} |}}|{{#if: {{{durability|}}}|{{{durability}}}|}}}}
</td>
</td>
</tr>
</tr>
{{#if: {{{description|}}}|<tr><td>''{{{description}}}''</td></tr>}}
{{#if: {{{weight|}}}{{{basevalue|}}}|
<tr>
<tr>
<td>
<td>
'''UMD Difficulty:''' {{{umd|}}}<br>
<table class="table">
'''No UMD Check For:''' {{{noumdfor|}}}<br>
<tr>
{{#if: {{{minlevel|}}}|'''Minimum Level:''' {{{minlevel}}}<br>}}{{ItemBinding|{{{binding}}}}}<br>
<td class="col-sm-6 text-left">{{#if:{{{basevalue|}}}|Base Value: {{{basevalue}}}}}
'''Enchantments:'''
{{{enchantments|}}}{{ItemMaterialDR|{{{material}}}}}
{{ItemMaterial|{{{material}}}|{{#if: {{{hardness|}}}|{{{hardness}}} |}}|{{#if: {{{durability|}}}|{{{durability}}}|}}}}
<br>
<br>
'''Description:''' ''{{{description}}} ''
</td>
</td>
</tr>{{#if: {{{weight|}}}{{{basevalue|}}}|<tr><td><table class="item-table"><tr><td class="itembasevalue">{{#if:{{{basevalue|}}}|Base Value: {{{basevalue}}}}}</td><td class="itemweight">{{#if:{{{weight|}}}|{{{weight}}} lbs}}</td></tr></table></td></tr>}}
<td class="col-sm-6 text-right">{{#if:{{{weight|}}}|{{{weight}}} lbs}}</td>
</tr>
</table>
</table>
</td>
</td>
<td class="item-image-side">
</tr>
<table class="item-image-table background-color" >
}}
<tr>
<td class="extra-details">{{#if: {{{droplocation|}}} | '''Where To Find:'''&nbsp;{{WrapMultiLine|{{{droplocation}}}}}
<br>|[[Category:Items without a Drop Location]]}}{{#if: {{{details|}}} | '''Extra Details:'''&nbsp;
{{{details}}}<br>}}{{#if: {{{upgradeable|}}} | '''Upgradeable:'''&nbsp;
{{{upgradeable}}}<br>}}{{#if: {{{bug|}}} | '''Bugs:'''&nbsp;
{{{bug}}}<br>}}</td></tr>
{{#if: {{{replaced|}}} | <tr><td class="extra-details topborder">{{{replaced}}}</td></tr>}}
</table>
</table>
</td>
</div>
<div class="visible-xs-block hidden-sm hidden-md hidden-lg">
<hr>
</div>
<div class="col-sm-6">
<table class="table table-bordered table-striped table-condensed sortable">
{{#switch: {{lc:{{{type}}}}}
| wand =<tr style="background: rgb(0,0,0)">
<td>[[File:{{#if: {{{image|}}}|{{{image}}}|{{{name}}}}}.png|center|300px|]]</td>
</tr>
</tr>
</table>
|#default={{#if: {{{image|}}}|
{{#if: {{{update|}}} | [[Category:Update {{{update|}}} Loot]] | [[Category:Items without an Update]]}}
<tr style="background: rgb(0,0,0)">
{{#if: {{{minlevel|}}}|[[Category:Minimum Level {{{minlevel}}} Items]]|[[Category:Items with No Minimum Level]]}}
<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>}}
[[Category:Loot]]
{{#if: {{{replaced|}}} | <tr><td class="extra-details highlighted">{{{replaced}}}</td></tr>}}{{#if: {{{otherversions|}}} | <tr><td class="extra-details topborder">'''Related Items:'''
</includeonly>
{{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
|image={{#if: {{#dplvar:seoimage}}|{{#dplvar:seoimage}}}}
|description=Item Type: {{{type}}}
Min Level: {{{minlevel}}}
UMD: {{#if: {{{umd|}}}|{{{umd}}}|None}}
No UMD: {{#if: {{{noumdfor|}}}|{{#replace:{{#replace:{{{noumdfor}}}|[|}}|]|}}|N/A}}{{#if: {{{material|}}}|
Material: {{{material}}}}}
Drop Location: {{#dplvar:seodroplocation}}
|site_name={{SITENAME}}
|published_time={{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY2}}
|theme-color=#FF0000
|keywords=Dungeons,and,Dragons,Online,DDO,{{#replace:{{{name}}}| |,}},{{#replace:{{{type|}}}| |,}},{{#replace:{{#dplvar:seodroplocation}}| |,}}
}}{{#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.