Template:Item Navbox: Difference between revisions

From The Deadlock Wiki
Jump to navigation Jump to search
Moved item type to be above each list to claim back horizontal space
Sur (talk | contribs)
mNo edit summary
Line 18: Line 18:
     |listpadding = 0 0.25rem
     |listpadding = 0 0.25rem
|group1    = {{Souls|500|Shadow={{#var:souls_style}}}}
|group1    = {{Souls|500|Shadow={{#var:souls_style}}}}
|list1      = {{#invoke:ItemData/nav|get_item_nav_cards|Weapon|500|1250}}
|list1      = {{#invoke:ItemData/nav|get_item_nav_bulletpoints|Weapon|500|1250}}
     |group2    = {{Souls|1,250|Shadow={{#var:souls_style}}}}
     |group2    = {{Souls|1,250|Shadow={{#var:souls_style}}}}
     |list2      = {{#invoke:ItemData/nav|get_item_nav_cards|Weapon|1250|3000}}
     |list2      = {{#invoke:ItemData/nav|get_item_nav_bulletpoints|Weapon|1250|3000}}
     |group3    = {{Souls|3,000+|Shadow={{#var:souls_style}}}}
     |group3    = {{Souls|3,000+|Shadow={{#var:souls_style}}}}
     |list3      = {{#invoke:ItemData/nav|get_item_nav_cards|Weapon|3000|6200}}
     |list3      = {{#invoke:ItemData/nav|get_item_nav_bulletpoints|Weapon|3000|6200}}
     |group4    = {{Souls|6,200+|Shadow={{#var:souls_style}}}}  
     |group4    = {{Souls|6,200+|Shadow={{#var:souls_style}}}}  
     |list4      = {{#invoke:ItemData/nav|get_item_nav_cards|Weapon|6200|10000}}
     |list4      = {{#invoke:ItemData/nav|get_item_nav_bulletpoints|Weapon|6200|10000}}
     }}
     }}
|group2    =  
|group2    =  
Line 34: Line 34:
     |listpadding = 0 0.25rem
     |listpadding = 0 0.25rem
|group1    = {{Souls|500|Shadow={{#var:souls_style}}}}
|group1    = {{Souls|500|Shadow={{#var:souls_style}}}}
|list1      = {{#invoke:ItemData/nav|get_item_nav_cards|Armor|500|1250}}
|list1      = {{#invoke:ItemData/nav|get_item_nav_bulletpoints|Armor|500|1250}}
     |group2    = {{Souls|1,250|Shadow={{#var:souls_style}}}}
     |group2    = {{Souls|1,250|Shadow={{#var:souls_style}}}}
     |list2      = {{#invoke:ItemData/nav|get_item_nav_cards|Armor|1250|3000}}
     |list2      = {{#invoke:ItemData/nav|get_item_nav_bulletpoints|Armor|1250|3000}}
     |group3    = {{Souls|3,000+|Shadow={{#var:souls_style}}}}
     |group3    = {{Souls|3,000+|Shadow={{#var:souls_style}}}}
     |list3      = {{#invoke:ItemData/nav|get_item_nav_cards|Armor|3000|6200}}
     |list3      = {{#invoke:ItemData/nav|get_item_nav_bulletpoints|Armor|3000|6200}}
     |group4    = {{Souls|6,200+|Shadow={{#var:souls_style}}}}
     |group4    = {{Souls|6,200+|Shadow={{#var:souls_style}}}}
     |list4      = {{#invoke:ItemData/nav|get_item_nav_cards|Armor|6200|10000}}
     |list4      = {{#invoke:ItemData/nav|get_item_nav_bulletpoints|Armor|6200|10000}}
     }}
     }}
|group3    =  
|group3    =  
Line 50: Line 50:
     |listpadding = 0 0.25rem
     |listpadding = 0 0.25rem
|group1    = {{Souls|500|Shadow={{#var:souls_style}}}}
|group1    = {{Souls|500|Shadow={{#var:souls_style}}}}
|list1      = {{#invoke:ItemData/nav|get_item_nav_cards|Tech|500|1250}}
|list1      = {{#invoke:ItemData/nav|get_item_nav_bulletpoints|Tech|500|1250}}
     |group2    = {{Souls|1,250|Shadow={{#var:souls_style}}}}
     |group2    = {{Souls|1,250|Shadow={{#var:souls_style}}}}
     |list2      = {{#invoke:ItemData/nav|get_item_nav_cards|Tech|1250|3000}}
     |list2      = {{#invoke:ItemData/nav|get_item_nav_bulletpoints|Tech|1250|3000}}
     |group3    = {{Souls|3,000+|Shadow={{#var:souls_style}}}}
     |group3    = {{Souls|3,000+|Shadow={{#var:souls_style}}}}
     |list3      = {{#invoke:ItemData/nav|get_item_nav_cards|Tech|3000|6200}}
     |list3      = {{#invoke:ItemData/nav|get_item_nav_bulletpoints|Tech|3000|6200}}
     |group4    = {{Souls|6,200+|Shadow={{#var:souls_style}}}}
     |group4    = {{Souls|6,200+|Shadow={{#var:souls_style}}}}
     |list4      = {{#invoke:ItemData/nav|get_item_nav_cards|Tech|6200|10000}}
     |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>
}}<!--Do not have this template automatically transclude [[Category:Items]]! Instead {{Infobox item}} should do that.--><noinclude>{{Documentation}}</noinclude>

Revision as of 00:11, 31 October 2024

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.