Template:Infobox item: Difference between revisionsGive feedback
Gammaton32 (talk | contribs) No edit summary |
m move has_components, added has_iscomponentof3 |
||
| Line 90: | Line 90: | ||
| 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 style="padding-left:0.5em;" | {{{item_tier|{{#invoke:ItemData|get_prop|{{#var:item_key_or_en}}|Tier}}}}} | ||
|- | |- | ||
{{#if:{{{item_description}}}| | {{#if:{{{item_description}}}| | ||
| Line 311: | Line 302: | ||
{{!}}}<!--end of inner active2 stat box--> | {{!}}}<!--end of inner active2 stat box--> | ||
}} | }} | ||
|- | |||
{{#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; {{ | |||
#switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}}}}}} | |||
| Weapon = background-color: #9E630C; color: #DCCFC6; | |||
| Vitality = background-color: #203500; color: #C7C9C6; | |||
| Spirit = background-color: #3a2231; color: #C9C7CB; | |||
| background-color: #9E630C; color: #DCCFC6;}}" {{!}} <span style="text-transform: uppercase;">{{#invoke:Lang|get_string|Citadel_ComponentRequired}}</span><br/>{{ItemIcon|{{{component1_name|Basic Magazine}}}}}|}} | |||
|- | |- | ||
{{#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" 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; | ||
| Vitality = background-color: #436310; color: #CACFC7; | | Vitality = background-color: #436310; color: #CACFC7; | ||
| Spirit = background-color: #3a2231; color: #CCC8D2; | | Spirit = background-color: #3a2231; color: #CCC8D2; | ||
| background-color: #704A0C; color: #D1CBC6;}}" {{!}} <span style="text-transform: uppercase;">{{#invoke:Lang|get_string|Citadel_IsComponentOf}}</span><br/>{{ItemIcon|{{{iscomponentof1_name|Basic Magazine}}}}}| | | background-color: #704A0C; color: #D1CBC6;}}" {{!}} <span style="text-transform: uppercase;">{{#invoke:Lang|get_string|Citadel_IsComponentOf}}</span><br/>{{ItemIcon|{{{iscomponentof1_name|Basic Magazine}}}}}|}} | ||
{{#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" 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}}}}}}} | |||
| Weapon = background-color: #704A0C; color: #D1CBC6; | |||
| Vitality = background-color: #436310; color: #CACFC7; | |||
| Spirit = background-color: #3a2231; color: #CCC8D2; | |||
| background-color: #704A0C; color: #D1CBC6;}}" {{!}}{{ItemIcon|{{{iscomponentof2_name|Basic Magazine}}}}}|}} | |||
|- | |||
{{#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; {{ | |||
#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; | ||
| Vitality = background-color: #436310; color: #CACFC7; | | Vitality = background-color: #436310; color: #CACFC7; | ||
| Spirit = background-color: #3a2231; color: #CCC8D2; | | Spirit = background-color: #3a2231; color: #CCC8D2; | ||
| background-color: #704A0C; color: #D1CBC6;}}" {{!}}{{ItemIcon|{{{ | | 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" 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 style="text-align:center; padding:2px 12px; {{ | ||
| Line 344: | Line 352: | ||
{{!}} colspan="4" {{!}} [[File:{{{sound2|}}}]] | {{!}} colspan="4" {{!}} [[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> | |||