demon horns logo
Alter Aeon
alteraeon.com 3000
Alter Aeon Wiki
From Alter Aeon Wiki

Difference between revisions of "Template:Item"

Jump to: navigation, search
(Added permanent spell section)
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<includeonly><div class="iteminfo {{#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 }}" style="font-size:1em;float:{{{float|none}}};width:25em;"><div clas="iteminfo-content"><ul><!--
 
<includeonly><div class="iteminfo {{#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 }}" style="font-size:1em;float:{{{float|none}}};width:25em;"><div clas="iteminfo-content"><ul><!--
Name --><li class="itemname">{{{name}}}</li><!--
+
Name --><li class="itemname">[[{{{name}}} (Item)|{{{name}}}]]</li><!--
 
Quality Flags --><li>{{#if:{{#pos:{{{flags}}}|RELIC|0}}|<span class="relic">(Relic) </span>}}{{#if:{{#pos:{{{flags}}}|EPIC|0}}|<span class="epic">(Epic) </span>}}{{#if:{{#pos:{{{flags}}}|RARE|0}}|<span class="rare">(Rare) </span>}}{{#if:{{#pos:{{{flags}}}|ARTIFACT|0}}|<span class="artifact">(Artifact) </span>}}{{#if:{{#pos:{{{flags}}}|REMARKABLE|0}}|<span class="remarkable">(Remarkable) </span>}}{{#if:{{#pos:{{{flags}}}|EXCEPTIONAL|0}}|<span class="exceptional">(Exceptional) </span>}}{{#if:{{#pos:{{{flags}}}|UNIQUE|0}}|<span class="unique">(Unique) </span>}}{{#if:{{#pos:{{{flags}}}|ANTIQUE|0}}|<span class="antique">(Antique) </span>}}</li><!--
 
Quality Flags --><li>{{#if:{{#pos:{{{flags}}}|RELIC|0}}|<span class="relic">(Relic) </span>}}{{#if:{{#pos:{{{flags}}}|EPIC|0}}|<span class="epic">(Epic) </span>}}{{#if:{{#pos:{{{flags}}}|RARE|0}}|<span class="rare">(Rare) </span>}}{{#if:{{#pos:{{{flags}}}|ARTIFACT|0}}|<span class="artifact">(Artifact) </span>}}{{#if:{{#pos:{{{flags}}}|REMARKABLE|0}}|<span class="remarkable">(Remarkable) </span>}}{{#if:{{#pos:{{{flags}}}|EXCEPTIONAL|0}}|<span class="exceptional">(Exceptional) </span>}}{{#if:{{#pos:{{{flags}}}|UNIQUE|0}}|<span class="unique">(Unique) </span>}}{{#if:{{#pos:{{{flags}}}|ANTIQUE|0}}|<span class="antique">(Antique) </span>}}</li><!--
 +
Binding -->{{#if:{{{binds|}}}|<li><span class="binding">Binds to {{#ifeq:{{{binds}}}|player|Player}}{{#ifeq:{{{binds}}}|account|Account}}</span></li>}}<!--
 
Total Levels -->{{#if:{{{totlev|}}}|<li style="float: right; margin-top:0px;">{{ItemAttrLabel|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>}}<!--
Line 15: Line 16:
 
<!-- 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>}}<!--
 
Wear Loc -->{{#if:{{{wearloc|}}}|<li>{{ItemAttrLabel|Wear Location(s)}} {{{wearloc}}}</li>}}<!--
Affects -->{{#if:{{{affects|}}}|<li>{{ItemAttrLabel|Affects}}<p class="affects">{{{affects}}}</p></li>}}</ul></div></div>
+
Affects -->{{#if:{{{affects|}}}|<li>{{ItemAttrLabel|Affects}}<p class="affects">{{{affects}}}</p></li>}}<!--
</includeonly><noinclude>{{Template:Item/Doc}}[[Category:Template]]
+
Spells -->{{#if:{{{spells|}}}|<li>{{ItemAttrLabel|Spells}}<p class="affects">{{{spells}}}</p></li>}}</ul></div></div>
 +
</includeonly><noinclude>{{Template:Item/Doc}}[[Category:Template]] [[Category:Templates by Uicli]] [[Category:Item Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 06:39, 11 August 2019

{{Item
 |name=Sword of Foo
 |float=right
 |totlev=3
 |level=2
 |keywords=foo sword
 |flags=ANTI_GOOD WARRIOR
 |weight=1
 |size=1'5"
 |type=WEAPON
 |composition=COPPER BASED
 |wdam=3 to 21
 |dtype=fire slash
 |strreq=16
 |ac=3
 |wearloc=WIELD HELD HEAD
 |affects={{ItemAffect|hitroll}} by 2<br>{{ItemAffect|damroll}} by 3<br>{{ItemAffect|saving_cold}} by 10%
 }}
  • Sword of Foo
  • Binds to Account
  • Total Level 3
  • Level 2
  • Item 'foo sword'
  • Size 1'5"
  • Weight 1
  • Type WEAPON
  • Composition COPPER BASED
  • Flags ANTI_GOOD WARRIOR
  • 3 ac-apply
  • Speed Normal
  • 3 to 21 fire slash Damage
  • Requires 16 Strength
  • Wear Location(s) WIELD HELD HEAD
  • Affects

    hitroll by 2
    damroll by 3
    saving_cold by 10%


  • Sword of Foo
  • (Relic)
  • Total Level 3
  • Level 2
  • Item 'foo sword'
  • Size 1'5"
  • Weight 1
  • Type WEAPON
  • Composition COPPER BASED
  • Flags ANTI_GOOD WARRIOR RELIC
  • Speed Normal
  • 3 to 21 fire slash Damage
  • Requires 16 Strength
  • Affects

    hitroll by 2
    damroll by 3
    saving_cold by 10%

Personal tools