Template:Item Navbox: Difference between revisionsGive feedback
m test to remove stray newline |
Gammaton32 (talk | contribs) simplified code |
||
| Line 1: | Line 1: | ||
{{Navbox | {{Navbox | ||
|name = Items | |name = Items | ||
|title = [[Item{{if_lang}}|<span style= | |title = [[Item{{if_lang}}|<span style=color:#FFF5E8>{{#invoke:Dictionary|translate|Items}}]]</span> | ||
|state = | |state = | ||
|titlestyle = border-radius: 8px; background-image: linear-gradient(#987556, #e8be86); font-family: 'PT Serif', 'Palatino',' | |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; | |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 = | |group1 = | ||
|list1 = | |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> | ||
<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}} | {{#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(#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> | ||
<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}} | {{#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(#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> | ||
<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}} | {{#invoke:ItemData/nav|write_item_slot_subgroup|Tech|get_item_nav_bulletpoints}} | ||
|group4 = | |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> | |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> | ||