Template:Infobox item: Difference between revisionsGive feedback
Jump to navigation
Jump to search
readjust font application, cleanup css, fix item stats |
fix passive header |
||
| Line 39: | Line 39: | ||
| +0 | | +0 | ||
}}</div> | }}</div> | ||
| rowspan="2" style="text-align:right; | | rowspan="2" style="text-align:right; border-radius:0px 8px 0px 0px; {{ | ||
#switch: {{{item_type}}} | #switch: {{{item_type}}} | ||
| Weapon = background-color: #C97A03; | | Weapon = background-color: #C97A03; | ||
| Line 125: | Line 125: | ||
| Spirit = background-color: #623585; | | Spirit = background-color: #623585; | ||
| background-color: #80550F;}}" {{!}} {{{item_stat5|}}}}} | | background-color: #80550F;}}" {{!}} {{{item_stat5|}}}}} | ||
| | |- | ||
{{#ifeq:{{{has_passive1|}}}|true| | |||
# | ! colspan={{#expr:4-{{#if:{{{passive1_cooldown|}}}|1|0}}}} style="text-align:left; padding:2px 12px; {{ | ||
#switch: {{{item_type}}} | #switch: {{{item_type}}} | ||
| Weapon = background-color: #583B0E; color: #C4B49E; | | Weapon = background-color: #583B0E; color: #C4B49E; | ||
| Vitality = background-color: #354F11; color: #BDB59D; | | Vitality = background-color: #354F11; color: #BDB59D; | ||
| Spirit = background-color: #43265B; color: #C1B2A8; | | Spirit = background-color: #43265B; color: #C1B2A8; | ||
| background-color: #583B0E; color: #C4B49E;}} {{ | | 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}}}}} | ||
| | }} | ||
|} | |} | ||
<div style="{{#ifeq:{{{has_passive1|}}}|true|display:inline|display:none;}}"> | <div style="{{#ifeq:{{{has_passive1|}}}|true|display:inline|display:none;}}"> | ||
{|- style="text-align:left; width:512px; max-width:512px; color: #FFEFD7; padding: 0 12px; {{#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;|}}{{ | {|- style="text-align:left; width:512px; max-width:512px; color: #FFEFD7; padding: 0 12px; {{#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;|}}{{ | ||