Template:Magic Caster: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk
No edit summary
imported>Arkalor
(Rare number)
 
(19 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>[[Category:Weapon]][[Category:Caster]]
<includeonly><div style="overflow:auto">
{|border=0 cellpadding=0 cellspacing=3 style=width:100%
<div class="item tooltip-content">
|-valign=top
<div id="item_header">
|
<div>{{{Name|Name}}}</div>
{|border=1 cellspacing=0 cellpadding=5 width=300 style=background:#F0F0F0
<div>[[File:{{{Icon Image}}}]]</div>
!colspan=2|{{{Name|Name}}}
</div>
|-
<ul>
|align=center| Value: {{{Value|??}}}<br>{{#ifeq:{{lc:{{{Burden|??}}}}} | unknown | Unknown Burden | {{{Burden|??}}} Burden Units }}
<li>Value: {{{Value|??}}}
|width=40 align=center| [[Image:{{{Icon Image|Icon.png}}}]]
<li class="bottomspace">Burden: {{{Burden|??}}}
|-
{{#if:{{{Description Two|}}}|<li class="topbottomspace">{{{Description Two}}}}}
|colspan=2|
{{#if:{{{Bonus to Defense|}}}|<li>Bonus to Melee Defense: +{{{Bonus to Defense|}}}% {{#if:{{{Buffed Defense|}}}|<span>(+{{{Buffed Defense|}}}%)</span>}}}}
{{#ifeq:{{{Description|}}}|||{{{Description}}}<br><br>}}{{#ifeq:{{{Special Properties|}}}|||[[Special Properties]]: {{{Special Properties}}}<br><br>}}{{#ifeq:{{{Bonus to Defense|}}}|||Bonus to Melee Defense: +{{{Bonus to Defense}}}%}}{{#ifeq:{{{Buffed Defense|}}}|||<b><font color=green> (+{{{Buffed Defense}}}%)</font></b>}}{{#ifeq:{{{Bonus to Defense|}}}|||<br>}}{{#ifeq:{{{Bonus to Missile|}}}|||Bonus to Missile Defense: +{{{Bonus to Missile}}}%<br>}}{{#ifeq:{{{Bonus to Magic|}}}|||Bonus to Magic Defense: +{{{Bonus to Magic}}}%<br>}}<br>{{#ifeq:{{{Bonus to Mana Conversion|}}}|||Bonus to Mana Conversion: +{{{Bonus to Mana Conversion}}}%}}{{#ifeq:{{{Buffed Mana Conversion|}}}|||<b><font color=green> (+{{{Buffed Mana Conversion}}}%)</font></b>}}{{#ifeq:{{{Bonus to Mana Conversion|}}}|||<br><br>}}{{#ifeq:{{{Damage vs. Monsters|}}}|||Damage bonus for {{{Element|??}}} war spells:<br>}}{{#ifeq:{{{Damage vs. Monsters|}}}|||<font color=#F0F0F0> </font>vs. Monsters: +{{{Damage vs. Monsters}}}%}}{{#ifeq:{{{Buffed Damage vs. Monsters}}}|||<b><font color=green> (+{{{Buffed Damage vs. Monsters|}}}%)</font></b><br>}}{{#ifeq:{{{Damage vs. Players|}}}|||vs. Players: +{{{Damage vs. Players}}}%}}{{#ifeq:{{{Buffed Damage vs. Players}}}|||<b><font color=green> (+{{{Buffed Damage vs. Players|}}}%)</font></b><br><br>}}{{#ifeq:{{{Bonus to Attack|}}}|||Bonus to Attack Skill: +{{{Bonus to Attack}}}%}}{{#ifeq:{{{Buffed Attack|}}}|||<b><font color=green> ({{{Buffed Attack|}}})%</font></b>}}{{#ifeq:{{{Bonus to Attack|}}}|||<br>}}{{#ifeq:{{lc:{{{Player Attuned|}}}}}|true|This item can only be wielded by <Player>.<br><br>|}}{{#ifeq:{{{Level Req|}}}|||You must be at least level {{{Level Req}}} to wield this item.<br>}}{{#ifeq:{{{Base Req|}}}|||Your base {{{Magic School}}} must be at least {{{Base Req}}} to wield this item.<br>}}{{#ifeq:{{{Buffed Req|}}}|||Your {{{Magic School}}} must be at least {{{Buffed Req}}} to wield this item.<br>}}{{#ifeq:{{{Level Req|}}}||{{#ifeq:{{{Base Req|}}}||{{#ifeq:{{{Buffed Req|}}}|||<br>}}|<br>}}|<br>}}{{#ifeq:{{{Spells|}}}|||Casts the following spells: {{{Spells}}}<br><br>}}{{#ifeq:{{{Activation Reqs|}}}|||Activation Requirements: {{{Activation Reqs}}}<br><br>}}{{#ifeq:{{{Spellcraft|}}}|||Spellcraft: {{{Spellcraft}}}<br>}}{{#ifeq:{{{Mana|}}}|||Mana: {{{Mana}}}<br>}}{{#ifeq:{{{Mana|}}}|||Mana Cost: 1 point per {{{Mana Cost|??}}} seconds.<br>}}
{{#if:{{{Bonus to Missile|}}}|<li>Bonus to Missile Defense: +{{{Bonus to Missile|}}}%}}
|-
{{#if:{{{Bonus to Magic|}}}|<li>Bonus to Magic Defense: +{{{Bonus to Magic|}}}%}}
|}
{{#if:{{{Bonus to Attack|}}}|<li>Bonus to Attack Skill: +{{{Bonus to Attack|}}}% {{#if:{{{Buffed Attack|}}}|<span>({{{Buffed Attack|}}})%</span>}}}}
|width=20|
{{#if:{{{Spells|}}}|<li class="topbottomspace">Spells: {{{Spells}}}}}
|
{{#if:{{{Special Properties|}}}|<li class="bottomspace">Properties: {{{Special Properties}}}}}
{{#ifeq:{{{Live Image|Live.jpg}}}
{{#if:{{{Trained Req|}}}|<li>Wield requires trained {{{Trained Req|}}}}}
| Live.jpg
{{#if:{{{Specialized Req|}}}|<li>Wield requires specialized {{{Specialized Req|}}}}}
|
{{#if:{{{Special Req|}}}|<li>{{{Special Req|}}}}}
| {{#ifeq:{{{Live Image|}}}
{{#if:{{{Level Req|}}}|<li>Wield requires level {{{Level Req|}}}}}
    |  
{{#if:{{{Base Req|}}}|<li>Wield requires base {{{Magic School}}} {{{Base Req|}}}}}
    |  
{{#if:{{{Buffed Req|}}}|<li>Wield requires {{{Magic School}}} {{{Buffed Req|}}}}}
    | [[Image:{{{Live Image|}}}{{!}}frame{{!}}{{{Live Image Caption}}}|right]]
{{#if:{{{Activation Reqs|}}}|<li>Activation requires {{{Activation Reqs|}}}}}
  }}
{{#if:{{{Bonus to Mana Conversion|}}}|<li>Bonus to Mana Conversion: +{{{Bonus to Mana Conversion|}}}% {{#if:{{{Buffed Mana Conversion|}}}|<span>(+{{{Buffed Mana Conversion|}}}%)</span>}}}}
}}
{{#if:{{{Damage vs. Monsters|}}}|<li>Damage bonus for {{{Element|??}}} war spells:}}
|}</includeonly><noinclude>
{{#if:{{{Damage vs. Monsters|}}}|<li class="dmgbonus">vs. Monsters: +{{{Damage vs. Monsters}}}% {{#if:{{{Buffed Damage vs. Monsters|}}}|<span>(+{{{Buffed Damage vs. Monsters|}}}%)</span>}}}}
{{Related|Wiki Templates|Magic Caster Stat Template}}
{{#if:{{{Damage vs. Players|}}}|<li class="dmgbonus">vs. Players: +{{{Damage vs. Players|}}}% {{#if:{{{Buffed Damage vs. Players|}}}|<span>(+{{{Buffed Damage vs. Players|}}}%)</span>}}}}
== Syntax ==
{{#if:{{{Cannot Be Sold|}}}|<li class="bottomspace">This item cannot be sold.}}
<pre>
{{#if:{{{Rare Number|}}}|<li>Rare #{{{Rare Number}}}}}
{{Magic Caster
{{#if:{{{Spellcraft|}}}|<li>Spellcraft: {{{Spellcraft}}}}}
|                       Name =
{{#if:{{{Mana|}}}|<li>Mana: {{{Mana}}}}}
|                     Value =
{{#if:{{{Mana Cost|}}}|<li>Mana Cost: 1 point per {{{Mana Cost|}}} seconds.}}
|                     Burden =
{{#if:{{{Description|}}}|<li class="topbottomspace">{{{Description}}}}}
|                 Icon Image =
{{#if:{{{Inscription|}}}|<li class="inscription">{{{Inscription}}}}}</ul></div>
|                Live Image =
<div style="float:right">{{#ifeq:{{{Live Image|}}}|||{{#ifeq:{{{Live Image|}}}|Live.jpg||[[File:{{{Live Image|}}}{{!}}thumb{{!}}{{{Live Image Caption}}}]]}}}}</div></div>
|        Live Image Caption =
<!-- Categories -->
|               Description =
{{#if:{{{nocat|}}} | | {{#ifeq:{{{Live Image|}}} | Live.jpg | [[Category:Images Needed (Weapons)]] | {{#ifeq:{{{Live Image|}}} | | [[Category:Images Needed (Weapons)]] |}}}}
|         Special Properties =
[[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>
|           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 =
|                    Spells =
|            Activation Reqs =
|                Spellcraft =
|                      Mana =
|                  Mana Cost =
}}
</pre>
 
== Usage ==
This template is one component of the page template [[Magic Caster Stat Template]], full details and an example can be found there.
 
</noinclude>

Latest revision as of 12:22, 27 September 2015

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.