Difference between revisions of "Template:Item"

From Alter Aeon Wiki
Line 3: Line 3:
   <div clas="iteminfo-content">
   <div clas="iteminfo-content">
     <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;">{{ItemAttrLabel|Total Level}} {{{totlev}}}</li>}}<!--
Level -->{{#if:{{{level|}}}|<li>{{ItemAttrLabel|Level}}: {{{level}}}</li>}}<!--
Level -->{{#if:{{{level|}}}|<li>{{ItemAttrLabel|Level}} {{{level}}}</li>}}<!--
Keywords -->{{#if:{{{keywords|}}}|<li>{{ItemAttrLabel|Item}}: '{{{keywords}}}'</li>}}<!--
Keywords -->{{#if:{{{keywords|}}}|<li>{{ItemAttrLabel|Item}} '{{{keywords}}}'</li>}}<!--
Size -->{{#if:{{{size|}}}|<li style="float: right; margin-top:0px;">{{ItemAttrLabel|Size}}: {{{size}}}</li>}}<!--
Size -->{{#if:{{{size|}}}|<li style="float: right; margin-top:0px;">{{ItemAttrLabel|Size}} {{{size}}}</li>}}<!--
Weight -->{{#if:{{{weight|}}}|<li>{{ItemAttrLabel|Weight}}: {{{weight}}}</li>}}<!--
Weight -->{{#if:{{{weight|}}}|<li>{{ItemAttrLabel|Weight}} {{{weight}}}</li>}}<!--
Type -->{{#if:{{{type|}}}|<li>{{ItemAttrLabel|Type}}: {{{type}}}</li>}}<!--
Type -->{{#if:{{{type|}}}|<li>{{ItemAttrLabel|Type}} {{{type}}}</li>}}<!--
Composition -->{{#if:{{{composition|}}}|<li>{{ItemAttrLabel|Composition}}: {{{composition}}}</li>}}<!--
Composition -->{{#if:{{{composition|}}}|<li>{{ItemAttrLabel|Composition}} {{{composition}}}</li>}}<!--
Flags -->{{#if:{{{flags|}}}|<li>{{ItemAttrLabel|Flags}}: {{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>{{ItemAttrLabel|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:57, 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%}}