Difference between revisions of "Template:Item"

From Alter Aeon Wiki
Line 2: Line 2:
Name --><li class="itemname">[[{{{name}}} (Item)|{{{name}}}]]</li><!--
Name --><li class="itemname">[[{{{name}}} (Item)|{{{name}}}]]</li><!--
Quality Flags --><li>{{#if:{{#pos:{{{flags}}}|RELIC|0}}|<span class="relic">(Relic) </span>}}{{#if:{{#pos:{{{flags}}}|EPIC|0}}|<span class="epic">(Epic) </span>}}{{#if:{{#pos:{{{flags}}}|RARE|0}}|<span class="rare">(Rare) </span>}}{{#if:{{#pos:{{{flags}}}|ARTIFACT|0}}|<span class="artifact">(Artifact) </span>}}{{#if:{{#pos:{{{flags}}}|REMARKABLE|0}}|<span class="remarkable">(Remarkable) </span>}}{{#if:{{#pos:{{{flags}}}|EXCEPTIONAL|0}}|<span class="exceptional">(Exceptional) </span>}}{{#if:{{#pos:{{{flags}}}|UNIQUE|0}}|<span class="unique">(Unique) </span>}}{{#if:{{#pos:{{{flags}}}|ANTIQUE|0}}|<span class="antique">(Antique) </span>}}</li><!--
Quality Flags --><li>{{#if:{{#pos:{{{flags}}}|RELIC|0}}|<span class="relic">(Relic) </span>}}{{#if:{{#pos:{{{flags}}}|EPIC|0}}|<span class="epic">(Epic) </span>}}{{#if:{{#pos:{{{flags}}}|RARE|0}}|<span class="rare">(Rare) </span>}}{{#if:{{#pos:{{{flags}}}|ARTIFACT|0}}|<span class="artifact">(Artifact) </span>}}{{#if:{{#pos:{{{flags}}}|REMARKABLE|0}}|<span class="remarkable">(Remarkable) </span>}}{{#if:{{#pos:{{{flags}}}|EXCEPTIONAL|0}}|<span class="exceptional">(Exceptional) </span>}}{{#if:{{#pos:{{{flags}}}|UNIQUE|0}}|<span class="unique">(Unique) </span>}}{{#if:{{#pos:{{{flags}}}|ANTIQUE|0}}|<span class="antique">(Antique) </span>}}</li><!--
Binding -->{{#if:{{{binds|}}}|{{#ifeq:{{{binds}}}|player|<span class="bind-player">(Binds to Player)M</span>}}}}<!--
Total Levels -->{{#if:{{{totlev|}}}|<li style="float: right; margin-top:0px;">{{ItemAttrLabel|Total Level}} {{{totlev}}}</li>}}<!--
Total Levels -->{{#if:{{{totlev|}}}|<li style="float: right; margin-top:0px;">{{ItemAttrLabel|Total Level}} {{{totlev}}}</li>}}<!--
Level -->{{#if:{{{level|}}}|<li>{{ItemAttrLabel|Level}} {{{level}}}</li>}}<!--
Level -->{{#if:{{{level|}}}|<li>{{ItemAttrLabel|Level}} {{{level}}}</li>}}<!--

Revision as of 08:23, 31 December 2015

{{Item
 |name=Sword of Foo
 |totlev=3
 |level=2
 |keywords=foo sword
 |flags=ANTI_GOOD WARRIOR RELIC
 |type=WEAPON
 |composition=COPPER BASED
 |dmg=3 to 21
 |dtype=fire slash
 |strreq=16
 |affects={{NewItemAffect|t=hitroll|v=2}}{{NewItemAffect|t=damroll|v=3}}{{NewItemAffect|t=saving_cold|v=10%}}