Template:Item Navbox: Difference between revisions

From The Deadlock Wiki
Jump to navigation Jump to search
Sur (talk | contribs)
mNo edit summary
Undo revision 97297 by Kai (talk)
Tags: Replaced Undo
 
(44 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{{#vardefine: souls_style|font-size: 12px; text-shadow: 1px 1px rgba(0, 0, 0, 0.3);}}
<includeonly>{{#invoke:Item Navbox|generate_full_navbox}}</includeonly><noinclude>{{Documentation}}</noinclude>
{{Navbox
|name      = Items
|title      = [[Items|<span style="color:#FFF5E8; font-weight:bold; font-family: 'Retail Demo', 'PT Serif','Palatino','Georgia',serif; font-size: 18px;
text-shadow: 1px 1px rgba(0,0,0,0.3); ">Items</span>]]
|state      =
|titlestyle = border-radius: 8px; background-image: linear-gradient(#c1a671, #d0bb95); font-family: 'PT Serif', 'Palatino','FreeSerif','Liberation Serif', serif;
|groupstyle = border-bottom-left-radius: 8px; border-top-left-radius: 8px; background-image: linear-gradient(#c1a671, #d0bb95); font-family: 'Forevs Demo Bold', 'PT Serif', 'Palatino','FreeSerif','Liberation Serif', serif; padding: 5px; text-align: center;
|abovestyle = background:#bdad9f;
|aboveclass = hlist
|above =
|group1    =
|list1      =
<div style="text-align: center; width: 100%; margin: 5px 0 5px 0; background-image: linear-gradient(#c1a671, #d0bb95); border-radius: 8px;">[[Weapon|<span style="color:#FFF5E8; font-family:'Retail Demo','FreeSerif','Liberation Serif',serif; font-weight:bold; text-shadow: 1px 1px rgba(0,0,0,0.3);">Weapon</span>]]</div>
{{Navbox subgroup
|groupstyle = background-color:#c97a03;width:10%;min-width:70px;border-radius: 8px 0 0 8px
    |grouppadding = 5px
    |listpadding = 0 0.25rem
|group1    = {{Souls|500|Shadow={{#var:souls_style}}}}
|list1      = {{#invoke:ItemData/nav|get_item_nav_bulletpoints|Weapon|500|1250}}
    |group2    = {{Souls|1,250|Shadow={{#var:souls_style}}}}
    |list2      = {{#invoke:ItemData/nav|get_item_nav_bulletpoints|Weapon|1250|3000}}
    |group3    = {{Souls|3,000+|Shadow={{#var:souls_style}}}}
    |list3      = {{#invoke:ItemData/nav|get_item_nav_bulletpoints|Weapon|3000|6200}}
    |group4    = {{Souls|6,200+|Shadow={{#var:souls_style}}}}
    |list4      = {{#invoke:ItemData/nav|get_item_nav_bulletpoints|Weapon|6200|10000}}
    }}
|group2    =
|list2      =
<div style="text-align: center; width: 100%; margin: 5px 0 5px 0; background-image: linear-gradient(#c1a671, #d0bb95); border-radius: 8px;">[[Vitality|<span style="color:#FFF5E8; font-family:'Retail Demo','FreeSerif','Liberation Serif',serif; font-weight:bold; text-shadow: 1px 1px rgba(0,0,0,0.3);">Vitality</span>]]</div>
{{Navbox subgroup
|groupstyle = background-color:#659818;width:10%;min-width:70px;border-radius: 8px 0 0 8px
    |grouppadding = 5px
    |listpadding = 0 0.25rem
|group1    = {{Souls|500|Shadow={{#var:souls_style}}}}
|list1      = {{#invoke:ItemData/nav|get_item_nav_bulletpoints|Armor|500|1250}}
    |group2    = {{Souls|1,250|Shadow={{#var:souls_style}}}}
    |list2      = {{#invoke:ItemData/nav|get_item_nav_bulletpoints|Armor|1250|3000}}
    |group3    = {{Souls|3,000+|Shadow={{#var:souls_style}}}}
    |list3      = {{#invoke:ItemData/nav|get_item_nav_bulletpoints|Armor|3000|6200}}
    |group4    = {{Souls|6,200+|Shadow={{#var:souls_style}}}}
    |list4      = {{#invoke:ItemData/nav|get_item_nav_bulletpoints|Armor|6200|10000}}
    }}
|group3    =
|list3      =
<div style="text-align: center; width: 100%; margin: 5px 0 5px 0; background-image: linear-gradient(#c1a671, #d0bb95); border-radius: 8px;">[[Spirit|<span style="color:#FFF5E8; font-family:'Retail Demo','FreeSerif','Liberation Serif',serif; font-weight:bold; text-shadow: 1px 1px rgba(0,0,0,0.3);">Spirit</span>]]</div>
{{Navbox subgroup
|groupstyle = background-color:#8b56b4;width:10%;min-width:70px;border-radius: 8px 0 0 8px
    |grouppadding = 5px
    |listpadding = 0 0.25rem
|group1    = {{Souls|500|Shadow={{#var:souls_style}}}}
|list1      = {{#invoke:ItemData/nav|get_item_nav_bulletpoints|Tech|500|1250}}
    |group2    = {{Souls|1,250|Shadow={{#var:souls_style}}}}
    |list2      = {{#invoke:ItemData/nav|get_item_nav_bulletpoints|Tech|1250|3000}}
    |group3    = {{Souls|3,000+|Shadow={{#var:souls_style}}}}
    |list3      = {{#invoke:ItemData/nav|get_item_nav_bulletpoints|Tech|3000|6200}}
    |group4    = {{Souls|6,200+|Shadow={{#var:souls_style}}}}
    |list4      = {{#invoke:ItemData/nav|get_item_nav_bulletpoints|Tech|6200|10000}}
    }}
}}<!--Do not have this template automatically transclude [[Category:Items]]! Instead {{Infobox item}} should do that.--><noinclude>{{Documentation}}</noinclude>

Latest revision as of 20:40, 19 July 2026

Template documentation [view] [edit] [history] [purge]
This template is for the Items navigation box which lists all items in the game. You may be looking for the item icon template.
CSS3 logo.svg
This template uses CSS found at Item Navbox/styles.css.

Similar to Template:Infobox ShopItems, but calls Template:ItemIcon instead of Template:ItemBox for each item's formatting. Street Brawl items are automatically listed in a separate row at the bottom of each category.

Weapon
Vitality
Spirit