Difference between revisions of "Template:Item"

From Alter Aeon Wiki
m
m
Line 6: Line 6:
     --><div class="item__type"  tabindex="0"><!--
     --><div class="item__type"  tabindex="0"><!--
       --><div class="item__type__desc"><!--
       --><div class="item__type__desc"><!--
         --><span class="item__type__rarity">{{#if:{{#pos:{{{flags}}}|RELIC|0}}|Relic}}{{#if:{{#pos:{{{flags}}}|EPIC|0}}|Epic}}{{#if:{{#pos:{{{flags}}}|RARE|0}}|Rare}}{{#if:{{#pos:{{{flags}}}|ARTIFACT|0}}|Artifact}}{{#if:{{#pos:{{{flags}}}|REMARKABLE|0}}|Remarkable}}{{#if:{{#pos:{{{flags}}}|EXCEPTIONAL|0}}|Exceptional}}{{#if:{{#pos:{{{flags}}}|UNIQUE|0}}|Unique}}{{#if:{{#pos:{{{flags}}}|ANTIQUE|0}}|Antique}}</span>
         --><span class="item__type__rarity">{{#if:{{#pos:{{{flags}}}|EPIC|0}}|Epic}} {{#if:{{#pos:{{{flags}}}|RARE|0}}|Rare}} {{#if:{{#pos:{{{flags}}}|ARTIFACT|0}}|Artifact}} {{#if:{{#pos:{{{flags}}}|REMARKABLE|0}}|Remarkable}} {{#if:{{#pos:{{{flags}}}|EXCEPTIONAL|0}}|Exceptional}} {{#if:{{#pos:{{{flags}}}|ANTIQUE|0}}|Antique}}</span>
       <span class="item__type__typename">{{lc:{{{type}}}}}</span><!--
       <span class="item__type__typename">{{lc:{{{type}}}}}</span><!--
       --></div><!--
       --></div><!--

Revision as of 04:40, 26 February 2021

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