Difference between revisions of "Template:Item"

From Alter Aeon Wiki
Line 1: Line 1:
<includeonly>
<includeonly>
{| class="wikitable itemtable" style="margin:0 0 0.5em 1em;"
<!-- Total Levels -->{{#if:{{{totlev|}}}|<br clear="all" /><li style="float: right; margin-top:0px;">Total Level: {{{totlev}}}</li>}}
{{#if: {{{level|}}} |
<!-- Level -->{{#if:{{{level|}}}|<li>Level {{{level}}}</li>}}
|-
<!-- Keywords -->{{#if:{{{keywords|}}}|<li>{{ItemKeywords|{{{keywords}}}}}</li>}}
! Level
<!-- Weight -->{{#if:{{{weight|}}}|<li>Weight: {{{weight}}}</li>}}
! colspan="3" | {{level|N/A}}
<!-- Size -->{{#if:{{{size|}}}|<li>Size: {{{size}}}</li>}}
}}
<!-- Type -->{{#if:{{{type|}}}|<li>Type: {{{type}}}</li>}}
{{#if: {{{totlev|}}} |
<!-- Composition -->{{#if:{{{composition|}}}|<br clear="all" /><li style="float: right; margin-top:0px;">Composition {{{composition}}}</li>}}
|-
<!-- Flags -->{{#if:{{{flags|}}}|<li>{{ItemFlags|{{{flags}}}}}</li>}}
! Total Levels
<!-- ac -->{{#if:{{{ac|}}}|<li>{{{ac}}} ac-apply</li>}}
! colspan="3" | {{totlev|N/A}}
<!-- Weapon Speed -->{{#if:{{{wspeed|}}}|<br clear="all" /><li style="float: right; margin-top:0px;">Speed {{{wspeed}}}</li>}}
}}
<!-- Weapon Damage -->{{#if:{{{dmg|}}}|<li>{{{dmg}}} {{#if:{{{dtype|}}}|[[{{{dtype}}}]] }} Damage</li>}}
|-
<!-- Str Req -->{{#if:{{{strreq|}}}|<li>Requires {{{strreq}}} Strength</li>}}
| Keywords
<!-- Wear Loc -->{{#if:{{{wearloc|}}}|<li>Wear Location(s): {{{wearloc}}}</li>}}
| colspan="3" | {{keywords|N/A}}
{{#if: {{{weight|}}}} |
|-
! Weight
! colspan="3" | {{weight|N/A}}
}}
{{#if: {{{size|}}} |
|-
! Size
! colspan="3" | {{size|N/A}}
}}
{{#if: {{{flags|}}} |
|-
| Flags
| colspan="3" | {{flags||N/A}}
}}
|-
| Type
| {{type/N/A}}
| Composition
| {{composition|N/A}}
|-
{{#if: {{{ac|}}} |
|-
| Defense
| {{ac}} ac-apply
}}
{{#if: {{{wdam|}}} |
|-
| Damage
| {{#explode:{{wdam}}|,|0}} to {{#explode:{{damage}}|,|1}} {{wspeed}} {{dtype}}
}}
{{#if: {{{strreq|}}} |
|-
| colspan="3" Requires {{strreq}} strength
}}
|-
| Wear Locations
| colspan="3" | {{wear_loc||N/A}}
|}
</includeonly>
</includeonly>
<noinclude>{{Template:Item/Doc}}[[Category:Template]]</noinclude>
<noinclude>{{Template:Item/Doc}}[[Category:Template]]</noinclude>

Revision as of 18:23, 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%}}