Template:Infobox ShopItems: Difference between revisions

Shatangmi (talk | contribs)
m updated costs of items with components
finally fix the links
 
(12 intermediate revisions by 5 users not shown)
Line 1: Line 1:
Custom template containing 3 navboxes. Simply set which ones you want to true when creating (Someone please let me know if this is bad for optimisation :) )
{{#vardefine:souls_style|font-size: 12px; text-shadow: 1px 1px rgba(0, 0, 0, 0.3);}}
<templatedata>
{
"params": {
"weapon items": {
"description": "Choose whether or not to show Weapon items.",
"type": "boolean",
"default": "false"
},
"vitality items": {
"description": "Choose whether or not to show Vitality Items",
"type": "boolean",
"default": "false"
},
"spirit items": {
"description": "Choose whether or not to show Spirit Items.",
"type": "boolean",
"default": "false"
}
}
}
</templatedata>
 
<onlyinclude>
{{#ifeq:{{{weapon items|}}}|true|
{{#ifeq:{{{weapon items|}}}|true|
{{Navbox
{{Navbox
|name      = Items
|name      = Items
|title      = [[File:Weapon Icon.png|30px|link=Weapon]] <b>Weapon Items</b>
|title      = [[File:Weapon Icon.png|30px|link={{#invoke:Dictionary|translate|Weapon Item|lang_code_override=en}}]] <b>{{#invoke:Dictionary|translate|Weapon Item}}</b>
|state      =  
|state      =  
|titlestyle = background-color:#ffefd7;
|titlestyle = background-color:#ffefd7;
Line 34: Line 11:
|above =  
|above =  
|group1    =  
|group1    =  
|list1      =  
|list1      = {{#invoke:ItemData/nav|write_item_slot_subgroup|Weapon|get_item_nav_cards}}
{{Navbox subgroup
}}|}}{{#ifeq:{{{armor items|}}}|true|
|groupstyle = background-color:#79511f;width:10%;
|group1    = {{Souls|500}}
|list1      = {{ItemBox|item_name = Basic Magazine|item_type = Weapon||item_price = 500}} {{ItemBox|item_name = Close Quarters|item_type = Weapon||item_price = 500}} {{ItemBox|item_name = Headshot Booster|item_type = Weapon||item_price = 500}} {{ItemBox|item_name = High-Velocity Mag|item_type = Weapon||item_price = 500}} {{ItemBox|item_name = Hollow Point Ward|item_type = Weapon||item_price = 500}} {{ItemBox|item_name = Monster Rounds|item_type = Weapon||item_price = 500}} {{ItemBox|item_name = Rapid Rounds|item_type = Weapon||item_price = 500}} {{ItemBox|item_name = Restorative Shot|item_type = Weapon||item_price = 500}}
    |group2    = {{Souls|1,250}}
    |list2      = {{ItemBox|item_name = Active Reload|item_type = Weapon||item_price = 1250}} {{ItemBox|item_name = Berserker|item_type = Weapon||item_price = 1250}} {{ItemBox|item_name = Kinetic Dash|item_type = Weapon||item_price = 1250}} {{ItemBox|item_name = Long Range|item_type = Weapon||item_price = 1250}} {{ItemBox|item_name = Melee Charge|item_type = Weapon||item_price = 1250}} {{ItemBox|item_name = Mystic Shot|item_type = Weapon||item_price = 1250}} {{ItemBox|item_name = Slowing Bullets|item_type = Weapon||item_price = 1250}} {{ItemBox|item_name = Soul Shredder Bullets|item_type = Weapon||item_price = 1250}} {{ItemBox|item_name = Swift Striker|item_type = Weapon||item_price = 1250}} {{ItemBox|item_name = Fleetfoot|item_type = Weapon||item_price = 1250}}
    |group3    = {{Souls|3,000+}}
    |list3      = {{ItemBox|item_name = Burst Fire|item_type = Weapon||item_price = 3000}} {{ItemBox|item_name = Escalating Resilience|item_type = Weapon||item_price = 3000}} {{ItemBox|item_name = Headhunter|item_type = Weapon||item_price = 3000}} {{ItemBox|item_name = Hunter's Aura|item_type = Weapon||item_price = 3000}} {{ItemBox|item_name = Intensifying Magazine|item_type = Weapon||item_price = 3000}} {{ItemBox|item_name = Point Blank|item_type = Weapon||item_price = 3000}} {{ItemBox|item_name = Pristine Emblem|item_type = Weapon||item_price = 3000}} {{ItemBox|item_name = Sharpshooter|item_type = Weapon||item_price = 3000}} {{ItemBox|item_name = Tesla Bullets|item_type = Weapon||item_price = 3000}} {{ItemBox|item_name = Titanic Magazine|item_type = Weapon||item_price = 3000}} {{ItemBox|item_name = Toxic Bullets|item_type = Weapon||item_price = 3000}} {{ItemBox|item_name = Alchemical Fire|item_type = Weapon||item_price = 3000}} {{ItemBox|item_name = Heroic Aura|item_type = Weapon||item_price = 3000}} {{ItemBox|item_name = Warp Stone|item_type = Weapon||item_price = 3000}}
    |group4    = {{Souls|6,300+}}
    |list4      = {{ItemBox|item_name = Crippling Headshot|item_type = Weapon||item_price = 6300}} {{ItemBox|item_name = Frenzy|item_type = Weapon||item_price = 6300}} {{ItemBox|item_name = Glass Cannon|item_type = Weapon||item_price = 6300}} {{ItemBox|item_name = Lucky Shot|item_type = Weapon||item_price = 6300}} {{ItemBox|item_name = Ricochet|item_type = Weapon||item_price = 6300}} {{ItemBox|item_name = Siphon Bullets|item_type = Weapon||item_price = 6300}} {{ItemBox|item_name = Spiritual Overflow|item_type = Weapon||item_price = 6300}} {{ItemBox|item_name = Silencer|item_type = Weapon||item_price = 7550}} {{ItemBox|item_name = Vampiric Burst|item_type = Weapon||item_price = 6300}}
    }}
}}|}}{{#ifeq:{{{vitality items|}}}|true|
{{Navbox
{{Navbox
|name      = Items
|name      = Items
|title      = [[File:Vitality Icon.png|30px|link=Vitality]] <b>Vitality Items</b>
|title      = [[File:Vitality Icon.png|30px|link={{#invoke:Dictionary|translate|Armor Item|lang_code_override=en}}]] <b>{{#invoke:Dictionary|translate|Armor Item}}</b>
|state      =  
|state      =  
|titlestyle = background-color:#ffefd7;
|titlestyle = background-color:#ffefd7;
Line 57: Line 23:
|above =  
|above =  
|group1    =  
|group1    =  
|list1      =  
|list1      = {{#invoke:ItemData/nav|write_item_slot_subgroup|Armor|get_item_nav_cards}}
{{Navbox subgroup
}}|}}{{#ifeq:{{{tech items|}}}|true|
|groupstyle = background-color:#557e15;width:10%;
|group1    = {{Souls|500}}
|list1      = {{ItemBox|item_name = Enduring Spirit|item_type = Vitality||item_price = 500}} {{ItemBox|item_name = Extra Health|item_type = Vitality||item_price = 500}} {{ItemBox|item_name = Extra Regen|item_type = Vitality||item_price = 500}} {{ItemBox|item_name = Extra Stamina|item_type = Vitality||item_price = 500}} {{ItemBox|item_name = Melee Lifesteal|item_type = Vitality||item_price = 500}} {{ItemBox|item_name = Sprint Boots|item_type = Vitality||item_price = 500}} {{ItemBox|item_name = Healing Rite|item_type = Vitality||item_price = 500}}
    |group2    = {{Souls|1,250}}
    |list2      = {{ItemBox|item_name = Bullet Armor|item_type = Vitality||item_price = 1250}} {{ItemBox|item_name = Bullet Lifesteal (item)|item_type = Vitality||item_price = 1250|display_name = Bullet Lifesteal}} {{ItemBox|item_name = Combat Barrier|item_type = Vitality||item_price = 1250}} {{ItemBox|item_name = Debuff Reducer|item_type = Vitality||item_price = 1250}} {{ItemBox|item_name = Enchanter's Barrier|item_type = Vitality||item_price = 1250}} {{ItemBox|item_name = Enduring Speed|item_type = Vitality||item_price = 1750}} {{ItemBox|item_name = Healbane|item_type = Vitality||item_price = 1250}} {{ItemBox|item_name = Healing Booster|item_type = Vitality||item_price = 1250}} {{ItemBox|item_name = Reactive Barrier|item_type = Vitality||item_price = 1250}} {{ItemBox|item_name = Spirit Armor|item_type = Vitality||item_price = 1250}} {{ItemBox|item_name = Spirit Lifesteal (item)|item_type = Vitality||item_price = 1250|display_name = Spirit Lifesteal}} {{ItemBox|item_name = Divine Barrier|item_type = Vitality||item_price = 1250}} {{ItemBox|item_name = Health Nova|item_type = Vitality||item_price = 1250}} {{ItemBox|item_name = Restorative Locket|item_type = Vitality||item_price = 1250}} {{ItemBox|item_name = Return Fire|item_type = Vitality||item_price = 1250}}
    |group3    = {{Souls|3,000+}}
    |list3      = {{ItemBox|item_name = Fortitude|item_type = Vitality|item_price = 3000}} {{ItemBox|item_name = Improved Bullet Armor|item_type = Vitality|item_price = 4250}} {{ItemBox|item_name = Improved Spirit Armor|item_type = Vitality|item_price = 4250}} {{ItemBox|item_name = Lifestrike|item_type = Vitality|item_price = 3500}} {{ItemBox|item_name = Superior Stamina|item_type = Vitality|item_price = 3500}} {{ItemBox|item_name = Veil Walker|item_type = Vitality|item_price = 3000}} {{ItemBox|item_name = Debuff Remover|item_type = Vitality|item_price = 4250}} {{ItemBox|item_name = Majestic Leap|item_type = Vitality|item_price = 3000}} {{ItemBox|item_name = Metal Skin|item_type = Vitality|item_price = 3000}} {{ItemBox|item_name = Rescue Beam|item_type = Vitality|item_price = 3000}}
    |group4    = {{Souls|6,300+}}
    |list4      = {{ItemBox|item_name = Inhibitor|item_type = Vitality|item_price = 6300}} {{ItemBox|item_name = Leech|item_type = Vitality|item_price = 6300}} {{ItemBox|item_name = Soul Rebirth|item_type = Vitality|item_price = 6300}} {{ItemBox|item_name = Colossus|item_type = Vitality|item_price = 6300}} {{ItemBox|item_name = Phantom Strike|item_type = Vitality|item_price = 6300}} {{ItemBox|item_name = Shadow Weave|item_type = Vitality|item_price = 6300}} {{ItemBox|item_name = Unstoppable|item_type = Vitality|item_price = 6300}}
    }}
}}|}}{{#ifeq:{{{spirit items|}}}|true|
{{Navbox
{{Navbox
|name      = Items
|name      = Items
|title      = [[File:Spirit icon.png|30px|link=Spirit]] <b>Spirit Items</b>
|title      = [[File:Spirit icon.png|30px|link={{#invoke:Dictionary|translate|Tech Item|lang_code_override=en}}]] <b>{{#invoke:Dictionary|translate|Tech Item}}</b>
|state      =  
|state      =  
|titlestyle = background-color:#ffefd7;
|titlestyle = background-color:#ffefd7;
Line 80: Line 35:
|above =  
|above =  
|group1    =  
|group1    =  
|list1      =  
|list1      = {{#invoke:ItemData/nav|write_item_slot_subgroup|Tech|get_item_nav_cards}}
{{Navbox subgroup
}}|}}<noinclude>{{Documentation}}</noinclude>
|groupstyle = background-color:#604078;width:10%;
|group1    = {{Souls|500}}
|list1      = {{ItemBox|item_name = Ammo Scavenger|item_type = Spirit|item_price = 500}} {{ItemBox|item_name = Extra Charge|item_type = Spirit|item_price = 500}} {{ItemBox|item_name = Extra Spirit|item_type = Spirit|item_price = 500}} {{ItemBox|item_name = Mystic Burst|item_type = Spirit|item_price = 500}} {{ItemBox|item_name = Mystic Reach|item_type = Spirit|item_price = 500}} {{ItemBox|item_name = Spirit Strike|item_type = Spirit|item_price = 500}} {{ItemBox|item_name = Infuser|item_type = Spirit|item_price = 500}}
    |group2    = {{Souls|1,250}}
    |list2      = {{ItemBox|item_name = Bullet Resist Shredder|item_type = Spirit|item_price = 1250}} {{ItemBox|item_name = Duration Extender|item_type = Spirit|item_price = 1250}} {{ItemBox|item_name = Improved Cooldown|item_type = Spirit|item_price = 1250}} {{ItemBox|item_name = Mystic Vulnerability|item_type = Spirit|item_price = 1250}} {{ItemBox|item_name = Quicksilver Reload|item_type = Spirit|item_price = 1250}} {{ItemBox|item_name = Suppressor|item_type = Spirit|item_price = 1250}} {{ItemBox|item_name = Cold Front|item_type = Spirit|item_price = 1250}} {{ItemBox|item_name = Decay|item_type = Spirit|item_price = 1250}} {{ItemBox|item_name = Slowing Hex|item_type = Spirit|item_price = 1250}} {{ItemBox|item_name = Withering Whip|item_type = Spirit|item_price = 1250}}
    |group3    = {{Souls|3,000+}}
    |list3      = {{ItemBox|item_name = Improved Burst|item_type = Spirit|item_price = 3500}} {{ItemBox|item_name = Improved Reach|item_type = Spirit|item_price = 3000}} {{ItemBox|item_name = Improved Spirit|item_type = Spirit|item_price = 3500}} {{ItemBox|item_name = Mystic Slow|item_type = Spirit|item_price = 4250}} {{ItemBox|item_name = Rapid Recharge|item_type = Spirit|item_price = 3500}} {{ItemBox|item_name = Superior Cooldown|item_type = Spirit|item_price = 4250}} {{ItemBox|item_name = Superior Duration|item_type = Spirit|item_price = 4250}} {{ItemBox|item_name = Surge of Power|item_type = Spirit|item_price = 3000}} {{ItemBox|item_name = Torment Pulse|item_type = Spirit|item_price = 3000}} {{ItemBox|item_name = Ethereal Shift|item_type = Spirit|item_price = 3000}} {{ItemBox|item_name = Knockdown|item_type = Spirit|item_price = 3000}} {{ItemBox|item_name = Silence Glyph|item_type = Spirit|item_price = 3000}}
    |group4    = {{Souls|6,300+}}
    |list4      = {{ItemBox|item_name = Boundless Spirit|item_type = Spirit|item_price = 9800}} {{ItemBox|item_name = Diviner's Kevlar|item_type = Spirit|item_price = 6300}} {{ItemBox|item_name = Escalating Exposure|item_type = Spirit|item_price = 7550}} {{ItemBox|item_name = Mystic Reverb|item_type = Spirit|item_price = 6300}} {{ItemBox|item_name = Curse|item_type = Spirit|item_price = 6300}} {{ItemBox|item_name = Echo Shard|item_type = Spirit|item_price = 6300}} {{ItemBox|item_name = Magic Carpet|item_type = Spirit|item_price = 6300}} {{ItemBox|item_name = Refresher|item_type = Spirit|item_price = 6300}}
    }}
}}|}}</onlyinclude>
 
{{Infobox ShopItems|weapon items = true|vitality items = true|spirit items = true}}