Difference between revisions of "Template:NewItem"
From Alter Aeon Wiki
(Created page with "<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 }...") |
|||
(14 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <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"> | --><div class="item__header__name">[[{{{name}}} (Item)|{{{name}}}]]</div><!-- | ||
<div class="item__header__name">[[{{{name}}} (Item)|{{{name}}}]]</div> | --></div><!-- | ||
</div> | |||
<div class="item__type"> | --><div class="item__type"><!-- | ||
<div class="item__type__desc"> | --><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__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><!-- | ||
<div class="item__type__slot">{{{wearloc}}}</div> | --><div class="item__type__slot">{{{wearloc|}}}</div><!-- | ||
</div> | --></div><!-- | ||
{{#if:{{{ | -->{{#if:{{{ac|}}}|<div class="item__armor-stats"><!-- | ||
--><span class="item__armor-stats__ac">{{{ac}}}</span> Armor Class<!-- | |||
--></div>}}<!-- | |||
<div class=" | -->{{#if:{{{dmg|}}}|<div class="item__weapon-stats"><!-- | ||
--><div class="item__weapon-stats__damage"><!-- | |||
--><span class="item__weapon-stats__range">{{{dmg}}}</span><!-- | |||
--><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=" | --><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><!-- | |||
{{#if:{{{keywords|}}}|<div class="item__keywords">Keywords: {{{keywords}}}</div>}} | --><div class="item__divider" role="presentation"></div><!-- | ||
</div> | -->{{#if:{{{keywords|}}}|<div class="item__keywords">Keywords: {{{keywords}}}</div>}}<!-- | ||
</includeonly><noinclude>{{Template:NewItem/Doc}}[[Category:Template]] [[Category:Templates by Uicli]] [[Category:Item Templates]] | --></div></includeonly><noinclude>{{Template:NewItem/Doc}}[[Category:Template]] [[Category:Templates by Uicli]] [[Category:Item Templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 18:12, 24 February 2021
{{NewItem |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