Template:Infobox Item: Difference between revisions

Remove stripped inline styles
Tag: Manual revert
Automated page publish
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div class="infobox-fantasy">
<table class="infobox wikitable" style="width:300px; float:right; margin-left:15px; margin-bottom:15px; margin-top:0;">
<div class="infobox-fantasy-header">{{{name|{{PAGENAME}}}}}</div>
<tr><th colspan="2" style="text-align:center; font-size:1.2em; padding:5px;">{{{name|{{PAGENAME}}}}}</th></tr>
<div style="text-align:center; margin-bottom: 15px;">{{#if:{{{image|}}}|[[File:{{{image}}}|150px]]|''No Image''}}</div>
<tr><td colspan="2" style="text-align:center; padding:5px;">{{#if:{{{image|}}}|[[File:{{{image}}}|150px]]|''No Image''}}</td></tr>{{#if:{{{value|}}}|
<table>
<tr><th style="text-align:left;">[[File:T_Coins_Icon.png|22px|link=]] Coins</th><td style="text-align:right;">{{{value}}}</td></tr>}}{{#if:{{{shopbuy|}}}|
{{#if:{{{value|}}}|<tr><th>[[File:T_ICON_FantasyWarrior_Inventory_Currency02_Underlay.png|22px|link=|class=stat-icon]] Value</th><td>{{{value}}}</td></tr>}}
<tr><th style="text-align:left;">[[File:T_Coins_Icon.png|22px|link=]] Shop Buy Price</th><td style="text-align:right;">{{{shopbuy}}}</td></tr>}}{{#if:{{{AttackRange|}}}|
{{#if:{{{AttackRange|}}}|<tr><th>[[File:T_ICON_FantasyWarrior_Status_Attack01_Underlay.png|22px|link=|class=stat-icon]] Attack Range</th><td>{{{AttackRange}}}</td></tr>}}
<tr><th style="text-align:left;">Attack Range</th><td style="text-align:right;">{{{AttackRange}}}</td></tr>}}{{#if:{{{AttackSpeed|}}}|
{{#if:{{{AttackSpeed|}}}|<tr><th>[[File:T_ICON_FantasyWarrior_Status_SpeedUp01_Clean.png|22px|link=|class=stat-icon]] Attack Speed</th><td>{{{AttackSpeed}}}</td></tr>}}
<tr><th style="text-align:left;">Attack Speed</th><td style="text-align:right;">{{{AttackSpeed}}}</td></tr>}}{{#if:{{{AttackSwingSpeed|}}}|
{{#if:{{{AttackSwingSpeed|}}}|<tr><th>[[File:T_ICON_FantasyWarrior_Status_SpeedUp01_Clean.png|22px|link=|class=stat-icon]] Swing Speed</th><td>{{{AttackSwingSpeed}}}</td></tr>}}
<tr><th style="text-align:left;">Swing Speed</th><td style="text-align:right;">{{{AttackSwingSpeed}}}</td></tr>}}{{#if:{{{SlashWep|}}}|
{{#if:{{{SlashWep|}}}|<tr><th>[[File:T_ICON_FantasyWarrior_Status_Attack01_Underlay.png|22px|link=|class=stat-icon]] Slash Damage</th><td>{{{SlashWep}}}</td></tr>}}
<tr><th style="text-align:left;">Slash Damage</th><td style="text-align:right;">{{{SlashWep}}}</td></tr>}}{{#if:{{{PierceWep|}}}|
{{#if:{{{PierceWep|}}}|<tr><th>[[File:T_ICON_FantasyWarrior_Status_Attack01_Underlay.png|22px|link=|class=stat-icon]] Pierce Damage</th><td>{{{PierceWep}}}</td></tr>}}
<tr><th style="text-align:left;">Pierce Damage</th><td style="text-align:right;">{{{PierceWep}}}</td></tr>}}{{#if:{{{BluntWep|}}}|
{{#if:{{{BluntWep|}}}|<tr><th>[[File:T_ICON_FantasyWarrior_Status_Attack01_Underlay.png|22px|link=|class=stat-icon]] Blunt Damage</th><td>{{{BluntWep}}}</td></tr>}}
<tr><th style="text-align:left;">Pierce Accuracy</th><td style="text-align:right;">{{{PierceAcc}}}</td></tr>}}{{#if:{{{BluntWep|}}}|
{{#if:{{{QuickDamage|}}}|<tr><th>[[File:T_ICON_FantasyWarrior_Status_Attack01_Underlay.png|22px|link=|class=stat-icon]] Quick Damage</th><td>{{{QuickDamage}}}</td></tr>}}
<tr><th style="text-align:left;">Blunt Damage</th><td style="text-align:right;">{{{BluntWep}}}</td></tr>}}{{#if:{{{QuickDamage|}}}|
{{#if:{{{FireWep|}}}|<tr><th>[[File:T_ICON_FantasyWarrior_Stat_Magic01_Underlay.png|22px|link=|class=stat-icon]] Fire Damage</th><td>{{{FireWep}}}</td></tr>}}
<tr><th style="text-align:left;">Quick Damage</th><td style="text-align:right;">{{{QuickDamage}}}</td></tr>}}{{#if:{{{FireWep|}}}|
{{#if:{{{IceWep|}}}|<tr><th>[[File:T_ICON_FantasyWarrior_Stat_Magic01_Underlay.png|22px|link=|class=stat-icon]] Ice Damage</th><td>{{{IceWep}}}</td></tr>}}
<tr><th style="text-align:left;">Fire Damage</th><td style="text-align:right;">{{{FireWep}}}</td></tr>}}{{#if:{{{IceWep|}}}|
{{#if:{{{MysticalDamage|}}}|<tr><th>[[File:T_ICON_FantasyWarrior_Stat_Magic01_Underlay.png|22px|link=|class=stat-icon]] Mystical Damage</th><td>{{{MysticalDamage}}}</td></tr>}}
<tr><th style="text-align:left;">Lightning Damage</th><td style="text-align:right;">{{{LightWep}}}</td></tr>}}{{#if:{{{LightWep|}}}|
{{#if:{{{Slash|}}}|<tr><th>[[File:T_ICON_FantasyWarrior_Status_FortifiedDefense01_Underlay.png|22px|link=|class=stat-icon]] Slash Defense</th><td>{{{Slash}}}</td></tr>}}
<tr><th style="text-align:left;">Ice Damage</th><td style="text-align:right;">{{{IceWep}}}</td></tr>}}{{#if:{{{MysticalDamage|}}}|
{{#if:{{{Pierce|}}}|<tr><th>[[File:T_ICON_FantasyWarrior_Status_FortifiedDefense01_Underlay.png|22px|link=|class=stat-icon]] Pierce Defense</th><td>{{{Pierce}}}</td></tr>}}
<tr><th style="text-align:left;">Mystical Damage</th><td style="text-align:right;">{{{MysticalDamage}}}</td></tr>}}{{#if:{{{Slash|}}}|
{{#if:{{{Blunt|}}}|<tr><th>[[File:T_ICON_FantasyWarrior_Status_FortifiedDefense01_Underlay.png|22px|link=|class=stat-icon]] Blunt Defense</th><td>{{{Blunt}}}</td></tr>}}
<tr><th style="text-align:left;">Slash Defense</th><td style="text-align:right;">{{{Slash}}}</td></tr>}}{{#if:{{{Pierce|}}}|
{{#if:{{{Fire|}}}|<tr><th>[[File:T_ICON_FantasyWarrior_Status_FortifiedDefense01_Underlay.png|22px|link=|class=stat-icon]] Fire Defense</th><td>{{{Fire}}}</td></tr>}}
<tr><th style="text-align:left;">Pierce Defense</th><td style="text-align:right;">{{{Pierce}}}</td></tr>}}{{#if:{{{Blunt|}}}|
{{#if:{{{Ice|}}}|<tr><th>[[File:T_ICON_FantasyWarrior_Status_FortifiedDefense01_Underlay.png|22px|link=|class=stat-icon]] Ice Defense</th><td>{{{Ice}}}</td></tr>}}
<tr><th style="text-align:left;">Blunt Defense</th><td style="text-align:right;">{{{Blunt}}}</td></tr>}}{{#if:{{{Fire|}}}|
{{#if:{{{Mystical|}}}|<tr><th>[[File:T_ICON_FantasyWarrior_Status_FortifiedDefense01_Underlay.png|22px|link=|class=stat-icon]] Mystical Defense</th><td>{{{Mystical}}}</td></tr>}}
<tr><th style="text-align:left;">Fire Defense</th><td style="text-align:right;">{{{Fire}}}</td></tr>}}{{#if:{{{Ice|}}}|
{{#if:{{{Agility|}}}|<tr><th>[[File:T_ICON_FantasyWarrior_Status_SpeedUp01_Clean.png|22px|link=|class=stat-icon]] Agility</th><td>{{{Agility}}}</td></tr>}}
<tr><th style="text-align:left;">Ice Defense</th><td style="text-align:right;">{{{Ice}}}</td></tr>}}{{#if:{{{Mystical|}}}|
{{#if:{{{EnergyConsumption|}}}|<tr><th>[[File:T_ICON_FantasyWarrior_Stat_Magic01_Underlay.png|22px|link=|class=stat-icon]] Energy Cost</th><td>{{{EnergyConsumption}}}</td></tr>}}
<tr><th style="text-align:left;">Mystical Defense</th><td style="text-align:right;">{{{Mystical}}}</td></tr>}}{{#if:{{{Agility|}}}|
{{#if:{{{SmithingPower|}}}|<tr><th>[[File:T_ICON_FantasyWarrior_Status_Attack01_Underlay.png|22px|link=|class=stat-icon]] Smithing Power</th><td>{{{SmithingPower}}}</td></tr>}}
<tr><th style="text-align:left;">Agility</th><td style="text-align:right;">{{{Agility}}}</td></tr>}}{{#if:{{{EnergyConsumption|}}}|
{{#if:{{{MiningPower|}}}|<tr><th>[[File:T_ICON_FantasyWarrior_Status_Attack01_Underlay.png|22px|link=|class=stat-icon]] Mining Power</th><td>{{{MiningPower}}}</td></tr>}}
<tr><th style="text-align:left;">Energy Cost</th><td style="text-align:right;">{{{EnergyConsumption}}}</td></tr>}}{{#if:{{{SmithingPower|}}}|
{{#if:{{{FishingPower|}}}|<tr><th>[[File:T_ICON_FantasyWarrior_Status_Attack01_Underlay.png|22px|link=|class=stat-icon]] Fishing Power</th><td>{{{FishingPower}}}</td></tr>}}
<tr><th style="text-align:left;">Smithing Power</th><td style="text-align:right;">{{{SmithingPower}}}</td></tr>}}{{#if:{{{MiningPower|}}}|
<tr><th style="text-align:left;">Mining Power</th><td style="text-align:right;">{{{MiningPower}}}</td></tr>}}{{#if:{{{FishingPower|}}}|
<tr><th style="text-align:left;">Fishing Power</th><td style="text-align:right;">{{{FishingPower}}}</td></tr>}}
</table>
</table>
</div>