Template:Item Navbox: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Sur (talk | contribs)
mNo edit summary
Sur (talk | contribs)
m hyperlink guides to Weapon Item, etc. instead of Item
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#vardefine: souls_style|font-size: 12px; text-shadow: 1px 1px rgba(0, 0, 0, 0.3);}}
{{Navbox
{{Navbox
|name      = Items
|name      = Items
|title      = [[Items|<span style="color:#FFF5E8; font-weight:bold; font-family: 'Retail Demo', 'PT Serif','Palatino','Georgia',serif; font-size: 18px;
|title      = [[Item|<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>]]
text-shadow: 1px 1px rgba(0,0,0,0.3); ">Items</span>]]
|state      =  
|state      =  
Line 12: Line 11:
|group1    =
|group1    =
|list1      =  
|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>
<div style="text-align: center; width: 100%; margin: 5px 0 5px 0; background-image: linear-gradient(#c1a671, #d0bb95); border-radius: 8px;">[[{{#invoke:Dictionary|translate|Weapon Item|lang_code_override=en}}|<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);">{{#invoke:Lang|get_string|CitadelCategoryWeapon|fallback_str=en}}</span>]]</div>
{{Navbox subgroup
{{#invoke:ItemData/nav|write_item_slot_subgroup|Weapon|get_item_nav_bulletpoints}}
|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    =  
|group2    =  
|list2      =  
|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>
<div style="text-align: center; width: 100%; margin: 5px 0 5px 0; background-image: linear-gradient(#c1a671, #d0bb95); border-radius: 8px;">[[{{#invoke:Dictionary|translate|Armor Item|lang_code_override=en}}|<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);">{{#invoke:Lang|get_string|CitadelCategoryArmor|fallback_str=en}}</span>]]</div>
{{Navbox subgroup
{{#invoke:ItemData/nav|write_item_slot_subgroup|Armor|get_item_nav_bulletpoints}}
|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    =  
|group3    =  
|list3      =  
|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>
<div style="text-align: center; width: 100%; margin: 5px 0 5px 0; background-image: linear-gradient(#c1a671, #d0bb95); border-radius: 8px;">[[{{#invoke:Dictionary|translate|Tech Item|lang_code_override=en}}|<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);">{{#invoke:Lang|get_string|CitadelCategoryTech|fallback_str=en}}</span>]]</div>
{{Navbox subgroup
{{#invoke:ItemData/nav|write_item_slot_subgroup|Tech|get_item_nav_bulletpoints}}
|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>
}}<!--Do not have this template automatically transclude [[Category:Items]]! Instead {{Infobox item}} should do that.--><noinclude>{{Documentation}}</noinclude>

Latest revision as of 03:40, 2 November 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.