![]() | |||
The Fighter | |||
---|---|---|---|
Craft Type | ![]() | ||
Stats | Equip | ||
Health | 761 | Weapon | ![]() |
Attack | 134 | Equipment | ![]() |
Defense | 101 | Memory | ![]() |
Attack Speed | 104 | ||
Luck | 17 |
An idea for a more easily understandable, more modular Template:CharStats. Theoretically, with a little tweaking this could also be used as a general combat infobox.
{| class="wikitable charstats" | colspan="2" | [[File:ISAT Battle {{{name}}}.png]] |- {{#if:{{{title|}}}||style="display:none;"}} ! colspan="2" | {{{title}}} |- {{#if:{{{craft|}}}||style="display:none;"}} ! colspan="2" | [[Craft]] Type | colspan="2" | {{#if:{{{craft|}}}|[[File:Special {{{craft}}}.png]]|}} {{{craft|}}} |- ! colspan="{{#if:{{{weapon|}}}|2|4}}" | Stats ! {{#if:{{{weapon|}}}|colspan="2"|style="display:none;"}} | [[Equipment|Equip]] |- ! {{#if:{{{weapon|}}}||colspan="2"}} | Health | {{{hp|N/A}}} ! {{#if:{{{weapon|}}}||style="display:none;"}} | Weapon | {{#if:{{{weapon|}}}||style="display:none;"}} | [[File:ISAT Weapon {{{weapon|}}}.png]] {{{weapon|}}} |- ! {{#if:{{{weapon|}}}||colspan="2"}} | Attack | {{{atk|N/A}}} ! {{#if:{{{weapon|}}}||style="display:none;"}} | Equipment | {{#if:{{{weapon|}}}||style="display:none;"}} | [[File:ISAT Equipment {{{equip|}}}.png]] {{{equip|}}} |- ! {{#if:{{{weapon|}}}||colspan="2"}} | Defense | {{{def|N/A}}} ! {{#if:{{{weapon|}}}||style="display:none;"}} | [[Memory|Memories]] | {{#if:{{{weapon|}}}||style="display:none;"}} | {{#ifeq:{{{memory|}}}|Memory of A Journey|[[File:ISAT Memory Siffrin Hatless.png]]|[[File:ISAT Memory {{{name}}}.png]]}} {{{memory|}}} |- ! {{#if:{{{weapon|}}}||colspan="2"}} | Attack Speed | {{{spd|N/A}}} |- ! {{#if:{{{weapon|}}}||colspan="2"}} | Luck | {{{lck|N/A}}} |}
This would require an overhaul of Weapon, Equipment, and Memory image names, as well as capitalization adjustments on the Special rock/paper/scissors images, but I think this would be beneficial anyways for organizational purposes. Common.css would be used for styling.
Note: These examples assume that all images have been renamed in a way that complements the use of the proposed template structure. These tables contain a style="width:min-content;padding:1em" style tag.
![]() | |||
The Fighter | |||
---|---|---|---|
Craft Type | ![]() | ||
Stats | Equip | ||
Health | 761 | Weapon | ![]() |
Attack | 134 | Equipment | ![]() |
Defense | 101 | Memory | ![]() |
Attack Speed | 104 | ||
Luck | 17 |
This infobox has had its image and title rows tweaked slightly.
![]() | |||
The King | |||
---|---|---|---|
Craft Type | ![]() | ||
Stats | |||
Health | 25000 | ||
Attack | 175 | ||
Defense | 130 | ||
Attack Speed | 175 | ||
Luck | 20 |