Template:Item Navbox: Difference between revisions

From The Deadlock Wiki
Jump to navigation Jump to search
Manual revert
Tag: Manual revert
adjusted colors for dark mode
Line 4: Line 4:
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      =  
|titlestyle = border-radius: 8px; background-image: linear-gradient(#c1a671, #d0bb95); font-family: 'PT Serif', 'Palatino','FreeSerif','Liberation Serif', serif;
|titlestyle = border-radius: 8px; background-image: linear-gradient(#987556, #e8be86); 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;
|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;
|abovestyle = background:#bdad9f;
Line 11: 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;">[[{{#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>
<div style="text-align: center; width: 100%; margin: 5px 0 5px 0; background-image: linear-gradient(#987556, #e8be86); 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>
{{#invoke:ItemData/nav|write_item_slot_subgroup|Weapon|get_item_nav_bulletpoints}}
{{#invoke:ItemData/nav|write_item_slot_subgroup|Weapon|get_item_nav_bulletpoints}}
|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;">[[{{#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>
<div style="text-align: center; width: 100%; margin: 5px 0 5px 0; background-image: linear-gradient(#987556, #e8be86); 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>
{{#invoke:ItemData/nav|write_item_slot_subgroup|Armor|get_item_nav_bulletpoints}}
{{#invoke:ItemData/nav|write_item_slot_subgroup|Armor|get_item_nav_bulletpoints}}
|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;">[[{{#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>
<div style="text-align: center; width: 100%; margin: 5px 0 5px 0; background-image: linear-gradient(#987556, #e8be86); 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>
{{#invoke:ItemData/nav|write_item_slot_subgroup|Tech|get_item_nav_bulletpoints}}
{{#invoke:ItemData/nav|write_item_slot_subgroup|Tech|get_item_nav_bulletpoints}}
}}<!--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 14:13, 4 February 2025

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.