Template:Infobox item: Difference between revisionsGive feedback
fix passive header |
fix passive1 description and stats |
||
| Line 134: | Line 134: | ||
| background-color: #583B0E; color: #C4B49E;}}" {{!}} ''Passive'' {{#if:{{{passive1_cooldown|}}}| | | background-color: #583B0E; color: #C4B49E;}}" {{!}} ''Passive'' {{#if:{{{passive1_cooldown|}}}| | ||
{{!}}{{!}} colspan=1 style="text-align:center; width:55px; max-width:80px; background-color:#0C1414; color:#FFEFD7"; {{!}} [[File:Cooldown Icon.png|20px]] {{{passive1_cooldown}}}}} | {{!}}{{!}} colspan=1 style="text-align:center; width:55px; max-width:80px; background-color:#0C1414; color:#FFEFD7"; {{!}} [[File:Cooldown Icon.png|20px]] {{{passive1_cooldown}}}}} | ||
{{!}}- | |||
{{#if:{{{passive1_description|}}}| | |||
{{!}} colspan=4 style="text-align:left; padding:2px 12px; border-radius:0px 0px 0px 0px; {{#ifeq:{{{has_active1|}}}|false|border-radius:0px 0px 8px 8px;|}} {{#ifeq:{{{has_passive2|}}}|true|border-radius:0px 0px 0px 0px;|}} {{#ifeq:{{{has_iscomponentof|}}}|true|border-radius:0px 0px 0px 0px;|}} {{!}} {{{passive1_description}}}|}} | |||
}} | }} | ||
{|- style="text-align:left; width:500px; max-width:480px; border-radius:8px; margin:6px auto; {{ | |||
{|- style="text-align:left; width:500px; max-width:480px; border-radius:8px | |||
#switch: {{{item_type}}} | #switch: {{{item_type}}} | ||
| Weapon = background-color: #67430A; | | Weapon = background-color: #67430A; | ||
| Vitality = background-color: #3D5B0E; | | Vitality = background-color: #3D5B0E; | ||
| Spirit = background-color: #4D2869; | | Spirit = background-color: #4D2869; | ||
| background-color: #67430A;}} {{ | | background-color: #67430A;}}" | ||
#if: {{{passive1_stat1|}}} | {{!}}- | ||
| | {{#if:{{{passive1_stat1|}}}| | ||
{{!}}- | |||
{{!}} {{{passive1_stat1}}}|}} | |||
{{#if:{{{passive1_stat2|}}}| | |||
| | {{!}}- | ||
{{#if: {{{passive1_stat2|}}} | {{!}} {{{passive1_stat2}}}|}} | ||
| | {{#if:{{{passive1_stat3|}}}| | ||
{{!}}- | |||
{{!}} {{{passive1_stat3}}}|}} | |||
| }} | {{#if:{{{passive1_stat4|}}}| | ||
{{#if: {{{passive1_stat3|}}} | {{!}}- | ||
| | {{!}} {{{passive1_stat4}}}|}} | ||
{{#if:{{{passive1_stat5|}}}| | |||
{{!}}- | |||
| }} | {{!}} {{{passive1_stat5}}}|}} | ||
{{#if: {{{passive1_stat4|}}} | |}<!--end of inner passive1 stat box--> | ||
| | |||
| }} | |||
{{#if: {{{passive1_stat5|}}} | |||
| | |||
| }} | |||
|} | |||
|} | |} | ||
<div style="text-align:left; border-collapse:collapse; width:512px; max-width:512px; {{#ifeq:{{{has_passive2|}}}|true|display:inline|display:none;}}"> | <div style="text-align:left; border-collapse:collapse; width:512px; max-width:512px; {{#ifeq:{{{has_passive2|}}}|true|display:inline|display:none;}}"> | ||