Difference between revisions of "Template:Itembox"

m
m
Line 10: Line 10:
 
{{#if:{{{physicaldamage|}}}|<li>{{Link|Physical Damage|color=FFFFFF}} {{{physicaldamage|}}}%|}}
 
{{#if:{{{physicaldamage|}}}|<li>{{Link|Physical Damage|color=FFFFFF}} {{{physicaldamage|}}}%|}}
 
{{#if:{{{poisondamage|}}}|<li>{{Link|Poison Damage|color=FFFFFF}} {{{poisondamage|}}}%|}}
 
{{#if:{{{poisondamage|}}}|<li>{{Link|Poison Damage|color=FFFFFF}} {{{poisondamage|}}}%|}}
{{#if:{{{mindamage|}}}|{{#if:{{{maxdamage|}}}|<li>Weapon Damage {{{mindamage|}}} - {{{maxdamage|}}}|}}|}}
+
{{#if:{{{mindamage|}}}|{{#if:{{{maxdamage|}}}|{{#ifexpr:{{{maxdamage|}}} < {{{mindamage|}}}|<li>Weapon Damage {{{mindamage|}}} - {{{maxdamage|}}}|}}|}}|}}
 
{{#if:{{{weaponspeed|}}}|<li>{{Link|Weapon Speed|color=FFFFFF}} {{{weaponspeed|}}}s|}}
 
{{#if:{{{weaponspeed|}}}|<li>{{Link|Weapon Speed|color=FFFFFF}} {{{weaponspeed|}}}s|}}
 
{{#if:{{{range|}}}|<li>{{Link|Range|color=FFFFFF}} {{{range|}}}|}}
 
{{#if:{{{range|}}}|<li>{{Link|Range|color=FFFFFF}} {{{range|}}}|}}

Revision as of 16:22, 8 August 2007

  • Itembox


Template:Testing

font-size:{{#ifeq:{{FULLPAGENAME}}|{{{disambigpage|{{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}{{{name|{{PAGENAME}}}}}}}}|1|0.85}}em;

{{Testing
|name=
|blessed=
|weight=
|hitstaminaleech=
|spellchanneling=
|swingspeedincrease=
|damageincrease=
|poisonresist=
|physicaldamage=
|poisondamage=
|mindamage=
|maxdamage=
|weaponspeed=
|range=
|strengthrequirement=
|handedweapon=
|skillrequired=
|durability=
}}