Template:Magic Caster: Difference between revisions
(replaced br tags with li tags and css for spacing, removed duplicate tooltip code) |
(Rare number) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
<div>[[File:{{{Icon Image}}}]]</div> | <div>[[File:{{{Icon Image}}}]]</div> | ||
</div> | </div> | ||
<ul> | |||
<li>Value: {{{Value|??}}} | <li>Value: {{{Value|??}}} | ||
<li class="bottomspace">Burden: {{{Burden|??}}} | <li class="bottomspace">Burden: {{{Burden|??}}} | ||
{{#if:{{{Description Two|}}}|<li class="topbottomspace">{{{Description Two}}}}} | |||
{{#if:{{{Bonus to Defense|}}}|<li>Bonus to Melee Defense: +{{{Bonus to Defense|}}}% {{#if:{{{Buffed Defense|}}}|<span>(+{{{Buffed Defense|}}}%)</span>}}}} | {{#if:{{{Bonus to Defense|}}}|<li>Bonus to Melee Defense: +{{{Bonus to Defense|}}}% {{#if:{{{Buffed Defense|}}}|<span>(+{{{Buffed Defense|}}}%)</span>}}}} | ||
{{#if:{{{Bonus to Missile|}}}|<li>Bonus to Missile Defense: +{{{Bonus to Missile|}}}%}} | {{#if:{{{Bonus to Missile|}}}|<li>Bonus to Missile Defense: +{{{Bonus to Missile|}}}%}} | ||
Line 25: | Line 27: | ||
{{#if:{{{Damage vs. Players|}}}|<li class="dmgbonus">vs. Players: +{{{Damage vs. Players|}}}% {{#if:{{{Buffed Damage vs. Players|}}}|<span>(+{{{Buffed Damage vs. Players|}}}%)</span>}}}} | {{#if:{{{Damage vs. Players|}}}|<li class="dmgbonus">vs. Players: +{{{Damage vs. Players|}}}% {{#if:{{{Buffed Damage vs. Players|}}}|<span>(+{{{Buffed Damage vs. Players|}}}%)</span>}}}} | ||
{{#if:{{{Cannot Be Sold|}}}|<li class="bottomspace">This item cannot be sold.}} | {{#if:{{{Cannot Be Sold|}}}|<li class="bottomspace">This item cannot be sold.}} | ||
{{#if:{{{Rare Number|}}}|<li>Rare #{{{Rare Number}}}}} | |||
{{#if:{{{Spellcraft|}}}|<li>Spellcraft: {{{Spellcraft}}}}} | {{#if:{{{Spellcraft|}}}|<li>Spellcraft: {{{Spellcraft}}}}} | ||
{{#if:{{{Mana|}}}|<li>Mana: {{{Mana}}}}} | {{#if:{{{Mana|}}}|<li>Mana: {{{Mana}}}}} | ||
{{#if:{{{Mana Cost|}}}|<li>Mana Cost: 1 point per {{{Mana Cost|}}} seconds.}} | {{#if:{{{Mana Cost|}}}|<li>Mana Cost: 1 point per {{{Mana Cost|}}} seconds.}} | ||
{{#if:{{{Description | {{#if:{{{Description|}}}|<li class="topbottomspace">{{{Description}}}}} | ||
{{#if:{{{Inscription|}}}|<li class="inscription">{{{Inscription}}}}}</div> | {{#if:{{{Inscription|}}}|<li class="inscription">{{{Inscription}}}}}</ul></div> | ||
<div style="float:right">{{#ifeq:{{{Live Image|}}}|||{{#ifeq:{{{Live Image|}}}|Live.jpg||[[File:{{{Live Image|}}}{{!}}thumb{{!}}{{{Live Image Caption}}}]]}}}}</div></div> | <div style="float:right">{{#ifeq:{{{Live Image|}}}|||{{#ifeq:{{{Live Image|}}}|Live.jpg||[[File:{{{Live Image|}}}{{!}}thumb{{!}}{{{Live Image Caption}}}]]}}}}</div></div> | ||
<!-- Categories --> | <!-- Categories --> | ||
{{# | {{#if:{{{nocat|}}} | | {{#ifeq:{{{Live Image|}}} | Live.jpg | [[Category:Images Needed (Weapons)]] | {{#ifeq:{{{Live Image|}}} | | [[Category:Images Needed (Weapons)]] |}}}} | ||
{{#ifeq:{{{Live Image|}}} | Live.jpg | [[Category:Images Needed (Weapons)]] | {{#ifeq:{{{Live Image|}}} | | [[Category:Images Needed (Weapons)]] |}}}} | [[Category:Magic Casters]]{{#ifeq:{{{Base Req|}}}||{{#ifeq:{{{Magic School|}}}||[[Category:Magic Casters: No Wield Requirement]]|[[Category:{{{Magic School}}}: No Wield Requirement]]}}|[[Category:{{{Magic School}}}: Wield {{{Base Req}}}]]}}}}</includeonly><noinclude>{{Documentation}}[[Category:Wiki Templates]]</noinclude> | ||
[[Category:Magic |
Latest revision as of 18:22, 27 September 2015
Template Documentation: | Caster| |_}}/Doc?action=edit Edit Documentation |
---|
Related topics: Wiki Templates, Magic Caster Template
Syntax Edit
{{Magic Caster | Name = | Icon Image = Icon.png | Live Image = Live.jpg | Live Image Caption = | | Value = | Burden = | Description = | Special Properties = | | Bonus to Defense = | Buffed Defense = | Bonus to Missile = | Bonus to Magic = | Bonus to Mana Conversion = | Buffed Mana Conversion = | Element = | Damage vs. Monsters = | Buffed Damage vs. Monsters = | Damage vs. Players = | Buffed Damage vs. Players = | | Player Attuned = | Level Req = | Magic School = | Base Req = | Buffed Req = | Special Req = | | Spells = | Activation Reqs = | Spellcraft = | Mana = | Mana Cost = | Cannot Be Sold = False }}
Usage Edit
This template is one component of the page template Magic Caster Stat Template, full details and an example can be found there.