Template:Item Navbox: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Sur (talk | contribs)
m now more dynamic by generating each list with min and max soul bounds
m Added Shadows to Souls
Line 12: Line 12:
{{Navbox subgroup
{{Navbox subgroup
|groupstyle = background-color:#c97a03;width:10%;
|groupstyle = background-color:#c97a03;width:10%;
|group1    = {{Souls|500}}
|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}}
     |group2    = {{Souls|1,250}}
     |group2    = {{Souls|1,250|Shadow=text-shadow: 2px 2px rgba(0, 0, 0, 0.3);Shadow=text-shadow: 2px 2px rgba(0, 0, 0, 0.3);}}
     |list2      = {{#invoke:ItemData/nav|get_item_nav_cards|Weapon|1250|3000}}
     |list2      = {{#invoke:ItemData/nav|get_item_nav_cards|Weapon|1250|3000}}
     |group3    = {{Souls|3,000+}}
     |group3    = {{Souls|3,000+|Shadow=text-shadow: 2px 2px rgba(0, 0, 0, 0.3);Shadow=text-shadow: 2px 2px rgba(0, 0, 0, 0.3);}}
     |list3      = {{#invoke:ItemData/nav|get_item_nav_cards|Weapon|3000|6200}}
     |list3      = {{#invoke:ItemData/nav|get_item_nav_cards|Weapon|3000|6200}}
     |group4    = {{Souls|6,200+}}
     |group4    = {{Souls|6,200+|Shadow=text-shadow: 2px 2px rgba(0, 0, 0, 0.3);Shadow=text-shadow: 2px 2px rgba(0, 0, 0, 0.3);}}
     |list4      = {{{#invoke:ItemData/nav|get_item_nav_cards|Weapon|6200|10000}}
     |list4      = {{{#invoke:ItemData/nav|get_item_nav_cards|Weapon|6200|10000}}
     }}
     }}
Line 25: Line 25:
{{Navbox subgroup
{{Navbox subgroup
|groupstyle = background-color:#659818;width:10%;
|groupstyle = background-color:#659818;width:10%;
|group1    = {{Souls|500}}
|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}}
     |group2    = {{Souls|1,250}}
     |group2    = {{Souls|1,250|Shadow=text-shadow: 2px 2px rgba(0, 0, 0, 0.3);Shadow=text-shadow: 2px 2px rgba(0, 0, 0, 0.3);}}
     |list2      = {{#invoke:ItemData/nav|get_item_nav_cards|Armor|1250|3000}}
     |list2      = {{#invoke:ItemData/nav|get_item_nav_cards|Armor|1250|3000}}
     |group3    = {{Souls|3,000+}}
     |group3    = {{Souls|3,000+|Shadow=text-shadow: 2px 2px rgba(0, 0, 0, 0.3);Shadow=text-shadow: 2px 2px rgba(0, 0, 0, 0.3);}}
     |list3      = {{#invoke:ItemData/nav|get_item_nav_cards|Armor|3000|6200}}
     |list3      = {{#invoke:ItemData/nav|get_item_nav_cards|Armor|3000|6200}}
     |group4    = {{Souls|6,200+}}
     |group4    = {{Souls|6,200+|Shadow=text-shadow: 2px 2px rgba(0, 0, 0, 0.3);Shadow=text-shadow: 2px 2px rgba(0, 0, 0, 0.3);}}
     |list4      = {{#invoke:ItemData/nav|get_item_nav_cards|Armor|6200|10000}}
     |list4      = {{#invoke:ItemData/nav|get_item_nav_cards|Armor|6200|10000}}
     }}
     }}
Line 38: Line 38:
{{Navbox subgroup
{{Navbox subgroup
|groupstyle = background-color:#8b56b4;width:10%;
|groupstyle = background-color:#8b56b4;width:10%;
|group1    = {{Souls|500}}
|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}}
     |group2    = {{Souls|1,250}}
     |group2    = {{Souls|1,250|Shadow=text-shadow: 2px 2px rgba(0, 0, 0, 0.3);Shadow=text-shadow: 2px 2px rgba(0, 0, 0, 0.3);}}
     |list2      = {{#invoke:ItemData/nav|get_item_nav_cards|Tech|1250|3000}}
     |list2      = {{#invoke:ItemData/nav|get_item_nav_cards|Tech|1250|3000}}
     |group3    = {{Souls|3,000+}}
     |group3    = {{Souls|3,000+|Shadow=text-shadow: 2px 2px rgba(0, 0, 0, 0.3);Shadow=text-shadow: 2px 2px rgba(0, 0, 0, 0.3);}}
     |list3      = {{#invoke:ItemData/nav|get_item_nav_cards|Tech|3000|6200}}
     |list3      = {{#invoke:ItemData/nav|get_item_nav_cards|Tech|3000|6200}}
     |group4    = {{Souls|6,200+}}
     |group4    = {{Souls|6,200+|Shadow=text-shadow: 2px 2px rgba(0, 0, 0, 0.3);Shadow=text-shadow: 2px 2px rgba(0, 0, 0, 0.3);}}
     |list4      = {{#invoke:ItemData/nav|get_item_nav_cards|Tech|6200|10000}}
     |list4      = {{#invoke:ItemData/nav|get_item_nav_cards|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 04:25, 16 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.