Difference between revisions of "Template:SpellCaster"

From DDO Compendium
(testing)
m (gah, forgot indenting is bad on MW)
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="container">
<div class="container">
        <div class="row">
<div class="row">
            <div class="col-md-6">
<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}}}]]
'''{{{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:
<td class="col-md-6 text-left">{{#if:{{{basevalue|}}}|Base Value:
                                        {{{basevalue}}}}}
{{{basevalue}}}}}
                                    </td>
</td>
                                    <td class="col-md-6 text-right">{{#if:{{{weight|}}}|{{{weight}}} lbs}}</td>
<td class="col-md-6 text-right">{{#if:{{{weight|}}}|{{{weight}}} lbs}}</td>
                                </tr>
</tr>
                            </table>
</table>
                        </td>
</td>
                    </tr>
</tr>
                    }}
}}
                </table>
</table>
            </div>
</div>
            <div class="col-md-6 h-100">
<div class="col-md-6 h-100">
                <table class="item-image-table background-color">
<table class="item-image-table background-color">
                    <tr>
<tr>
                        <td class="extra-details">
<td class="extra-details">
                            {{#if: {{{droplocation|}}} | '''Where To
{{#if: {{{droplocation|}}} | '''Where To
                            Find:'''&nbsp;{{WrapMultiLine|{{{droplocation}}}}}<br>|[[Category:Items
Find:'''&nbsp;{{WrapMultiLine|{{{droplocation}}}}}<br>|[[Category:Items
                            without
without
                            a Drop Location]]}}
a Drop Location]]}}
                            {{#if: {{{details|}}} | '''Extra Details:'''&nbsp;{{{details}}}<br>}}
{{#if: {{{details|}}} | '''Extra Details:'''&nbsp;{{{details}}}<br>}}
                            {{#if: {{{upgradeable|}}} | '''Upgradeable:'''&nbsp;{{{upgradeable}}}[[Category:Upgradable
{{#if: {{{upgradeable|}}} | '''Upgradeable:'''&nbsp;{{{upgradeable}}}[[Category:Upgradable
                            Items]]<br>}}
Items]]<br>}}
                            {{#if: {{{bug|}}} | '''Bugs:'''&nbsp;{{{bug}}}[[Category:Items with a Known Bug]]}}
{{#if: {{{bug|}}} | '''Bugs:'''&nbsp;{{{bug}}}[[Category:Items with a Known Bug]]}}
                        </td>
</td>
                    </tr>
</tr>
                    {{#if: {{{replaced|}}} |
{{#if: {{{replaced|}}} |
                    <tr>
<tr>
                        <td class="extra-details topborder">{{{replaced}}}</td>
<td class="extra-details topborder">{{{replaced}}}</td>
                    </tr>
</tr>
                    }}
}}
                </table>
</table>
            </div>
</div>
        </div>
</div>
    </div>
</div>
    {{#if: {{{update|}}} | [[Category:Update {{{update|}}} Loot]] | [[Category:Items without an Update]]}}
{{#if: {{{update|}}} | [[Category:Update {{{update|}}} Loot]] | [[Category:Items without an Update]]}}
    [[Category:Loot]]
[[Category:Loot]]
</includeonly>
</includeonly>

Revision as of 23:19, 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
nameThe name of the caster.
typeEnter the type of item.
minlevelEnter the minimum level required for the wand, or leave blank if there is none.
Possible Values:
  • Wand
  • Scroll
  • Potion
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.

Template

Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.