Difference between revisions of "Template:SpellCaster"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(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 | <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">{{ | <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:''' | <td>'''Enchantments:''' | ||
{{{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:''' {{WrapMultiLine|{{{droplocation}}}}}|[[Category:Items without a Drop Location]]}}</td></tr>{{#if: {{{details|}}} | <tr><td class="extra-details">'''Extra Details:''' {{WrapMultiLine|{{{details}}}}}</td></tr>}}{{#if: {{{upgradeable|}}} |<tr><td class="extra-details">'''Upgradeable:''' {{WrapMultiLine|{{{upgradeable}}}}}</td></tr>}}{{#if: {{{bug|}}} |<tr><td class="extra-details">'''Bugs:''' {{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:''' {{WrapMultiLine|{{{droplocation}}}}}|[[Category:Items without a Drop Location]]}}</td></tr>{{#if: {{{details|}}} | <tr><td class="extra-details">'''Extra Details:''' {{WrapMultiLine|{{{details}}}}}</td></tr>}}{{#if: {{{storedescription|}}} | <tr><td class="extra-details">'''Store Description:''' {{{storedescription}}}</td></tr>}}{{#if: {{{upgradeable|}}} |<tr><td class="extra-details">'''Upgradeable:''' {{WrapMultiLine|{{{upgradeable}}}}}</td></tr>}}{{#if: {{{upgradedfrom|}}} | <tr><td class="extra-details">'''Upgraded From:''' {{WrapMultiLine|{{{upgradedfrom}}}}}</td></tr>}}{{#if: {{{bug|}}} |<tr><td class="extra-details">'''Bugs:''' {{WrapMultiLine|{{{bug}}}}}</td></tr>}} | ||
{{#if: {{{replaced|}}} | <tr><td class="extra-details topborder">{{{ | {{#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={{# | |image={{#if: {{#dplvar:seoimage}}|{{#dplvar:seoimage}}}} | ||
|description=Item Type: {{{type}}} | |description=Item Type: {{{type}}} | ||
Min Level: {{{minlevel}}} | 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}} | |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:{{ | |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 | |
name | The name of the caster. |
type | Enter the type of item. Possible Values:
|
minlevel | Enter the minimum level required for the wand, or leave blank if there is none. |
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. |
image | Image file, use if the image doesn't change between heroic and epic types. Do not include extension. |
casterlevel | The caster level this works as |
cooldown | The amount of time needed before this can be used again. |
duration | The amount of time this lasts. Use Template:SpellDuration |
options | Use Template:ItemOptions, displays options about the item |
upgradedfrom | A list of items this was upgraded from. |
categories | Contains extra categories. Use Template:CategoryList |
otherversions | Other related version (i.e. heroic vs legendary or epic, feytwisted, etc) |
emptyaugments | Any Empty augments that this item has. Use Template:EmptyAugments |
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.