Template:Infobox: Difference between revisions

From Wildfrost Wiki
Jump to navigation Jump to search
(Rebuilt the infobox. Now outlines card stats for accessibility/SEO. Also, Heart/Scrap logic)
(If to Switch, styling changes)
Line 4: Line 4:
| colspan=3 | [[File:{{{image|}}}|285px|center]]
| colspan=3 | [[File:{{{image|}}}|285px|center]]
|-
|-
!{{#if: {{{heart}}}|{{Stat|Health}}|{{Stat|Scrap}}}}
!{{#switch: {{{hpType}}}
|heart={{Stat|Health}}
|scrap={{Stat|Scrap}}
|#default={{Stat|Health}}
}}
!{{Stat|Attack}}
!{{Stat|Attack}}
!{{Stat|Counter}}
!{{Stat|Counter}}
|-
|-
|{{#if: {{{heart}}}|{{{health}}}|{{{scrap}}}}}
|{{{health|<br>}}}
|{{{attack|}}}
|{{{attack|<br>}}}
|{{{counter|}}}
|{{{counter|<br>}}}
|-
|-
! colspan=3 | Other Details
! colspan=3 | Other Details
|-
|-
| colspan=3 | {{{details}}}
| colspan=3 | {{{details|<br>}}}
|-
|-
! colspan=3 | Card Description
! colspan=3 | Card Description
|-
|-
| colspan=3 | {{{description|}}}
| colspan=3 | {{{description|<br>}}}
|-
|-
|}
|}

Revision as of 03:50, 9 April 2023

Infobox
[[File:|285px|center]]
Health.png Health Attack.png Attack Counter.png Counter



Other Details

Card Description