Difference between revisions of "Template:NewItem"

From Alter Aeon Wiki
 
(11 intermediate revisions by the same user not shown)
Line 6: Line 6:
     --><div class="item__type"><!--
     --><div class="item__type"><!--
       --><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}}}|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__typename">{{{type}}}</span><!--
      <span class="item__type__typename">{{lc:{{{type}}}}}</span><!--
       --></div><!--
       --></div><!--
       -->{{#if:{{{wearloc|}}}<div class="item__type__slot">{{{wearloc}}}</div>}}<!--
       --><div class="item__type__slot">{{{wearloc|}}}</div><!--
     --></div><!--
     --></div><!--
    -->{{#if:{{{ac|}}}|<div class="item__armor-stats"><!--
      --><span class="item__armor-stats__ac">{{{ac}}}</span> Armor Class<!--
    --></div>}}<!--


     -->{{#if:{{{dmg|}}}|<div class="item__weapon-stats"><!--
     -->{{#if:{{{dmg|}}}|<div class="item__weapon-stats"><!--
Line 30: Line 34:
         -->{{#ifeq:{{{binds}}}|character|Character}}{{#ifeq:{{{binds}}}|player|Character}}{{#ifeq:{{{binds}}}|account|Account}} Bound<!--
         -->{{#ifeq:{{{binds}}}|character|Character}}{{#ifeq:{{{binds}}}|player|Character}}{{#ifeq:{{{binds}}}|account|Account}} Bound<!--
       --></div>}}<!--
       --></div>}}<!--
       -->{{#if:{{{totlev|}}}|<div class="item__requirements__level">Total Levels: {{{totlev}}} }}<!--
       -->{{#if:{{{totlev|}}}|<div class="item__requirements__level">Requires Total Levels {{{totlev}}}</div>}}<!--
       -->{{#if:{{{level|}}}|<div class="item__requirements__level">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}} }}<!--
       -->{{#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:{{{flags|}}}|WARRIOR|}}|THIEF|}}|CLERIC|}}|MAGE|}}|DRUID|}}NECR|}}</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>}}<!--
     </div><!--
     --></div><!--


     --><div class="item__divider" role="presentation"></div><!--
     --><div class="item__divider" role="presentation"></div><!--

Latest revision as of 18:12, 24 February 2021

{{NewItem
 |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%}}
Unique weapon
3 to 21fire slash
Normal Speed
Requires 16 Strength
  • +2 hitroll
  • +3 damroll
  • +10% Cold Save
Requires Total Levels 3
Requires Level 2 Warrior
ANTI_GOOD
Keywords: foo sword
Rare armor
FINGERS
0 Armor Class
  • +1 thief skill level
  • +1 Dexterity
  • +2 Charisma
  • +3 Movement Regen
  • -5 Movement
Account Bound
Requires Level 19 Thief
Keywords: shadowy ring black jet