Difference between revisions of "Template:Item"

From Alter Aeon Wiki
m
m
Line 1: Line 1:
<includeonly><div role="article" class="item {{#if:{{#pos:{{{flags}}}|RELIC|0}}|item--relic }}{{#if:{{#pos:{{{flags}}}|EPIC|0}}|item--epic }}{{#if:{{#pos:{{{flags}}}|RARE|0}}|item--rare }}{{#if:{{#pos:{{{flags}}}|ARTIFACT|0}}|item--artifact }}{{#if:{{#pos:{{{flags}}}|REMARKABLE|0}}|item--remarkable }}{{#if:{{#pos:{{{flags}}}|EXCEPTIONAL|0}}|item--exceptional }}{{#if:{{#pos:{{{flags}}}|UNIQUE|0}}|item--unique }}{{#if:{{#pos:{{{flags}}}|ANTIQUE|0}}|item--antique }}"><!--
<includeonly><div role="article" class="item {{#if:{{#pos:{{{flags}}}|EPIC|0}}|item--epic }}{{#if:{{#pos:{{{flags}}}|RARE|0}}|item--rare }}{{#if:{{#pos:{{{flags}}}|ARTIFACT|0}}|item--artifact }}{{#if:{{#pos:{{{flags}}}|REMARKABLE|0}}|item--remarkable }}{{#if:{{#pos:{{{flags}}}|EXCEPTIONAL|0}}|item--exceptional }}{{#if:{{#pos:{{{flags}}}|UNIQUE|0}}|item--unique }}{{#if:{{#pos:{{{flags}}}|ANTIQUE|0}}|item--antique }}"><!--
     --><div class="item__header"><!--
     --><div class="item__header"><!--
       --><h3  tabindex="0" class="item__header__name">[[{{{name}}} (Item)|{{{name}}}]]</h3><!--
       --><h3  tabindex="0" class="item__header__name">[[{{{name}}} (Item)|{{{name}}}]]</h3><!--
Line 38: Line 38:
       -->{{#if:{{{totlev|}}}|<div class="item__requirements__level">Requires Total Levels {{{totlev}}}</div>}}<!--
       -->{{#if:{{{totlev|}}}|<div class="item__requirements__level">Requires Total Levels {{{totlev}}}</div>}}<!--
       -->{{#if:{{{level|}}}|<div class="item__requirements__level">Requires Level {{{level}}} {{#if:{{#pos:{{{flags}}}|WARRIOR|0}}|Warrior}} {{#if:{{#pos:{{{flags}}}|CLERIC|0}}|Cleric}} {{#if:{{#pos:{{{flags}}}|THIEF|0}}|Thief}} {{#if:{{#pos:{{{flags}}}|MAGE|0}}|Mage}} {{#if:{{#pos:{{{flags}}}|NECR|0}}|Necromancer}} {{#if:{{#pos:{{{flags}}}|DRUID|0}}|Druid}}</div>}}<!--
       -->{{#if:{{{level|}}}|<div class="item__requirements__level">Requires Level {{{level}}} {{#if:{{#pos:{{{flags}}}|WARRIOR|0}}|Warrior}} {{#if:{{#pos:{{{flags}}}|CLERIC|0}}|Cleric}} {{#if:{{#pos:{{{flags}}}|THIEF|0}}|Thief}} {{#if:{{#pos:{{{flags}}}|MAGE|0}}|Mage}} {{#if:{{#pos:{{{flags}}}|NECR|0}}|Necromancer}} {{#if:{{#pos:{{{flags}}}|DRUID|0}}|Druid}}</div>}}<!--
       -->{{#if:{{{flags|}}}|<div class="item__requirements__flags">{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{{flags|}}}|WARRIOR|}}|THIEF|}}|CLERIC|}}|MAGE|}}|DRUID|}}|NECR|}}|RARE|}}|ARTIFACT|}}|RELIC|}}|UNIQUE|}}|ANTIQUE|}}</div>}}<!--
       -->{{#if:{{{flags|}}}|<div class="item__requirements__flags">{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{{flags|}}}|WARRIOR|}}|THIEF|}}|CLERIC|}}|MAGE|}}|DRUID|}}|NECR|}}|RARE|}}|ARTIFACT|}}||UNIQUE|}}|ANTIQUE|}}</div>}}<!--
     --></div><!--
     --></div><!--



Revision as of 04:38, 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%}}