Difference between revisions of "Template:Item"

From Alter Aeon Wiki
Line 4: Line 4:
     <ul><!--
     <ul><!--
Total Levels -->{{#if:{{{totlev|}}}|<li style="float: right; margin-top:0px;">Total Level: {{{totlev}}}</li>}}<!--
Total Levels -->{{#if:{{{totlev|}}}|<li style="float: right; margin-top:0px;">Total Level: {{{totlev}}}</li>}}<!--
Level -->{{#if:{{{level|}}}|<li>Level {{{level}}}</li>}}<!--
Level -->{{#if:{{{level|}}}|<li>{{ItemAttrLabel|Level}}: {{{level}}}</li>}}<!--
Keywords -->{{#if:{{{keywords|}}}|<li>Item: '{{{keywords}}}'</li>}}<!--
Keywords -->{{#if:{{{keywords|}}}|<li>{{ItemAttrLabel|Item}}: '{{{keywords}}}'</li>}}<!--
Size -->{{#if:{{{size|}}}|<li style="float: right; margin-top:0px;">Size: {{{size}}}</li>}}<!--
Size -->{{#if:{{{size|}}}|<li style="float: right; margin-top:0px;">{{ItemAttrLabel|Size}}: {{{size}}}</li>}}<!--
Weight -->{{#if:{{{weight|}}}|<li>Weight: {{{weight}}}</li>}}<!--
Weight -->{{#if:{{{weight|}}}|<li>{{ItemAttrLabel|Weight}}: {{{weight}}}</li>}}<!--
Type -->{{#if:{{{type|}}}|<li>Type: {{{type}}}</li>}}<!--
Type -->{{#if:{{{type|}}}|<li>{{ItemAttrLabel|Type}}: {{{type}}}</li>}}<!--
Composition -->{{#if:{{{composition|}}}|<li>Composition {{{composition}}}</li>}}<!--
Composition -->{{#if:{{{composition|}}}|<li>{{ItemAttrLabel|Composition}}: {{{composition}}}</li>}}<!--
Flags -->{{#if:{{{flags|}}}|<li>{{ItemFlags|{{{flags}}}}}</li>}}<!--
Flags -->{{#if:{{{flags|}}}|<li>{{ItemAttrLabel|Flags}}: {{ItemFlags|{{{flags}}}}}</li>}}<!--
ac -->{{#if:{{{ac|}}}|<li>{{{ac}}} ac-apply</li>}}<!--
ac -->{{#if:{{{ac|}}}|<li>{{{ac}}} ac-apply</li>}}<!--
Weapon Speed -->{{#if:{{{wspeed|}}}|<li style="float: right; margin-top:0px;">Speed {{{wspeed}}}</li>}}<!--
Weapon Speed -->{{#if:{{{wspeed|}}}|<li style="float: right; margin-top:0px;">Speed {{{wspeed}}}</li>}}<!--
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>Wear Location(s): {{{wearloc}}}</li>}}</ul>
Wear Loc -->{{#if:{{{wearloc|}}}|<li>{{ItemAttrLabel|Wear Location(s)}}: {{{wearloc}}}</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 18:56, 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%}}