Difference between revisions of "Template:NewItem"

From Alter Aeon Wiki
(Created page with "<includeonly> <div class="item {{#if:{{#pos:{{{flags}}}|RELIC|0}}|item--relic }}{{#if:{{#pos:{{{flags}}}|EPIC|0}}|item--epic }}{{#if:{{#pos:{{{flags}}}|RARE|0}}|item--rare }...")
 
Line 1: Line 1:
<includeonly>
<includeonly><div 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 }}"><!--
  <div 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 }}">
     --><div class="item__header"><!--
     <div class="item__header">
       --><div class="item__header__name">[[{{{name}}} (Item)|{{{name}}}]]</div><!--
       <div class="item__header__name">[[{{{name}}} (Item)|{{{name}}}]]</div>
     --></div><!--
     </div>


     <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">{{{type}}}</span><!--
       </div>
       --></div><!--
       <div class="item__type__slot">{{{wearloc}}}</div>
       --><div class="item__type__slot">{{{wearloc}}}</div><!--
     </div>
     --></div><!--


     {{#if:{{{dmg|}}}|<div class="item__weapon-stats">
     -->{{#if:{{{dmg|}}}|<div class="item__weapon-stats"><!--
       <div class="item__weapon-stats__damage">
       --><div class="item__weapon-stats__damage"><!--
         <span class="item__weapon-stats__range">{{{dmg}}}</span>
         --><span class="item__weapon-stats__range">{{{dmg}}}</span><!--
         <span class="item__weapon-stats__type">{{{dtype}}}</span>
         --><span class="item__weapon-stats__type">{{{dtype}}}</span><!--
       </div>
       --></div><!--
       <div class="item__weapon-stats__speed">{{{wspeed|Normal}}} Speed</div>
       --><div class="item__weapon-stats__speed">{{{wspeed|Normal}}} Speed</div><!--
       {{#if:{{{strreq|}}}|<div class="item__weapon-stats__reqs">Requires {{{strreq}}} Strength</div>}}
       -->{{#if:{{{strreq|}}}|<div class="item__weapon-stats__reqs">Requires {{{strreq}}} Strength</div>}}<!--
     </div>}}
     --></div>}}<!--


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


     {{#if:{{{affects|}}}|<ul class="item__affects">{{{affects}}}</ul>}}
     -->{{#if:{{{affects|}}}|<ul class="item__affects">{{{affects}}}</ul>}}<!--
     {{#if:{{{spells|}}}|<ul class="item__spells">{{{spells}}}</ul>}}
     -->{{#if:{{{spells|}}}|<ul class="item__spells">{{{spells}}}</ul>}}<!--


     <div class="item__requirements">
     --><div class="item__requirements"><!--
       {{#if:{{{binds|}}}|<div class="item__requirements__binding">
       -->{{#if:{{{binds|}}}|<div class="item__requirements__binding"><!--
         {{#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|}}}{{{level|}}}|<div class="item__requirements__level">
       -->{{#if:{{{totlev|}}}{{{level|}}}|<div class="item__requirements__level">Requires Level: {{#if:{{{totlev|}}}|Total Level {{{totlev}}} }}{{#if:{{{level|}}}|Level {{{level}}} }}</div>}}<!--
        Requires Level:
       -->{{#if:{{{flags|}}}|<ul class="item__requirements__flags">{{{flags}}}</ul>}}<!--
        {{#if:{{{totlev|}}}|Total Level {{{totlev}}} }}
     </div><!--
        {{#if:{{{totlev|}}}|Total Level {{{totlev}}} }}
      </div>}}
       {{#if:{{{flags|}}}|<ul class="item__requirements__flags">{{{flags}}}</ul>}}
     </div>


     <div class="item__divider" role="presentation"></div>
     --><div class="item__divider" role="presentation"></div><!--
 
     -->{{#if:{{{keywords|}}}|<div class="item__keywords">Keywords: {{{keywords}}}</div>}}<!--
     {{#if:{{{keywords|}}}|<div class="item__keywords">Keywords: {{{keywords}}}</div>}}
   --></div></includeonly><noinclude>{{Template:NewItem/Doc}}[[Category:Template]] [[Category:Templates by Uicli]] [[Category:Item Templates]]
   </div>
</includeonly><noinclude>{{Template:NewItem/Doc}}[[Category:Template]] [[Category:Templates by Uicli]] [[Category:Item Templates]]
</noinclude>
</noinclude>

Revision as of 16:20, 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%}}
UniqueWEAPON
{{{wearloc}}}
3 to 21fire slash
Normal Speed
Requires 16 Strength
  • +2 hitroll
  • +3 damroll
  • +10% Cold Save
Requires Level: Total Level 3Level 2
    ANTI_GOOD WARRIOR UNIQUE
Keywords: foo sword
RareARMOR
FINGERS
  • +1 thief skill level
  • +1 Dexterity
  • +2 Charisma
  • +3 Movement Regen
  • -5 Movement
Account Bound
Requires Level: Level 19
    RARE THIEF
Keywords: shadowy ring black jet