Template:Item Navbox: Difference between revisions

From The Deadlock Wiki
Jump to navigation Jump to search
simplified code
Undo revision 97297 by Kai (talk)
Tags: Replaced Undo
 
(23 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{Navbox
<includeonly>{{#invoke:Item Navbox|generate_full_navbox}}</includeonly><noinclude>{{Documentation}}</noinclude>
|name      = Items
|title      = [[Item{{if_lang}}|<span style=color:#FFF5E8>{{#invoke:Dictionary|translate|Items}}]]</span>
|state      =
|titlestyle = border-radius: 8px; background-image: linear-gradient(#987556, #e8be86); font-weight:bold; font-family: 'Retail Demo', 'Open Sans', 'PT Serif','Palatino','Georgia', serif; font-size: 18px; text-shadow: 0px 2px 2px black, 0px 0px 2px black;
|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;
|aboveclass = hlist
|above =
|group1    =
|list1      = <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}}{{if_lang}}|<span style="color:#FFF5E8; font-family:'Retail Demo','Open Sans','FreeSerif','Liberation Serif',serif; font-weight:bold; text-shadow: 0px 2px 2px black, 0px 0px 2px black;">{{#invoke:Lang|get_string|CitadelCategoryWeapon|fallback_str=en}}</span>]]</div>
{{#invoke:ItemData/nav|write_item_slot_subgroup|Weapon|get_item_nav_bulletpoints}}
|group2    =
|list2      = <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}}{{if_lang}}|<span style="color:#FFF5E8; font-family:'Retail Demo','Open Sans','FreeSerif','Liberation Serif',serif; font-weight:bold; text-shadow: 0px 2px 2px black, 0px 0px 2px black;">{{#invoke:Lang|get_string|CitadelCategoryArmor|fallback_str=en}}</span>]]</div>
{{#invoke:ItemData/nav|write_item_slot_subgroup|Armor|get_item_nav_bulletpoints}}
|group3    =
|list3      = <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}}{{if_lang}}|<span style="color:#FFF5E8; font-family:'Retail Demo','Open Sans','FreeSerif','Liberation Serif',serif; font-weight:bold; text-shadow: 0px 2px 2px black, 0px 0px 2px black;">{{#invoke:Lang|get_string|CitadelCategoryTech|fallback_str=en}}</span>]]</div>
{{#invoke:ItemData/nav|write_item_slot_subgroup|Tech|get_item_nav_bulletpoints}}
|group4    =
|list4      = <div style="text-align:center;width:100%;margin:5px 0;background-image:linear-gradient(#987556,#e8be86);border-radius:8px;">[[Seasonal events{{if_lang}}|<span style="color:#FFF5E8;font-family:'Retail Demo','Open Sans','FreeSerif','Liberation Serif',serif;font-weight:bold;text-shadow:0px 2px 2px black,0px 0px 2px black;">{{#invoke:Dictionary|translate|Seasonal}}</span>]]</div><div style="display:flex;align-items:center;margin:2px 0;"><div style="padding:5px;padding-right:0;background-color:#455862;width:10%;min-width:70px;border-radius:8px 0 0 8px;text-align:left;font-weight:bold;color:white;font-size:12px;">{{Souls|0}}</div><div style="padding:0 0.25rem;">{{PageRef|Snowball|alt_name={{#invoke:Lang|get_string|cosmetic_item_snowball}}}}</div></div>}}<!--Do not have this template automatically transclude [[Category:Items]]! Instead {{Infobox item}} should do that.--><noinclude>{{Documentation}}</noinclude>

Latest revision as of 20:40, 19 July 2026

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.

Weapon
Vitality
Spirit