Difference between revisions of "Template:Item"

From Alter Aeon Wiki
Line 15: Line 15:
Weapon Damage -->{{#if:{{{dmg|}}}|<li>{{{dmg}}} {{#if:{{{dtype|}}}|[[{{{dtype}}}]] }} Damage</li>}}
Weapon Damage -->{{#if:{{{dmg|}}}|<li>{{{dmg}}} {{#if:{{{dtype|}}}|[[{{{dtype}}}]] }} Damage</li>}}
<!-- Str Req -->{{#if:{{{strreq|}}}|<li>Requires {{{strreq}}} Strength</li>}}<!--
<!-- Str Req -->{{#if:{{{strreq|}}}|<li>Requires {{{strreq}}} Strength</li>}}<!--
Wear Loc -->{{#if:{{{wearloc|}}}|<li>{{ItemAttrLabel|Wear Location(s)}} {{{wearloc}}}</li>}}</ul>
Wear Loc -->{{#if:{{{wearloc|}}}|<li>{{ItemAttrLabel|Wear Location(s)}} {{{wearloc}}}</li>}}<!--
Affects -->{{#if:{{{affects|}}}|<li>{{ItemAttrLabel|Affects Location(s)}}<p class="affects">{{{affects}}}</p></li>}}
</ul>
   </div>
   </div>
</div>
</div>
</includeonly>
</includeonly>
<noinclude>{{Template:Item/Doc}}[[Category:Template]]</noinclude>
<noinclude>{{Template:Item/Doc}}[[Category:Template]]</noinclude>

Revision as of 19:14, 28 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%}}