Difference between revisions of "Template:Item"

From Alter Aeon Wiki
Line 13: Line 13:
<!-- 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>}}<!--
Wear Loc -->{{#if:{{{wearloc|}}}|<li>{{ItemAttrLabel|Wear Location(s)}} {{{wearloc}}}</li>}}<!--
Affects -->{{#if:{{{affects|}}}|<li>{{ItemAttrLabel|Affects}}<p class="affects">{{{affects}}}</p></li>}}</ul></div></div></includeonly><noinclude>{{Template:Item/Doc}}[[Category:Template]]</noinclude>
Affects -->{{#if:{{{affects|}}}|<li>{{ItemAttrLabel|Affects}}<p class="affects">{{{affects}}}</p></li>}}</ul></div></div>
 
<b>{{#if:{{#pos:{{{flags}}}|RELIC|0}}|Got a relic|don't got a relic}}</b>
 
</includeonly><noinclude>{{Template:Item/Doc}}[[Category:Template]]
</noinclude>

Revision as of 20:41, 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%}}