Template:Infobox item: Difference between revisions

Jump to navigation Jump to search
formatting (WIP)
html classes for easier styling
Line 3: Line 3:
-->{{#vardefine:item_en|{{#invoke:Lang|get_string|{{{item_name}}}|lang_code_override=en}}}}<!-- en
-->{{#vardefine:item_en|{{#invoke:Lang|get_string|{{{item_name}}}|lang_code_override=en}}}}<!-- en
--><div class="infobox_item" style="float:right; display:inline-block; vertical-align:top;">
--><div class="infobox_item" style="float:right; display:inline-block; vertical-align:top;">
{| style="text-align:left; border-collapse:collapse; width:312px; max-width:100%; height:30px; color: #FFEFD7; padding:12px; font-family:'Retail Demo Regular',serif; {{
{| class="infobox-table item-infobox" style="text-align:left; border-collapse:collapse; width:312px; max-width:100%; height:30px; color: #FFEFD7; padding:12px; font-family:'Retail Demo Regular',serif; {{
#switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}}}}}}
#switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}}}}}}
  | Weapon = background-color: #80550F;
  | Weapon = background-color: #80550F;
Line 9: Line 9:
  | Spirit = background-color: #532b41;
  | Spirit = background-color: #532b41;
  | background-color: #80550F;}}"
  | background-color: #80550F;}}"
! colspan="4"; style="width:280px; padding:5px 12px; text-align:center; font-size:24px; font-family:'Retail Demo Bold',serif; {{
! colspan="4"; class="infobox-header" style="width:280px; padding:5px 12px; text-align:center; font-size:24px; font-family:'Retail Demo Bold',serif; {{
#switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}}}}}}
#switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}}}}}}
  | Weapon = background-color: #C97A03;
  | Weapon = background-color: #C97A03;
Line 15: Line 15:
  | Spirit = background-color: #ba5ca6;
  | Spirit = background-color: #ba5ca6;
  | background-color: #C97A03;}}" |<span style="font-weight:bold; text-shadow: 2px 2px rgba(0, 0, 0, 0.2); ">{{{item_name_loc|{{#invoke:Lang|get_string|{{#invoke:ItemData|get_codename|{{#var:item_key_or_en}}}}}}}}}</span>
  | background-color: #C97A03;}}" |<span style="font-weight:bold; text-shadow: 2px 2px rgba(0, 0, 0, 0.2); ">{{{item_name_loc|{{#invoke:Lang|get_string|{{#invoke:ItemData|get_codename|{{#var:item_key_or_en}}}}}}}}}</span>
<!--! style="vertical-align:bottom; font-size:26px; font-family:'Retail Demo Bold',serif; {{
#switch: {{{item_type}}}
| Weapon = background-color: #C97A03;
| Vitality = background-color: #659818;
| Spirit = background-color: #8B56B4;
| background-color: #C97A03;}}" |<div style="font-size:80%; text-align: center; font-weight: bold; width: 100px; {{
#switch: {{{item_type}}}
| Weapon = background-color: #A36202;
| Vitality = background-color: #507A11;
| Spirit = background-color: #704491;
| background-color: #A36202;}}"">{{
#switch: {{{item_type}}}/{{{item_tier|1}}}|
| Weapon/1 = +6% [[File:Weapon Icon.png|20px]]
| Weapon/2 = +10% [[File:Weapon Icon.png|20px]]
| Weapon/3 = +14% [[File:Weapon Icon.png|20px]]
| Weapon/4 = +18% [[File:Weapon Icon.png|20px]]
| Vitality/1 = +11% [[File:Vitality Icon.png|20px]]
| Vitality/2 = +14% [[File:Vitality Icon.png|20px]]
| Vitality/3 = +17% [[File:Vitality Icon.png|20px]]
| Vitality/4 = +20% [[File:Vitality Icon.png|20px]]
| Spirit/1 = +4 [[File:Spirit icon.png|20px]]
| Spirit/2 = +8 [[File:Spirit icon.png|20px]]
| Spirit/3 = +12 [[File:Spirit icon.png|20px]]
| Spirit/4 = +16 [[File:Spirit icon.png|20px]]
| +0
}}</div>
| rowspan="2" style="text-align:right; border-radius:0px 8px 0px 0px; {{
#switch: {{{item_type}}}
| Weapon = background-color: #C97A03;
| Vitality = background-color: #659818;
| Spirit = background-color: #8B56B4;
| background-color: #C97A03;}}" |<span>[[File:{{{item_icon|{{{item_name|Heroic Aura}}}}}}.png|64px]]</span>--><!--
|-
| colspan="4" style="padding:5px 12px; font-size:26px; {{
#switch: {{{item_type}}}
| Weapon = background-color: #C97A03;
| Vitality = background-color: #659818;
| Spirit = background-color: #8B56B4;
| background-color: #C97A03;}}" | {{Souls|{{{souls|3,000}}}|size=22px|Shadow=text-shadow: 2px 2px rgba(0, 0, 0, 0.3);}}
-->
<!--| style="vertical-align:top; font-size:26px; font-family:'Retail Demo Bold',serif; {{
#switch: {{{item_type}}}
| Weapon = background-color: #C97A03;
| Vitality = background-color: #659818;
| Spirit = background-color: #8B56B4;
| background-color: #C97A03;}}" | <div style="font-size:50%; text-align:center; width: 100px; margin-top: -4px; line-height: 1.4em;{{
#switch: {{{item_type}}}
| Weapon = background-color: #885101;
| Vitality = background-color: #41650C;
| Spirit = background-color: #5C3778;
| background-color: #885101;}}"">{{
#switch: {{{item_type}}}
| Weapon = {{#invoke:Lang|get_string|WeaponPower_label}}
| Vitality = {{#invoke:Lang|get_string|ArmorPower_label}}
| Spirit = {{#invoke:Lang|get_string|SpiritPower_label}}
| Weapon<br>Damage
}}</div>-->
|-
|-
| colspan=4 class="infobox-image" style="padding:5px; text-align:center;" | [[File:{{{item_icon|{{{item_name|{{#var:item_key_or_en}}}}}}}}.png|144px]]<!--remove inline text-align when infobox class is applied to outer table. currently infobox class is not in effect because of mobile issues-->
| colspan=4 class="infobox-image" style="padding:5px; text-align:center;" | [[File:{{{item_icon|{{{item_name|{{#var:item_key_or_en}}}}}}}}.png|144px]]
|-
|-
| colspan=2 style="text-align:right; width:50%; {{
| colspan=2 class="infobox-label" style="text-align:right; width:50%; {{
#switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}}}}}}
#switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}}}}}}
  | Weapon = border-right:1px solid #C97A03;
  | Weapon = border-right:1px solid #C97A03;
Line 81: Line 24:
  | Spirit = border-right:1px solid #8B56B4;
  | Spirit = border-right:1px solid #8B56B4;
  | border-right:1px solid #C97A03;}}; padding-right:0.5em;" | {{#invoke:Dictionary|translate|Cost}}
  | border-right:1px solid #C97A03;}}; padding-right:0.5em;" | {{#invoke:Dictionary|translate|Cost}}
| colspan=2 style="padding-left:0.5em;" | {{Souls|{{{souls|{{#invoke:ItemData|get_cost|{{#var:item_key_or_en}}}}}}}}}
| colspan=2 class="infobox-value" style="padding-left:0.5em;" | {{Souls|{{{souls|{{#invoke:ItemData|get_cost|{{#var:item_key_or_en}}}}}}}}}
|-
|-
| colspan=2 style="text-align:right; width:50%; {{
| colspan=2 class="infobox-label" style="text-align:right; width:50%; {{
#switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}}}}}}
#switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}}}}}}
  | Weapon = border-right:1px solid #C97A03;
  | Weapon = border-right:1px solid #C97A03;
Line 89: Line 32:
  | Spirit = border-right:1px solid #8B56B4;
  | Spirit = border-right:1px solid #8B56B4;
  | border-right:1px solid #C97A03;}}; padding-right:0.5em;" | {{#invoke:Dictionary|translate|Tier}}
  | border-right:1px solid #C97A03;}}; padding-right:0.5em;" | {{#invoke:Dictionary|translate|Tier}}
| colspan=2 style="padding-left:0.5em;" | {{{item_tier|{{#invoke:ItemData|get_prop|{{#var:item_key_or_en}}|Tier}}}}}
| colspan=2 class="infobox-value" style="padding-left:0.5em;" | {{{item_tier|{{#invoke:ItemData|get_prop|{{#var:item_key_or_en}}|Tier}}}}}
|-
|-
{{#if:{{{item_description}}}|
{{#if:{{{item_description}}}|
{{!}} colspan="4" style="text-align:left; padding:0 12px; color:#FFEFD7; {{
{{!}} colspan="4" class="infobox-description" style="text-align:left; padding:0 12px; color:#FFEFD7; {{
#switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}}}}}}
#switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}}}}}}
  | Weapon = background-color: #80550F;
  | Weapon = background-color: #80550F;
Line 100: Line 43:
|-
|-
{{#if:{{{item_stat1|}}}|
{{#if:{{{item_stat1|}}}|
{{!}} colspan=4 style="text-align:left; padding:2px 12px; {{
{{!}} colspan=4 class="infobox-stat" style="text-align:left; padding:2px 12px; {{
#switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}}}}}}
#switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}}}}}}
  | Weapon = background-color: #80550F;
  | Weapon = background-color: #80550F;
Line 108: Line 51:
|-
|-
{{#if:{{{item_stat2|}}}|
{{#if:{{{item_stat2|}}}|
{{!}} colspan=4 style="text-align:left; padding:2px 12px; {{
{{!}} colspan=4 class="infobox-stat" style="text-align:left; padding:2px 12px; {{
#switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}}}}}}
#switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}}}}}}
  | Weapon = background-color: #80550F;
  | Weapon = background-color: #80550F;
Line 116: Line 59:
|-
|-
{{#if:{{{item_stat3|}}}|
{{#if:{{{item_stat3|}}}|
{{!}} colspan=4 style="text-align:left; padding:2px 12px; {{
{{!}} colspan=4 class="infobox-stat" style="text-align:left; padding:2px 12px; {{
#switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}}}}}}
#switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}}}}}}
  | Weapon = background-color: #80550F;
  | Weapon = background-color: #80550F;
Line 124: Line 67:
|-
|-
{{#if:{{{item_stat4|}}}|
{{#if:{{{item_stat4|}}}|
{{!}} colspan=4 style="text-align:left; padding:2px 12px; {{
{{!}} colspan=4 class="infobox-stat" style="text-align:left; padding:2px 12px; {{
#switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}}}}}}
#switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}}}}}}
  | Weapon = background-color: #80550F;
  | Weapon = background-color: #80550F;
Line 132: Line 75:
|-
|-
{{#if:{{{item_stat5|}}}|
{{#if:{{{item_stat5|}}}|
{{!}} colspan=4 style="text-align:left; padding:2px 12px; {{
{{!}} colspan=4 class="infobox-stat" style="text-align:left; padding:2px 12px; {{
#switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}}}}}}
#switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}}}}}}
  | Weapon = background-color: #80550F;
  | Weapon = background-color: #80550F;
Line 140: Line 83:
|-
|-
{{#if:{{{item_stat6|}}}|
{{#if:{{{item_stat6|}}}|
{{!}} colspan=4 style="text-align:left; padding:2px 12px; {{
{{!}} colspan=4 class="infobox-stat" style="text-align:left; padding:2px 12px; {{
#switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}}}}}}
#switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}}}}}}
  | Weapon = background-color: #80550F;
  | Weapon = background-color: #80550F;
Line 148: Line 91:
|-
|-
{{#if:{{{item_stat7|}}}|
{{#if:{{{item_stat7|}}}|
{{!}} colspan=4 style="text-align:left; padding:2px 12px; {{
{{!}} colspan=4 class="infobox-stat" style="text-align:left; padding:2px 12px; {{
#switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}}}}}}
#switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}}}}}}
  | Weapon = background-color: #80550F;
  | Weapon = background-color: #80550F;
Line 156: Line 99:
|-
|-
{{#ifeq:{{{has_passive1|}}}|true|
{{#ifeq:{{{has_passive1|}}}|true|
! colspan={{#expr:4-{{#if:{{{passive1_chargeup|}}}|1|0}}{{#if:{{{passive1_cooldown|}}}|1|0}}}} style="text-align:left; padding:2px 12px; {{
! colspan={{#expr:4-{{#if:{{{passive1_chargeup|}}}|1|0}}{{#if:{{{passive1_cooldown|}}}|1|0}}}} class="passive-header" style="text-align:left; padding:2px 12px; {{
#switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}}}}}}
#switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}}}}}}
  | Weapon = background-color: #583B0E; color: #C4B49E;
  | Weapon = background-color: #583B0E; color: #C4B49E;
Line 162: Line 105:
  | Spirit = background-color: #3a2231; color: #C1B2A8;
  | Spirit = background-color: #3a2231; color: #C1B2A8;
  | background-color: #583B0E; color: #C4B49E;}}" {{!}} ''{{#invoke:Lang|get_string|Citadel_Mod_Tooltip_Passive}}'' {{#if:{{{passive1_cooldown|}}}|
  | background-color: #583B0E; color: #C4B49E;}}" {{!}} ''{{#invoke:Lang|get_string|Citadel_Mod_Tooltip_Passive}}'' {{#if:{{{passive1_cooldown|}}}|
{{!}}{{!}} colspan=1 style="text-align:center; width:25%; max-width:80px; background-color:#0C1414; color:#FFEFD7"; {{!}} [[File:Cooldown Icon.png|20px]] {{{passive1_cooldown}}}}} {{#if:{{{passive1_chargeup|}}}|
{{!}}{{!}} colspan=1 class="cooldown-value" style="text-align:center; width:25%; max-width:80px; background-color:#0C1414; color:#FFEFD7"; {{!}} [[File:Cooldown Icon.png|20px]] {{{passive1_cooldown}}}}} {{#if:{{{passive1_chargeup|}}}|
{{!}}{{!}} colspan=1 style="text-align:center; width:25%; max-width:80px; background-color:#0C1414; color:#FFEFD7"; {{!}} [[File:Chargeup.png|20px]] {{{passive1_chargeup}}}}}
{{!}}{{!}} colspan=1 class="chargeup-value" style="text-align:center; width:25%; max-width:80px; background-color:#0C1414; color:#FFEFD7"; {{!}} [[File:Chargeup.png|20px]] {{{passive1_chargeup}}}}}
{{!}}-
{{!}}-
{{#if:{{{passive1_description|}}}|
{{#if:{{{passive1_description|}}}|
{{!}} colspan=4 style="text-align:left; padding:2px 12px; {{!}} {{{passive1_description}}}|}}
{{!}} colspan=4 class="passive-description" style="text-align:left; padding:2px 12px; {{!}} {{{passive1_description}}}|}}
}}
}}
{{#if:{{{passive1_stat1|}}}|
{{#if:{{{passive1_stat1|}}}|
{{{!}}- style="text-align:left; width:300px; max-width:280px; border-radius:8px; margin:6px auto; {{
{{{!}} class="passive-stats" style="text-align:left; width:300px; max-width:280px; border-radius:8px; margin:6px auto; {{
#switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}}}}}}
#switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}}}}}}
  | Weapon = background-color: #67430A;
  | Weapon = background-color: #67430A;
Line 178: Line 121:
{{#if:{{{passive1_stat1|}}}|
{{#if:{{{passive1_stat1|}}}|
{{!}}-  
{{!}}-  
{{!}} {{{passive1_stat1}}}|}}
{{!}} class="passive-stat" {{!}} {{{passive1_stat1}}}|}}
{{#if:{{{passive1_stat2|}}}|
{{#if:{{{passive1_stat2|}}}|
{{!}}-  
{{!}}-  
{{!}} {{{passive1_stat2}}}|}}
{{!}} class="passive-stat" {{!}} {{{passive1_stat2}}}|}}
{{#if:{{{passive1_stat3|}}}|
{{#if:{{{passive1_stat3|}}}|
{{!}}-  
{{!}}-  
{{!}} {{{passive1_stat3}}}|}}
{{!}} class="passive-stat" {{!}} {{{passive1_stat3}}}|}}
{{#if:{{{passive1_stat4|}}}|
{{#if:{{{passive1_stat4|}}}|
{{!}}-  
{{!}}-  
{{!}} {{{passive1_stat4}}}|}}
{{!}} class="passive-stat" {{!}} {{{passive1_stat4}}}|}}
{{#if:{{{passive1_stat5|}}}|
{{#if:{{{passive1_stat5|}}}|
{{!}}-  
{{!}}-  
{{!}} {{{passive1_stat5}}}|}}
{{!}} class="passive-stat" {{!}} {{{passive1_stat5}}}|}}
{{#if:{{{passive1_stat6|}}}|
{{#if:{{{passive1_stat6|}}}|
{{!}}-
{{!}}-
{{!}} {{{passive1_stat6}}}|}}
{{!}} class="passive-stat" {{!}} {{{passive1_stat6}}}|}}
{{!}}}<!--end of inner passive1 stat box-->
{{!}}}<!--end of inner passive1 stat box-->
}}
}}
|-<!--start of passive2 section-->
|-<!--start of passive2 section-->
{{#ifeq:{{{has_passive2|}}}|true|
{{#ifeq:{{{has_passive2|}}}|true|
! colspan={{#expr:4-{{#if:{{{passive2_cooldown|}}}|1|0}}}} style="text-align:left; padding:2px 12px; {{
! colspan={{#expr:4-{{#if:{{{passive2_cooldown|}}}|1|0}}}} class="passive-header" style="text-align:left; padding:2px 12px; {{
#switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}}}}}}
#switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}}}}}}
  | Weapon = background-color: #583B0E; color: #C4B49E;
  | Weapon = background-color: #583B0E; color: #C4B49E;
Line 204: Line 147:
  | Spirit = background-color: #3a2231; color: #C1B2A8;
  | Spirit = background-color: #3a2231; color: #C1B2A8;
  | background-color: #583B0E; color: #C4B49E;}}" {{!}} ''Passive'' {{#if:{{{passive2_cooldown|}}}|
  | background-color: #583B0E; color: #C4B49E;}}" {{!}} ''Passive'' {{#if:{{{passive2_cooldown|}}}|
{{!}}{{!}} colspan=1 style="text-align:center; width:25%; max-width:80px; background-color:#0C1414; color:#FFEFD7"; {{!}} [[File:Cooldown Icon.png|20px]] {{{passive2_cooldown}}}}}
{{!}}{{!}} colspan=1 class="cooldown-value" style="text-align:center; width:25%; max-width:80px; background-color:#0C1414; color:#FFEFD7"; {{!}} [[File:Cooldown Icon.png|20px]] {{{passive2_cooldown}}}}}
{{!}}-
{{!}}-
{{#if:{{{passive2_description|}}}|
{{#if:{{{passive2_description|}}}|
{{!}} colspan=4 style="text-align:left; padding:2px 12px; {{!}} {{{passive2_description}}}|}}
{{!}} colspan=4 class="passive-description" style="text-align:left; padding:2px 12px; {{!}} {{{passive2_description}}}|}}
}}
}}
{{#if:{{{passive2_stat1|}}}|
{{#if:{{{passive2_stat1|}}}|
{{{!}}- style="text-align:left; width:300px; max-width:280px; border-radius:8px; margin:6px auto; {{
{{{!}} class="passive-stats" style="text-align:left; width:300px; max-width:280px; border-radius:8px; margin:6px auto; {{
#switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}}}}}}
#switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}}}}}}
  | Weapon = background-color: #67430A;
  | Weapon = background-color: #67430A;
Line 219: Line 162:
{{#if:{{{passive2_stat1|}}}|
{{#if:{{{passive2_stat1|}}}|
{{!}}-  
{{!}}-  
{{!}} {{{passive2_stat1}}}|}}
{{!}} class="passive-stat" {{!}} {{{passive2_stat1}}}|}}
{{#if:{{{passive2_stat2|}}}|
{{#if:{{{passive2_stat2|}}}|
{{!}}-  
{{!}}-  
{{!}} {{{passive2_stat2}}}|}}
{{!}} class="passive-stat" {{!}} {{{passive2_stat2}}}|}}
{{#if:{{{passive2_stat3|}}}|
{{#if:{{{passive2_stat3|}}}|
{{!}}-  
{{!}}-  
{{!}} {{{passive2_stat3}}}|}}
{{!}} class="passive-stat" {{!}} {{{passive2_stat3}}}|}}
{{#if:{{{passive2_stat4|}}}|
{{#if:{{{passive2_stat4|}}}|
{{!}}-  
{{!}}-  
{{!}} {{{passive2_stat4}}}|}}
{{!}} class="passive-stat" {{!}} {{{passive2_stat4}}}|}}
{{#if:{{{passive2_stat5|}}}|
{{#if:{{{passive2_stat5|}}}|
{{!}}-  
{{!}}-  
{{!}} {{{passive2_stat5}}}|}}
{{!}} class="passive-stat" {{!}} {{{passive2_stat5}}}|}}
{{!}}}<!--end of inner passive2 stat box-->
{{!}}}<!--end of inner passive2 stat box-->
}}
}}
|-<!--start of active 1 section-->
|-<!--start of active 1 section-->
{{#ifeq:{{{has_active1|}}}|true|
{{#ifeq:{{{has_active1|}}}|true|
! colspan={{#expr:4-{{#if:{{{active1_cooldown|}}}|1|0}}}} style="text-align:left; padding:2px 12px; {{
! colspan={{#expr:4-{{#if:{{{active1_cooldown|}}}|1|0}}}} class="active-header" style="text-align:left; padding:2px 12px; {{
#switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}}}}}}
#switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}}}}}}
  | Weapon = background-color: #583B0E;
  | Weapon = background-color: #583B0E;
Line 242: Line 185:
  | Spirit = background-color: #311e26;
  | Spirit = background-color: #311e26;
  | background-color: #583B0E;}}" {{!}} '''{{#invoke:Lang|get_string|Citadel_Mod_Tooltip_Active}}''' {{#if:{{{active1_cooldown|}}}|
  | background-color: #583B0E;}}" {{!}} '''{{#invoke:Lang|get_string|Citadel_Mod_Tooltip_Active}}''' {{#if:{{{active1_cooldown|}}}|
{{!}}{{!}} colspan=1 style="text-align:center; width:25%; max-width:80px; background-color:#0C1414; color:#FFEFD7"; {{!}} [[File:Cooldown Icon.png|20px]] {{{active1_cooldown}}}}}
{{!}}{{!}} colspan=1 class="cooldown-value" style="text-align:center; width:25%; max-width:80px; background-color:#0C1414; color:#FFEFD7"; {{!}} [[File:Cooldown Icon.png|20px]] {{{active1_cooldown}}}}}
{{!}}-
{{!}}-
{{#if:{{{active1_description|}}}|
{{#if:{{{active1_description|}}}|
{{!}} colspan=4 style="text-align:left; padding:2px 12px; {{!}} {{{active1_description}}}|}}
{{!}} colspan=4 class="active-description" style="text-align:left; padding:2px 12px; {{!}} {{{active1_description}}}|}}
}}
}}
{{#if:{{{active1_stat1|}}}|
{{#if:{{{active1_stat1|}}}|
{{{!}}- style="text-align:left; width:300px; max-width:280px; border-radius:8px; margin:6px auto; {{
{{{!}} class="active-stats" style="text-align:left; width:300px; max-width:280px; border-radius:8px; margin:6px auto; {{
#switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}}}}}}
#switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}}}}}}
  | Weapon = background-color: #67430A;
  | Weapon = background-color: #67430A;
Line 257: Line 200:
{{#if:{{{active1_stat1|}}}|
{{#if:{{{active1_stat1|}}}|
{{!}}-  
{{!}}-  
{{!}} {{{active1_stat1}}}|}}
{{!}} class="active-stat" {{!}} {{{active1_stat1}}}|}}
{{#if:{{{active1_stat2|}}}|
{{#if:{{{active1_stat2|}}}|
{{!}}-  
{{!}}-  
{{!}} {{{active1_stat2}}}|}}
{{!}} class="active-stat" {{!}} {{{active1_stat2}}}|}}
{{#if:{{{active1_stat3|}}}|
{{#if:{{{active1_stat3|}}}|
{{!}}-  
{{!}}-  
{{!}} {{{active1_stat3}}}|}}
{{!}} class="active-stat" {{!}} {{{active1_stat3}}}|}}
{{#if:{{{active1_stat4|}}}|
{{#if:{{{active1_stat4|}}}|
{{!}}-  
{{!}}-  
{{!}} {{{active1_stat4}}}|}}
{{!}} class="active-stat" {{!}} {{{active1_stat4}}}|}}
{{#if:{{{active1_stat5|}}}|
{{#if:{{{active1_stat5|}}}|
{{!}}-  
{{!}}-  
{{!}} {{{active1_stat5}}}|}}
{{!}} class="active-stat" {{!}} {{{active1_stat5}}}|}}
{{#if:{{{active1_stat6|}}}|
{{#if:{{{active1_stat6|}}}|
{{!}}-  
{{!}}-  
{{!}} {{{active1_stat6}}}|}}
{{!}} class="active-stat" {{!}} {{{active1_stat6}}}|}}
{{!}}}<!--end of inner active1 stat box-->
{{!}}}<!--end of inner active1 stat box-->
{{!}}-
{{!}}-
{{#if:{{{active2_description|}}}|
{{#if:{{{active2_description|}}}|
{{!}} colspan=4 style="text-align:left; padding:2px 12px; {{!}} {{{active2_description}}}|}}
{{!}} colspan=4 class="active-description" style="text-align:left; padding:2px 12px; {{!}} {{{active2_description}}}|}}
}}
}}
{{#if:{{{active2_stat1|}}}|
{{#if:{{{active2_stat1|}}}|
{{{!}}- style="text-align:left; width:300px; max-width:280px; border-radius:8px; margin:6px auto; {{
{{{!}} class="active-stats" style="text-align:left; width:300px; max-width:280px; border-radius:8px; margin:6px auto; {{
#switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}}}}}}
#switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}}}}}}
  | Weapon = background-color: #67430A;
  | Weapon = background-color: #67430A;
Line 288: Line 231:
{{#if:{{{active2_stat1|}}}|
{{#if:{{{active2_stat1|}}}|
{{!}}-  
{{!}}-  
{{!}} {{{active2_stat1}}}|}}
{{!}} class="active-stat" {{!}} {{{active2_stat1}}}|}}
{{#if:{{{active2_stat2|}}}|
{{#if:{{{active2_stat2|}}}|
{{!}}-  
{{!}}-  
{{!}} {{{active2_stat2}}}|}}
{{!}} class="active-stat" {{!}} {{{active2_stat2}}}|}}
{{#if:{{{active2_stat3|}}}|
{{#if:{{{active2_stat3|}}}|
{{!}}-  
{{!}}-  
{{!}} {{{active2_stat3}}}|}}
{{!}} class="active-stat" {{!}} {{{active2_stat3}}}|}}
{{#if:{{{active2_stat4|}}}|
{{#if:{{{active2_stat4|}}}|
{{!}}-  
{{!}}-  
{{!}} {{{active2_stat4}}}|}}
{{!}} class="active-stat" {{!}} {{{active2_stat4}}}|}}
{{#if:{{{active2_stat5|}}}|
{{#if:{{{active2_stat5|}}}|
{{!}}-  
{{!}}-  
{{!}} {{{active2_stat5}}}|}}
{{!}} class="active-stat" {{!}} {{{active2_stat5}}}|}}
{{!}}}<!--end of inner active2 stat box-->
{{!}}}<!--end of inner active2 stat box-->
}}
}}
|-
|-
{{#ifeq:{{{has_components|}}}|true|
{{#ifeq:{{{has_components|}}}|true|
! colspan="4" style="text-align:left; padding:0 12px; font-weight:bold; font-size:16px; font-family:'Retail Demo Bold',serif; {{
! colspan="4" class="components-header" style="text-align:left; padding:0 12px; font-weight:bold; font-size:16px; font-family:'Retail Demo Bold',serif; {{
#switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}}}}}}
#switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}}}}}}
  | Weapon = background-color: #9E630C; color: #DCCFC6;
  | Weapon = background-color: #9E630C; color: #DCCFC6;
Line 313: Line 256:
|-
|-
{{#ifeq:{{{has_iscomponentof|}}}|true|
{{#ifeq:{{{has_iscomponentof|}}}|true|
! colspan="4" style="text-align:left; padding:0 12px; font-weight:bold; font-size:16px; font-family:'Retail Demo Bold', serif; {{
! colspan="4" class="is-component-of-header" style="text-align:left; padding:0 12px; font-weight:bold; font-size:16px; font-family:'Retail Demo Bold', serif; {{
#switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}}}}}}
#switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}}}}}}
  | Weapon = background-color: #704A0C; color: #D1CBC6;
  | Weapon = background-color: #704A0C; color: #D1CBC6;
Line 321: Line 264:
{{#ifeq:{{{has_iscomponentof2|}}}|true|
{{#ifeq:{{{has_iscomponentof2|}}}|true|
{{!}}-
{{!}}-
! colspan="4" style="text-align:left; padding:0 12px; font-weight:bold; font-size:16px; font-family:'Retail Demo Bold', serif; {{
! colspan="4" class="is-component-of-header" style="text-align:left; padding:0 12px; font-weight:bold; font-size:16px; font-family:'Retail Demo Bold', serif; {{
#switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}}}}}}
#switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}}}}}}
  | Weapon = background-color: #704A0C; color: #D1CBC6;
  | Weapon = background-color: #704A0C; color: #D1CBC6;
Line 330: Line 273:
{{#ifeq:{{{has_iscomponentof3|}}}|true|
{{#ifeq:{{{has_iscomponentof3|}}}|true|
{{!}}-
{{!}}-
! colspan="4" style="text-align:left; padding:0 12px; font-weight:bold; font-size:16px; font-family:'Retail Demo Bold', serif; {{
! colspan="4" class="is-component-of-header" style="text-align:left; padding:0 12px; font-weight:bold; font-size:16px; font-family:'Retail Demo Bold', serif; {{
#switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}}}}}}
#switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}}}}}}
  | Weapon = background-color: #704A0C; color: #D1CBC6;
  | Weapon = background-color: #704A0C; color: #D1CBC6;
Line 337: Line 280:
  | background-color: #704A0C; color: #D1CBC6;}}" {{!}}{{ItemIcon|{{{iscomponentof3_name|Basic Magazine}}}}}|}}
  | background-color: #704A0C; color: #D1CBC6;}}" {{!}}{{ItemIcon|{{{iscomponentof3_name|Basic Magazine}}}}}|}}
|-
|-
| colspan="4" style=padding-left:12px; | {{#invoke:Dictionary|translate|Codename}}: {{{codename|{{#invoke:ItemData|get_codename|{{#var:item_key_or_en}}}}}}}
| colspan="4" class="codename" style=padding-left:12px; | {{#invoke:Dictionary|translate|Codename}}: {{{codename|{{#invoke:ItemData|get_codename|{{#var:item_key_or_en}}}}}}}
{{#if:{{{sound1|}}}|
{{#if:{{{sound1|}}}|
{{!}}-
{{!}}-
{{!}} colspan=4 style="text-align:center; padding:2px 12px; {{
{{!}} colspan=4 class="sounds-header" style="text-align:center; padding:2px 12px; {{
#switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}}}}}}
#switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}}}}}}
  | Weapon = background-color: #C97A03;
  | Weapon = background-color: #C97A03;
Line 347: Line 290:
  | background-color: #C97A03;}}" {{!}} Sounds
  | background-color: #C97A03;}}" {{!}} Sounds
{{!}}-
{{!}}-
{{!}} colspan="4" {{!}} [[File:{{{sound1|}}}]]
{{!}} colspan="4" class="sound-item" {{!}} [[File:{{{sound1|}}}]]
}}
}}
|-
|-
{{#if:{{{sound2|}}}|
{{#if:{{{sound2|}}}|
{{!}}-
{{!}}-
{{!}} colspan="4" {{!}} [[File:{{{sound2|}}}]]
{{!}} colspan="4" class="sound-item" {{!}} [[File:{{{sound2|}}}]]
}}
}}
|}</div>{{#ifeq:{{{no_category|}}}|true||[[Category:Items{{If_lang}}]]}}</includeonly><noinclude>{{Documentation}}</noinclude>
|}</div>{{#ifeq:{{{no_category|}}}|true||[[Category:Items{{If_lang}}]]}}</includeonly><noinclude>{{Documentation}}</noinclude>