Template:Item Navbox: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
No edit summary
Snes (talk | contribs)
Add small horizontal padding for sublists
Line 12: Line 12:
{{Navbox subgroup
{{Navbox subgroup
|groupstyle = background-color:#c97a03;width:10%;
|groupstyle = background-color:#c97a03;width:10%;
    |listpadding = 0 0.25rem
|group1    = {{Souls|500|Shadow=text-shadow: 2px 2px rgba(0, 0, 0, 0.3);Shadow=text-shadow: 2px 2px rgba(0, 0, 0, 0.3);}}
|group1    = {{Souls|500|Shadow=text-shadow: 2px 2px rgba(0, 0, 0, 0.3);Shadow=text-shadow: 2px 2px rgba(0, 0, 0, 0.3);}}
|list1      = {{#invoke:ItemData/nav|get_item_nav_cards|Weapon|500|1250}}
|list1      = {{#invoke:ItemData/nav|get_item_nav_cards|Weapon|500|1250}}
Line 25: Line 26:
{{Navbox subgroup
{{Navbox subgroup
|groupstyle = background-color:#659818;width:10%;
|groupstyle = background-color:#659818;width:10%;
    |listpadding = 0 0.25rem
|group1    = {{Souls|500|Shadow=text-shadow: 2px 2px rgba(0, 0, 0, 0.3);Shadow=text-shadow: 2px 2px rgba(0, 0, 0, 0.3);}}
|group1    = {{Souls|500|Shadow=text-shadow: 2px 2px rgba(0, 0, 0, 0.3);Shadow=text-shadow: 2px 2px rgba(0, 0, 0, 0.3);}}
|list1      = {{#invoke:ItemData/nav|get_item_nav_cards|Armor|500|1250}}
|list1      = {{#invoke:ItemData/nav|get_item_nav_cards|Armor|500|1250}}
Line 38: Line 40:
{{Navbox subgroup
{{Navbox subgroup
|groupstyle = background-color:#8b56b4;width:10%;
|groupstyle = background-color:#8b56b4;width:10%;
    |listpadding = 0 0.25rem
|group1    = {{Souls|500|Shadow=text-shadow: 2px 2px rgba(0, 0, 0, 0.3);Shadow=text-shadow: 2px 2px rgba(0, 0, 0, 0.3);}}
|group1    = {{Souls|500|Shadow=text-shadow: 2px 2px rgba(0, 0, 0, 0.3);Shadow=text-shadow: 2px 2px rgba(0, 0, 0, 0.3);}}
|list1      = {{#invoke:ItemData/nav|get_item_nav_cards|Tech|500|1250}}
|list1      = {{#invoke:ItemData/nav|get_item_nav_cards|Tech|500|1250}}

Revision as of 23:43, 24 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.
Similar to Template:Infobox ShopItems, but calls Template:ItemIcon instead of Template:ItemBox for each item's formatting.