>Arkalor's Bot
No edit summary
(replaced br tags with li tags and css for spacing, removed duplicate tooltip code)
Line 1: Line 1:
<includeonly><div style="overflow:auto">
<includeonly><div style="overflow:auto">
<div class="item">
<div class="item tooltip-content">
<div id="itemheader">{{{Name|Name}}}<div style="float:right;">[[File:{{{Icon Image|}}}]]</div></div>
<div id="item_header">
Value: {{{Value|??}}}<br><!--
<div>{{{Name|Name}}}</div>
-->{{#ifeq:{{lc:{{{Burden|}}}}}|unknown|Unknown Burden|Burden: {{{Burden|??}}}<br><br>}}<!--
<div>[[File:{{{Icon Image}}}]]</div>
-->{{#if:{{{Bonus to Defense|}}}|Bonus to Melee Defense: +{{{Bonus to Defense|}}}% {{#if:{{{Buffed Defense|}}}|<font color=green> (+{{{Buffed Defense|}}}%)</font>}}<br>}}<!--
</div>
-->{{#if:{{{Bonus to Missile|}}}|Bonus to Missile Defense: +{{{Bonus to Missile|}}}%<br>}}<!--
<li>Value: {{{Value|??}}}
-->{{#if:{{{Bonus to Magic|}}}|Bonus to Magic Defense: +{{{Bonus to Magic|}}}%<br>}}<!--
<li class="bottomspace">Burden: {{{Burden|??}}}
-->{{#if:{{{Bonus to Attack|}}}|Bonus to Attack Skill: +{{{Bonus to Attack|}}}% {{#if:{{{Buffed Attack|}}}|<font color=green> ({{{Buffed Attack|}}})%</font>}}<br>}}<!--
{{#if:{{{Bonus to Defense|}}}|<li>Bonus to Melee Defense: +{{{Bonus to Defense|}}}% {{#if:{{{Buffed Defense|}}}|<span>(+{{{Buffed Defense|}}}%)</span>}}}}
-->{{#if:{{{Spells|}}}|<br>Spells: {{{Spells|}}}<br>}}<!--
{{#if:{{{Bonus to Missile|}}}|<li>Bonus to Missile Defense: +{{{Bonus to Missile|}}}%}}
-->{{#if:{{{Special Properties|}}}|<br>Properties: {{{Special Properties|}}}<br><br>}}<!--
{{#if:{{{Bonus to Magic|}}}|<li>Bonus to Magic Defense: +{{{Bonus to Magic|}}}%}}
-->{{#if:{{{Trained Req|}}}|Wield requires trained {{{Trained Req|}}}<br>}}<!--
{{#if:{{{Bonus to Attack|}}}|<li>Bonus to Attack Skill: +{{{Bonus to Attack|}}}% {{#if:{{{Buffed Attack|}}}|<span>({{{Buffed Attack|}}})%</span>}}}}
-->{{#if:{{{Specialized Req|}}}|Wield requires specialized {{{Specialized Req|}}}<br>}}<!--
{{#if:{{{Spells|}}}|<li class="topbottomspace">Spells: {{{Spells}}}}}
-->{{#if:{{{Special Req|}}}|{{{Special Req|}}}<br>}}<!--
{{#if:{{{Special Properties|}}}|<li class="bottomspace">Properties: {{{Special Properties}}}}}
-->{{#if:{{{Level Req|}}}|Wield requires level {{{Level Req|}}}<br>}}<!--
{{#if:{{{Trained Req|}}}|<li>Wield requires trained {{{Trained Req|}}}}}
-->{{#if:{{{Base Req|}}}|Wield requires base {{{Magic School}}} {{{Base Req|}}}<br>}}<!--
{{#if:{{{Specialized Req|}}}|<li>Wield requires specialized {{{Specialized Req|}}}}}
-->{{#if:{{{Buffed Req|}}}|Wield requires {{{Magic School}}} {{{Buffed Req|}}}<br>}}<!--
{{#if:{{{Special Req|}}}|<li>{{{Special Req|}}}}}
-->{{#if:{{{Activation Reqs|}}}|Activation requires {{{Activation Reqs|}}}<br>}}<!--
{{#if:{{{Level Req|}}}|<li>Wield requires level {{{Level Req|}}}}}
-->{{#if:{{{Bonus to Mana Conversion|}}}|<br>Bonus to Mana Conversion: +{{{Bonus to Mana Conversion|}}}% {{#if:{{{Buffed Mana Conversion|}}}|<font color=green> (+{{{Buffed Mana Conversion|}}}%)</font>}}<br>}}<!--
{{#if:{{{Base Req|}}}|<li>Wield requires base {{{Magic School}}} {{{Base Req|}}}}}
-->{{#if:{{{Damage vs. Monsters|}}}|<br>Damage bonus for {{{Element|??}}} war spells:<br>}}<!--
{{#if:{{{Buffed Req|}}}|<li>Wield requires {{{Magic School}}} {{{Buffed Req|}}}}}
-->{{#if:{{{Damage vs. Monsters|}}}|<font color=#F0F0F0>_</font>vs. Monsters: +{{{Damage vs. Monsters}}}% {{#if:{{{Buffed Damage vs. Monsters|}}}|<font color=green> (+{{{Buffed Damage vs. Monsters|}}}%)</font>}}<br>}}<!--
{{#if:{{{Activation Reqs|}}}|<li>Activation requires {{{Activation Reqs|}}}}}
-->{{#if:{{{Damage vs. Players|}}}|<font color=#F0F0F0>_</font>vs. Players: +{{{Damage vs. Players|}}}% {{#if:{{{Buffed Damage vs. Players|}}}|<font color=green> (+{{{Buffed Damage vs. Players|}}}%)</font>}}<br>}}<!--
{{#if:{{{Bonus to Mana Conversion|}}}|<li>Bonus to Mana Conversion: +{{{Bonus to Mana Conversion|}}}% {{#if:{{{Buffed Mana Conversion|}}}|<span>(+{{{Buffed Mana Conversion|}}}%)</span>}}}}
-->{{#ifeq:{{lc:{{{Cannot Be Sold|False}}} }}|true|This item cannot be sold.<br>|}}<!--
{{#if:{{{Damage vs. Monsters|}}}|<li>Damage bonus for {{{Element|??}}} war spells:}}
-->{{#if:{{{Spellcraft|}}}|Spellcraft: {{{Spellcraft|}}}<br>}}<!--
{{#if:{{{Damage vs. Monsters|}}}|<li class="dmgbonus">vs. Monsters: +{{{Damage vs. Monsters}}}% {{#if:{{{Buffed Damage vs. Monsters|}}}|<span>(+{{{Buffed Damage vs. Monsters|}}}%)</span>}}}}
-->{{#if:{{{Mana|}}}|Mana: {{{Mana|}}}<br>}}<!--
{{#if:{{{Damage vs. Players|}}}|<li class="dmgbonus">vs. Players: +{{{Damage vs. Players|}}}% {{#if:{{{Buffed Damage vs. Players|}}}|<span>(+{{{Buffed Damage vs. Players|}}}%)</span>}}}}
-->{{#if:{{{Mana|}}}|Mana Cost: 1 point per {{#if:{{{Mana Cost|}}}|{{{Mana Cost|}}}}} seconds.<br><br>}}<!--
{{#if:{{{Cannot Be Sold|}}}|<li class="bottomspace">This item cannot be sold.}}
-->{{#if:{{{Description|}}}|{{{Description|}}}<br><br>}}<!--
{{#if:{{{Spellcraft|}}}|<li>Spellcraft: {{{Spellcraft}}}}}
-->{{#if:{{{Inscription|}}}|<br><hr style="background#F0F0F0;"/>{{{Inscription|}}}<br>}}</div>
{{#if:{{{Mana|}}}|<li>Mana: {{{Mana}}}}}
<div style="float:right">{{#if:{{{Live Image|}}}|[[File:{{{Live Image|}}}{{!}}thumb{{!}}{{{Live Image Caption|}}}]]|[[File:Live.jpg]]}}</div></div>
{{#if:{{{Mana Cost|}}}|<li>Mana Cost: 1 point per {{{Mana Cost|}}} seconds.}}
{{#if:{{{Description Two|}}}|<li class="topbottomspace">{{{Description Two}}}}}
{{#if:{{{Inscription|}}}|<li class="inscription">{{{Inscription}}}}}</div>
<div style="float:right">{{#ifeq:{{{Live Image|}}}|||{{#ifeq:{{{Live Image|}}}|Live.jpg||[[File:{{{Live Image|}}}{{!}}thumb{{!}}{{{Live Image Caption}}}]]}}}}</div></div>
<!-- Categories -->
<!-- Categories -->
{{#ifeq:{{lc:{{{Retired Weapon|}}}}} | yes | [[Category:Retired Magic Casters]] | <!--
{{#ifeq:{{lc:{{{Retired Weapon|}}}}} | yes | [[Category:Retired Magic Casters]] |  
-->{{#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 Caster Index]]{{#ifeq:{{{Base Req|}}}||{{#ifeq:{{{Magic School|}}}||[[Category:Magic Casters: No Wield Requirement]]|[[Category:{{{Magic School}}}: No Wield Requirement]]}}|[[Category:{{{Magic School}}}: Wield {{{Base Req}}}]]}}}}<!--
[[Category:Magic Caster Index]]{{#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>
 
--------------------------------------------------
ITEM TOOLTIP
--------------------------------------------------
 
--><div class="item tooltip-content" style="display:none">
<p>{{{Name|Name}}}</p>Value: {{{Value|??}}}<br>{{#ifeq:{{lc:{{{Burden|}}}}}|unknown|Unknown Burden|Burden: {{{Burden|??}}}<br><br>}}{{#if:{{{Bonus to Defense|}}}|Bonus to Melee Defense: +{{{Bonus to Defense|}}}% {{#if:{{{Buffed Defense|}}}|<font color=green> (+{{{Buffed Defense|}}}%)</font>}}<br>}}{{#if:{{{Bonus to Missile|}}}|Bonus to Missile Defense: +{{{Bonus to Missile|}}}%<br>}}{{#if:{{{Bonus to Magic|}}}|Bonus to Magic Defense: +{{{Bonus to Magic|}}}%<br>}}{{#if:{{{Bonus to Attack|}}}|Bonus to Attack Skill: +{{{Bonus to Attack|}}}% {{#if:{{{Buffed Attack|}}}|<font color=green> ({{{Buffed Attack|}}})%</font>}}<br>}}{{#if:{{{Spells|}}}|<br>Spells: {{{Spells|}}}<br>}}{{#if:{{{Special Properties|}}}|<br>Properties: {{{Special Properties|}}}<br><br>}}{{#if:{{{Trained Req|}}}|Wield requires trained {{{Trained Req|}}}<br>}}{{#if:{{{Specialized Req|}}}|Wield requires specialized {{{Specialized Req|}}}<br>}}{{#if:{{{Special Req|}}}|{{{Special Req|}}}<br>}}{{#if:{{{Level Req|}}}|Wield requires level {{{Level Req|}}}<br>}}{{#if:{{{Base Req|}}}|Wield requires base {{{Magic School}}} {{{Base Req|}}}<br>}}{{#if:{{{Buffed Req|}}}|Wield requires {{{Magic School}}} {{{Buffed Req|}}}<br>}}{{#if:{{{Activation Reqs|}}}|Activation requires {{{Activation Reqs|}}}<br>}}{{#if:{{{Bonus to Mana Conversion|}}}|<br>Bonus to Mana Conversion: +{{{Bonus to Mana Conversion|}}}% {{#if:{{{Buffed Mana Conversion|}}}|<font color=green> (+{{{Buffed Mana Conversion|}}}%)</font>}}<br>}}{{#if:{{{Damage vs. Monsters|}}}|<br>Damage bonus for {{{Element|??}}} war spells:<br>}}{{#if:{{{Damage vs. Monsters|}}}|<font color=#F0F0F0>_</font>vs. Monsters: +{{{Damage vs. Monsters}}}% {{#if:{{{Buffed Damage vs. Monsters|}}}|<font color=green> (+{{{Buffed Damage vs. Monsters|}}}%)</font>}}<br>}}{{#if:{{{Damage vs. Players|}}}|<font color=#F0F0F0>_</font>vs. Players: +{{{Damage vs. Players|}}}% {{#if:{{{Buffed Damage vs. Players|}}}|<font color=green> (+{{{Buffed Damage vs. Players|}}}%)</font>}}<br>}}{{#ifeq:{{lc:{{{Cannot Be Sold|False}}} }}|true|This item cannot be sold.<br>|}}{{#if:{{{Spellcraft|}}}|Spellcraft: {{{Spellcraft|}}}<br>}}{{#if:{{{Mana|}}}|Mana: {{{Mana|}}}<br>}}{{#if:{{{Mana|}}}|Mana Cost: 1 point per {{#if:{{{Mana Cost|}}}|{{{Mana Cost|}}}}} seconds.<br><br>}}{{#if:{{{Description|}}}|{{{Description|}}}<br><br>}}{{#if:{{{Inscription|}}}|<br><hr style="background#F0F0F0;"/>{{{Inscription|}}}<br>}}</div><!--
 
--></includeonly><noinclude>{{Documentation}}[[Category:Wiki Template]]</noinclude>

Revision as of 01:04, 15 November 2014

Template Documentation: Caster| |_}}/Doc?action=edit Edit Documentation

Related topics: Wiki Templates, Magic Caster Template

Syntax

{{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

This template is one component of the page template Magic Caster Stat Template, full details and an example can be found there.