Template:Item Navbox: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Sur (talk | contribs)
m now more dynamic by generating each list with min and max soul bounds
Sur (talk | contribs)
m hyperlink guides to Weapon Item, etc. instead of Item
 
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Navbox
{{Navbox
|name      = Items
|name      = Items
|title      = [[Items|<span style="color:#FFF5E8; font-weight:bold; font-family: 'Retail Demo'; font-size: 18px; text-shadow: 0px 3px 3px black, 0px 0px 2px black;">Items</span>]]
|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>]]
|state      =  
|state      =  
|titlestyle = border-radius: 8px; background-image: linear-gradient(#c1a671, #d0bb95); font-family: 'PT Serif', 'Palatino', 'Georgia', serif;
|titlestyle = border-radius: 8px; background-image: linear-gradient(#c1a671, #d0bb95); 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', 'Georgia', 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;
|aboveclass = hlist
|aboveclass = hlist
|above =  
|above =  
|group1    = [[Weapon|<span style="color:#FFF5E8; font-family:'Retail Demo'; font-weight:bold; text-shadow: 0px 3px 3px black, 0px 0px 2px black;">Weapon</span>]]
|group1    =
|list1      =  
|list1      =  
{{Navbox subgroup
<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>
|groupstyle = background-color:#c97a03;width:10%;
{{#invoke:ItemData/nav|write_item_slot_subgroup|Weapon|get_item_nav_bulletpoints}}
|group1    = {{Souls|500}}
|group2    =
|list1      = {{#invoke:ItemData/nav|get_item_nav_cards|Weapon|500|1250}}
    |group2    = {{Souls|1,250}}
    |list2      = {{#invoke:ItemData/nav|get_item_nav_cards|Weapon|1250|3000}}
    |group3    = {{Souls|3,000+}}
    |list3      = {{#invoke:ItemData/nav|get_item_nav_cards|Weapon|3000|6200}}
    |group4    = {{Souls|6,200+}}
    |list4      = {{{#invoke:ItemData/nav|get_item_nav_cards|Weapon|6200|10000}}
    }}
|group2    = [[Vitality|<span style="color:#FFF5E8; font-family:'Retail Demo'; font-weight:bold; text-shadow: 0px 3px 3px black, 0px 0px 2px black;">Vitality</span>]]
|list2      =  
|list2      =  
{{Navbox subgroup
<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>
|groupstyle = background-color:#659818;width:10%;
{{#invoke:ItemData/nav|write_item_slot_subgroup|Armor|get_item_nav_bulletpoints}}
|group1    = {{Souls|500}}
|group3    =
|list1      = {{#invoke:ItemData/nav|get_item_nav_cards|Armor|500|1250}}
    |group2    = {{Souls|1,250}}
    |list2      = {{#invoke:ItemData/nav|get_item_nav_cards|Armor|1250|3000}}
    |group3    = {{Souls|3,000+}}
    |list3      = {{#invoke:ItemData/nav|get_item_nav_cards|Armor|3000|6200}}
    |group4    = {{Souls|6,200+}}
    |list4      = {{#invoke:ItemData/nav|get_item_nav_cards|Armor|6200|10000}}
    }}
|group3    = [[Spirit|<span style="color:#FFF5E8; font-family:'Retail Demo'; font-weight:bold; text-shadow: 0px 3px 3px black, 0px 0px 2px black;">Spirit</span>]]
|list3      =  
|list3      =  
{{Navbox subgroup
<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>
|groupstyle = background-color:#8b56b4;width:10%;
{{#invoke:ItemData/nav|write_item_slot_subgroup|Tech|get_item_nav_bulletpoints}}
|group1    = {{Souls|500}}
|list1      = {{#invoke:ItemData/nav|get_item_nav_cards|Tech|500|1250}}
    |group2    = {{Souls|1,250}}
    |list2      = {{#invoke:ItemData/nav|get_item_nav_cards|Tech|1250|3000}}
    |group3    = {{Souls|3,000+}}
    |list3      = {{#invoke:ItemData/nav|get_item_nav_cards|Tech|3000|6200}}
    |group4    = {{Souls|6,200+}}
    |list4      = {{#invoke:ItemData/nav|get_item_nav_cards|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.