Difference between revisions of "Template:SpellCaster"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(102 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
<pre> | <pre> | ||
{{Template: | {{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 = | |name = SpellCaster | ||
|description = This template is used to render information about a wand. Example of the Template in Use: | |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 | ||
|parameter1name = name | |parameter1name = name | ||
|parameter1description = The name of the | |parameter1description = The name of the caster. | ||
|parameter2name = type | |parameter2name = type | ||
|parameter2description = Enter the type of item | |parameter2description = Enter the type of item. | ||
|parameter3name = minlevel | |parameter2values= | ||
* Wand | |||
* Scroll | |||
* Potion | |||
|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 41: | 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 49: | 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]]. | |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. | |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 63: | 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. | |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. | |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. | |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: | |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> | ||
< | <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"> | ||
< | |||
<table class=" | |||
<tr> | <tr> | ||
<td> | <td> | ||
<table class=" | <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 | <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> | ||
< | </tr>{{#if: {{{enchantments|}}}| | ||
<tr> | |||
<td>'''Enchantments:''' | |||
{{{enchantments|}}} | |||
{{ItemMaterialDR|{{{material|}}}}} | |||
</td> | </td> | ||
</tr> | </tr>}}{{#if: {{{emptyaugments|}}}|<tr><td>{{{emptyaugments}}}</td></tr>}} | ||
< | <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> | ||
<table class="table"> | |||
<tr> | |||
<td class="col-sm-6 text-left">{{#if:{{{basevalue|}}}|Base Value: {{{basevalue}}}}} | |||
</td> | </td> | ||
<td class="col-sm-6 text-right">{{#if:{{{weight|}}}|{{{weight}}} lbs}}</td> | |||
</tr> | |||
</table> | </table> | ||
</td> | </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> | ||
< | |#default={{#if: {{{image|}}}| | ||
{{#if: {{{ | <tr style="background: rgb(0,0,0)"> | ||
{{#if: {{{ | <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>}} | ||
[[Category: | {{#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 | |
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.