Difference between revisions of "Template:Item"
From Alter Aeon Wiki
(Convert to new item template) |
|||
Line 1: | Line 1: | ||
<includeonly><div class=" | <includeonly><div class="item {{#if:{{#pos:{{{flags}}}|RELIC|0}}|item--relic }}{{#if:{{#pos:{{{flags}}}|EPIC|0}}|item--epic }}{{#if:{{#pos:{{{flags}}}|RARE|0}}|item--rare }}{{#if:{{#pos:{{{flags}}}|ARTIFACT|0}}|item--artifact }}{{#if:{{#pos:{{{flags}}}|REMARKABLE|0}}|item--remarkable }}{{#if:{{#pos:{{{flags}}}|EXCEPTIONAL|0}}|item--exceptional }}{{#if:{{#pos:{{{flags}}}|UNIQUE|0}}|item--unique }}{{#if:{{#pos:{{{flags}}}|ANTIQUE|0}}|item--antique }}"><!-- | ||
--><div class="item__header"><!-- | |||
--><div class="item__header__name">[[{{{name}}} (Item)|{{{name}}}]]</div><!-- | |||
--></div><!-- | |||
--><div class="item__type"><!-- | |||
--><div class="item__type__desc"><!-- | |||
--><span class="item__type__rarity">{{#if:{{#pos:{{{flags}}}|RELIC|0}}|Relic}}{{#if:{{#pos:{{{flags}}}|EPIC|0}}|Epic}}{{#if:{{#pos:{{{flags}}}|RARE|0}}|Rare}}{{#if:{{#pos:{{{flags}}}|ARTIFACT|0}}|Artifact}}{{#if:{{#pos:{{{flags}}}|REMARKABLE|0}}|Remarkable}}{{#if:{{#pos:{{{flags}}}|EXCEPTIONAL|0}}|Exceptional}}{{#if:{{#pos:{{{flags}}}|UNIQUE|0}}|Unique}}{{#if:{{#pos:{{{flags}}}|ANTIQUE|0}}|Antique}}</span> | |||
<span class="item__type__typename">{{lc:{{{type}}}}}</span><!-- | |||
--></div><!-- | |||
--><div class="item__type__slot">{{{wearloc|}}}</div><!-- | |||
--></div><!-- | |||
-->{{#if:{{{ac|}}}|<div class="item__armor-stats"><!-- | |||
--><span class="item__armor-stats__ac">{{{ac}}}</span> Armor Class<!-- | |||
<!-- | --></div>}}<!-- | ||
-->{{#if:{{{dmg|}}}|<div class="item__weapon-stats"><!-- | |||
--><div class="item__weapon-stats__damage"><!-- | |||
</includeonly><noinclude>{{Template:Item/Doc}}[[Category:Template]] [[Category:Templates by Uicli]] [[Category:Item Templates]] | --><span class="item__weapon-stats__range">{{{dmg}}}</span><!-- | ||
</noinclude> | --><span class="item__weapon-stats__type">{{{dtype}}}</span><!-- | ||
--></div><!-- | |||
--><div class="item__weapon-stats__speed">{{{wspeed|Normal}}} Speed</div><!-- | |||
-->{{#if:{{{strreq|}}}|<div class="item__weapon-stats__reqs">Requires {{{strreq}}} Strength</div>}}<!-- | |||
--></div>}}<!-- | |||
--><div class="item__divider" role="presentation"></div><!-- | |||
-->{{#if:{{{affects|}}}|<ul class="item__affects">{{{affects}}}</ul>}}<!-- | |||
-->{{#if:{{{spells|}}}|<ul class="item__spells">{{{spells}}}</ul>}}<!-- | |||
--><div class="item__requirements"><!-- | |||
-->{{#if:{{{binds|}}}|<div class="item__requirements__binding"><!-- | |||
-->{{#ifeq:{{{binds}}}|character|Character}}{{#ifeq:{{{binds}}}|player|Character}}{{#ifeq:{{{binds}}}|account|Account}} Bound<!-- | |||
--></div>}}<!-- | |||
-->{{#if:{{{totlev|}}}|<div class="item__requirements__level">Requires Total Levels {{{totlev}}}</div>}}<!-- | |||
-->{{#if:{{{level|}}}|<div class="item__requirements__level">Requires Level {{{level}}} {{#if:{{#pos:{{{flags}}}|WARRIOR|0}}|Warrior}} {{#if:{{#pos:{{{flags}}}|CLERIC|0}}|Cleric}} {{#if:{{#pos:{{{flags}}}|THIEF|0}}|Thief}} {{#if:{{#pos:{{{flags}}}|MAGE|0}}|Mage}} {{#if:{{#pos:{{{flags}}}|NECR|0}}|Necromancer}} {{#if:{{#pos:{{{flags}}}|DRUID|0}}|Druid}}</div>}}<!-- | |||
-->{{#if:{{{flags|}}}|<div class="item__requirements__flags">{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{{flags|}}}|WARRIOR|}}|THIEF|}}|CLERIC|}}|MAGE|}}|DRUID|}}|NECR|}}|RARE|}}|ARTIFACT|}}|RELIC|}}|UNIQUE|}}|ANTIQUE|}}</div>}}<!-- | |||
--></div><!-- | |||
--><div class="item__divider" role="presentation"></div><!-- | |||
-->{{#if:{{{keywords|}}}|<div class="item__keywords">Keywords: {{{keywords}}}</div>}}<!-- | |||
--></div></includeonly><noinclude>{{Template:Item/Doc}}[[Category:Template]] [[Category:Templates by Uicli]] [[Category:Item Templates]]</noinclude> |
Revision as of 18:22, 24 February 2021
{{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%}}
Unique
weapon
3 to 21fire slash
Normal Speed
Requires 16 Strength
- ◆ +2 hitroll
- ◆ +3 damroll
- ◆ +10% Cold Save
Requires Total Levels 3
Requires Level 2 Warrior
ANTI_GOOD
Keywords: foo sword
Rare
armor
FINGERS
0 Armor Class
- ◆ +1 thief skill level
- ◆ +1 Dexterity
- ◆ +2 Charisma
- ◆ +3 Movement Regen
- ◆ -5 Movement
Account Bound
Requires Level 19 Thief
Keywords: shadowy ring black jet