1,291
edits
Landmine751 (talk | contribs) (Rebuilt the infobox. Now outlines card stats for accessibility/SEO. Also, Heart/Scrap logic) |
No edit summary |
||
(24 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{|class=wikitable | <includeonly>{|class="wikitable" id="infobox" | ||
! colspan=3 | {{PAGENAME}} | ! colspan=3 | {{{name|{{PAGENAME}}}}} | ||
|- | |- | ||
| colspan=3 | [[File:{{{image|}}}|285px|center]] | | colspan=3 | [[File:{{{image|}}}|{{#if: {{{width|}}} | {{{width|}}} |{{#ifeq: {{{category|}}} |Charm|92px|285px}}|center]]{{#ifeq: {{{category|}}} |Charm| |<nowiki/> | ||
{{!}}- | |||
!{{# | !{{#switch: {{{hpType}}} | ||
|heart={{Stat|Health}} | |||
|scrap={{Stat|Scrap}} | |||
|#default={{Stat|Health}} | |||
}} | |||
!{{Stat|Attack}} | !{{Stat|Attack}} | ||
!{{Stat|Counter}} | !{{Stat|Counter}} | ||
{{!}}- | |||
{{!}} style="text-align:center; width: 33%;" {{!}}{{{health|<br>}}} | |||
{{!}} style="text-align:center; width: 33%;" {{!}}{{{attack|<br>}}} | |||
{{!}} style="text-align:center; width: 33%;" {{!}}{{{counter|<br>}}} | |||
{{!}}- | |||
! colspan=3 {{!}} Other Stats | |||
{{!}}- | |||
{{!}} colspan=3 {{!}} {{{other|<br>}}} | |||
}} | |||
|- | |- | ||
|{{# | ! colspan=3 | {{#ifeq: {{{category|}}} |Charm|Charm|Card}} Description | ||
| | |||
| | |||
|- | |- | ||
| colspan=3 | {{{description|}}} | |style="text-align:center; {{#if: {{{desCol|}}} | color:{{{desCol}}}; | color:#202122; }}" colspan=3 | {{{description|<br>}}} | ||
|- | |- | ||
|} | {{#if: {{{art|}}} | | ||
{{#ifexist: File:{{{art}}} | | |||
! colspan=3 {{!}} | |||
{{{!}} class="mw-collapsible mw-collapsed" style="width: 100%" | |||
{{!}}+ class ="nowrap" {{!}} Card Art<br> | |||
{{!}}- | |||
{{!}}[[File:{{{art}}}|275px|center]] | |||
{{!}}} | |||
}} | |||
}} | |||
|}{{SEO | |||
|image={{#if:{{{image|}}}|{{{image|}}}|}}}} | |||
</includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude> |
edits