Template:Item Navbox: Difference between revisions

From The Deadlock Wiki
Jump to navigation Jump to search
Sur (talk | contribs)
m Weapon, Armor, Vitality texts now localized
Sur (talk | contribs)
m hyperlink guides to Weapon Item, etc. instead of Item
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:Lang|get_string|CitadelCategoryWeapon|lang_code_override=en|fallback_str=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(#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>
{{#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:Lang|get_string|CitadelCategoryArmor|lang_code_override=en|fallback_str=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(#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>
{{#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:Lang|get_string|CitadelCategoryTech|lang_code_override=en|fallback_str=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(#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>
{{#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 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.
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.