Template:Infobox ShopItems: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Saag (talk | contribs)
Removed manual attribute assignment for Spirit items
Saag (talk | contribs)
Moved each type of item to its own template
Line 34: Line 34:
|above =  
|above =  
|group1    =  
|group1    =  
|list1      =  
|list1      = {{Weapon Items}}
{{Navbox subgroup
|groupstyle = background-color:#79511f;width:10%;
|group1    = {{Souls|500}}
|list1      = {{ItemBox|item_name = Basic Magazine}}
                  {{ItemBox|item_name = Close Quarters}}
                  {{ItemBox|item_name = Headshot Booster}}
                  {{ItemBox|item_name = High-Velocity Mag}}
                  {{ItemBox|item_name = Hollow Point Ward}}
                  {{ItemBox|item_name = Monster Rounds}}
                  {{ItemBox|item_name = Rapid Rounds}}
                  {{ItemBox|item_name = Restorative Shot}}
    |group2    = {{Souls|1,250+}}
    |list2      =
                  {{ItemBox|item_name = Active Reload}}
                  {{ItemBox|item_name = Berserker}}
                  {{ItemBox|item_name = Kinetic Dash}}
                  {{ItemBox|item_name = Long Range}}
                  {{ItemBox|item_name = Melee Charge}}
                  {{ItemBox|item_name = Mystic Shot}}
                  {{ItemBox|item_name = Slowing Bullets}}
                  {{ItemBox|item_name = Soul Shredder Bullets}}
                  {{ItemBox|item_name = Swift Striker}}
                  {{ItemBox|item_name = Fleetfoot}}
    |group3    = {{Souls|3,000+}}
    |list3      = {{ItemBox|item_name = Burst Fire}}
                  {{ItemBox|item_name = Escalating Resilience}}
                  {{ItemBox|item_name = Headhunter}}
                  {{ItemBox|item_name = Hunter's Aura}}
                  {{ItemBox|item_name = Intensifying Magazine}}
                  {{ItemBox|item_name = Point Blank}}
                  {{ItemBox|item_name = Pristine Emblem}}
                  {{ItemBox|item_name = Sharpshooter}}
                  {{ItemBox|item_name = Tesla Bullets}}
                  {{ItemBox|item_name = Titanic Magazine}}
                  {{ItemBox|item_name = Toxic Bullets}}
                  {{ItemBox|item_name = Alchemical Fire}}
                  {{ItemBox|item_name = Heroic Aura}}
                  {{ItemBox|item_name = Warp Stone}}
    |group4    = {{Souls|6,300+}}
    |list4      = {{ItemBox|item_name = Crippling Headshot}}
                  {{ItemBox|item_name = Frenzy}}
                  {{ItemBox|item_name = Glass Cannon}}
                  {{ItemBox|item_name = Lucky Shot}}
                  {{ItemBox|item_name = Ricochet}}
                  {{ItemBox|item_name = Siphon Bullets}}
                  {{ItemBox|item_name = Spiritual Overflow}}
                  {{ItemBox|item_name = Silencer}}
                  {{ItemBox|item_name = Vampiric Burst}}
    }}
}}|}}{{#ifeq:{{{vitality items|}}}|true|
}}|}}{{#ifeq:{{{vitality items|}}}|true|
{{Navbox
{{Navbox
Line 95: Line 46:
|above =  
|above =  
|group1    =  
|group1    =  
|list1      =  
|list1      = {{Vitality Items}}
{{Navbox subgroup
|groupstyle = background-color:#557e15;width:10%;
|group1    = {{Souls|500}}
|list1      = {{ItemBox|item_name = Enduring Spirit}}
                  {{ItemBox|item_name = Extra Health}}
                  {{ItemBox|item_name = Extra Regen}}
                  {{ItemBox|item_name = Extra Stamina}}
                  {{ItemBox|item_name = Melee Lifesteal}}
                  {{ItemBox|item_name = Sprint Boots}}
                  {{ItemBox|item_name = Healing Rite}}
    |group2    = {{Souls|1,250+}}
    |list2      = {{ItemBox|item_name = Bullet Armor}}
                  {{ItemBox|item_name = Bullet Lifesteal}}
                  {{ItemBox|item_name = Combat Barrier}}
                  {{ItemBox|item_name = Debuff Reducer}}
                  {{ItemBox|item_name = Enchanter's Barrier}}
                  {{ItemBox|item_name = Enduring Speed}}
                  {{ItemBox|item_name = Healbane}}
                  {{ItemBox|item_name = Healing Booster}}
                  {{ItemBox|item_name = Reactive Barrier}}
                  {{ItemBox|item_name = Spirit Armor}}
                  {{ItemBox|item_name = Spirit Lifesteal}}
                  {{ItemBox|item_name = Divine Barrier}}
                  {{ItemBox|item_name = Health Nova}}
                  {{ItemBox|item_name = Restorative Locket}}
                  {{ItemBox|item_name = Return Fire}}
    |group3    = {{Souls|3,000+}}
    |list3      = {{ItemBox|item_name = Fortitude}}
                  {{ItemBox|item_name = Improved Bullet Armor}}
                  {{ItemBox|item_name = Improved Spirit Armor}}
                  {{ItemBox|item_name = Lifestrike}}
                  {{ItemBox|item_name = Superior Stamina}}
                  {{ItemBox|item_name = Veil Walker}}
                  {{ItemBox|item_name = Debuff Remover}}
                  {{ItemBox|item_name = Majestic Leap}}
                  {{ItemBox|item_name = Metal Skin}}
                  {{ItemBox|item_name = Rescue Beam}}
    |group4    = {{Souls|6,300+}}
    |list4      = {{ItemBox|item_name = Inhibitor}}
                  {{ItemBox|item_name = Leech}}
                  {{ItemBox|item_name = Soul Rebirth}}
                  {{ItemBox|item_name = Colossus}}
                  {{ItemBox|item_name = Phantom Strike}}
                  {{ItemBox|item_name = Shadow Weave}}
                  {{ItemBox|item_name = Unstoppable}}
    }}
}}|}}{{#ifeq:{{{spirit items|}}}|true|
}}|}}{{#ifeq:{{{spirit items|}}}|true|
{{Navbox
{{Navbox
Line 153: Line 58:
|above =  
|above =  
|group1    =  
|group1    =  
|list1      =  
|list1      = {{Spirit Items}}
{{Navbox subgroup
|groupstyle = background-color:#604078;width:10%;
|group1    = {{Souls|500}}
|list1      = {{ItemBox|item_name = Ammo Scavenger}}
                  {{ItemBox|item_name = Extra Charge}}
                  {{ItemBox|item_name = Extra Spirit}}
                  {{ItemBox|item_name = Mystic Burst}}
                  {{ItemBox|item_name = Mystic Reach}}
                  {{ItemBox|item_name = Spirit Strike}}
                  {{ItemBox|item_name = Infuser}}
    |group2    = {{Souls|1,250+}}
    |list2      = {{ItemBox|item_name = Bullet Resist Shredder}}
                  {{ItemBox|item_name = Duration Extender}}
                  {{ItemBox|item_name = Improved Cooldown}}
                  {{ItemBox|item_name = Mystic Vulnerability}}
                  {{ItemBox|item_name = Quicksilver Reload}}
                  {{ItemBox|item_name = Suppressor}}
                  {{ItemBox|item_name = Cold Front}}
                  {{ItemBox|item_name = Decay}}
                  {{ItemBox|item_name = Slowing Hex}}
                  {{ItemBox|item_name = Withering Whip}}
    |group3    = {{Souls|3,000+}}
    |list3      = {{ItemBox|item_name = Improved Burst}}
                  {{ItemBox|item_name = Improved Reach}}
                  {{ItemBox|item_name = Improved Spirit}}
                  {{ItemBox|item_name = Mystic Slow}}
                  {{ItemBox|item_name = Rapid Recharge}}
                  {{ItemBox|item_name = Superior Cooldown}}
                  {{ItemBox|item_name = Superior Duration}}
                  {{ItemBox|item_name = Surge of Power}}
                  {{ItemBox|item_name = Torment Pulse}}
                  {{ItemBox|item_name = Ethereal Shift}}
                  {{ItemBox|item_name = Knockdown}}
                  {{ItemBox|item_name = Silence Glyph}}
    |group4    = {{Souls|6,300+}}
    |list4      = {{ItemBox|item_name = Boundless Spirit}}
                  {{ItemBox|item_name = Diviner's Kevlar}}
                  {{ItemBox|item_name = Escalating Exposure}}
                  {{ItemBox|item_name = Mystic Reverb}}
                  {{ItemBox|item_name = Curse}}
                  {{ItemBox|item_name = Echo Shard}}
                  {{ItemBox|item_name = Magic Carpet}}
                  {{ItemBox|item_name = Refresher}}
    }}
}}|}}</onlyinclude>
}}|}}</onlyinclude>


{{Infobox ShopItems|weapon items = true|vitality items = true|spirit items = true}}
{{Infobox ShopItems|weapon items = true|vitality items = true|spirit items = true}}

Revision as of 23:32, 9 September 2024

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 :) )

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
weapon itemsweapon items

Choose whether or not to show Weapon items.

Default
false
Booleanoptional
vitality itemsvitality items

Choose whether or not to show Vitality Items

Default
false
Booleanoptional
spirit itemsspirit items

Choose whether or not to show Spirit Items.

Default
false
Booleanoptional