Template:Infobox: Difference between revisions
Jump to navigation
Jump to search
Landmine751 (talk | contribs) (Rebuilt the infobox. Now outlines card stats for accessibility/SEO. Also, Heart/Scrap logic) |
Landmine751 (talk | contribs) (If to Switch, styling changes) |
||
Line 4: | Line 4: | ||
| colspan=3 | [[File:{{{image|}}}|285px|center]] | | colspan=3 | [[File:{{{image|}}}|285px|center]] | ||
|- | |- | ||
!{{# | !{{#switch: {{{hpType}}} | ||
|heart={{Stat|Health}} | |||
|scrap={{Stat|Scrap}} | |||
|#default={{Stat|Health}} | |||
}} | |||
!{{Stat|Attack}} | !{{Stat|Attack}} | ||
!{{Stat|Counter}} | !{{Stat|Counter}} | ||
|- | |- | ||
|{{{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>}}} | ||
|- | |- | ||
|} | |} |