Template:Magic Caster: Difference between revisions
From Drunkapedia
imported>Tlosk No edit summary |
imported>Arkalor (Rare number) |
||
(9 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly><div style="overflow:auto"> | ||
<div class="item tooltip-content"> | |||
<div id="item_header"> | |||
<div>{{{Name|Name}}}</div> | |||
<div>[[File:{{{Icon Image}}}]]</div> | |||
</div> | |||
<ul> | |||
<li>Value: {{{Value|??}}} | |||
<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 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>}}}} | ||
{{#if:{{{Spells|}}}|<li class="topbottomspace">Spells: {{{Spells}}}}} | |||
{{#if:{{{Special Properties|}}}|<li class="bottomspace">Properties: {{{Special Properties}}}}} | |||
{{#if:{{{Trained Req|}}}|<li>Wield requires trained {{{Trained Req|}}}}} | |||
{{#if:{{{Specialized Req|}}}|<li>Wield requires specialized {{{Specialized Req|}}}}} | |||
{{#if:{{{Special Req|}}}|<li>{{{Special Req|}}}}} | |||
{{#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|}}}}} | |||
{{#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:}} | |||
{{#if:{{{Damage vs. Monsters|}}}|<li class="dmgbonus">vs. Monsters: +{{{Damage vs. Monsters}}}% {{#if:{{{Buffed Damage vs. Monsters|}}}|<span>(+{{{Buffed Damage vs. Monsters|}}}%)</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:{{{Rare Number|}}}|<li>Rare #{{{Rare Number}}}}} | |||
{{#if:{{{Spellcraft|}}}|<li>Spellcraft: {{{Spellcraft}}}}} | |||
{{#if:{{{Mana|}}}|<li>Mana: {{{Mana}}}}} | |||
{{#if:{{{Mana Cost|}}}|<li>Mana Cost: 1 point per {{{Mana Cost|}}} seconds.}} | |||
{{#if:{{{Description|}}}|<li class="topbottomspace">{{{Description}}}}} | |||
{{#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> | |||
<!-- Categories --> | |||
{{#if:{{{nocat|}}} | | {{#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> | |||
} | |||
</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.