Template:Item Navbox: Difference between revisions

From The Deadlock Wiki
Jump to navigation Jump to search
styles.css
Undo revision 97297 by Kai (talk)
Tags: Replaced Undo
 
(8 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<templatestyles src="Navbox/styles.css" />
<includeonly>{{#invoke:Item Navbox|generate_full_navbox}}</includeonly><noinclude>{{Documentation}}</noinclude>
<includeonly>{{Navbox
|name      = Items
|title      = [[Item{{if_lang}}|<span class=navbox_title style=color:#FFF5E8>{{#invoke:Lang|get_string|Citadel_Scoreboard_Items}}]]</span>
|state      =
|titlestyle = border-radius: 8px; font-size: 18px;
|groupstyle =
|abovestyle = background:#bdad9f;
|aboveclass = hlist
|above =
|group1    =
|list1      = <div class="item-nav nav-bg">[[{{#invoke:Dictionary|translate|Weapon Item|lang_code_override=en}}{{if_lang}}|<span class="item-nav-category-text">{{#invoke:Lang|get_string|CitadelCategoryWeapon|fallback_str=en}}</span>]]</div>
{{#invoke:ItemData/nav|write_item_slot_subgroup|Weapon|get_item_nav_bulletpoints|street_brawl_label={{Legendary|{{#invoke:Lang|get_string|Citadel_ItemDraft_Legendary}}}}}}
|group2    =
|list2      = <div class="item-nav nav-bg">[[{{#invoke:Dictionary|translate|Armor Item|lang_code_override=en}}{{if_lang}}|<span class="item-nav-category-text">{{#invoke:Lang|get_string|CitadelCategoryArmor|fallback_str=en}}</span>]]</div>
{{#invoke:ItemData/nav|write_item_slot_subgroup|Armor|get_item_nav_bulletpoints|street_brawl_label={{Legendary|{{#invoke:Lang|get_string|Citadel_ItemDraft_Legendary}}}}}}
|group3    =
|list3      = <div class="item-nav nav-bg">[[{{#invoke:Dictionary|translate|Tech Item|lang_code_override=en}}{{if_lang}}|<span class="item-nav-category-text">{{#invoke:Lang|get_string|CitadelCategoryTech|fallback_str=en}}</span>]]</div>
{{#invoke:ItemData/nav|write_item_slot_subgroup|Tech|get_item_nav_bulletpoints|street_brawl_label={{Legendary|{{#invoke:Lang|get_string|Citadel_ItemDraft_Legendary}}}}}}}}<!--(in case it gets readded in the future) |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> {{Navbox subgroup
|groupstyle = background-color:#455862;width:10%;min-width:70px;border-radius: 8px 0 0 8px;font-size:12px
|group1    = {{Souls|0}}
|list1      = {{PageRef|Snowball|alt_name={{#invoke:Lang|get_string|cosmetic_item_snowball}}}}}}}}--><!--Do not have this template automatically transclude [[Category:Items]]! Instead {{Infobox item}} should do that.--><templatestyles src="Template:Item Navbox/styles.css"/></includeonly><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