Template:Stats: Difference between revisions

From AnotherEidos R Wiki
Bejeebs (talk | contribs)
dssdf
Bejeebs (talk | contribs)
No edit summary
Line 1: Line 1:
{{#css:
{{#css:
table {color:red; background-color:f8f9fa; padding:10px; text-align:center;}
.statTable { background:#f8f9fa; padding:10px; text-align:center; border-spacing: 0;}
.maxRow {background-color:#f3b676;}
.statTable th{ background:#304762; color:#FFF; font-size:0.8em; width: 90px; font-weight:bold; padding:5px;}
.statTable .lvlColumn { width: 35px; font-weight:bold; }
.statTable td{ font-size:1em; width: 90px; padding:20px;}
}}
}}
<table>
<table class="statTable">{{#if: {{{display-header|}}}|<tr><th colspan=99 style="display:{{{display-header}}};">[[Character Stats]]</th></tr>|}}<tr>
{{#if: {{{display-header|}}}|<tr><th colspan=99 style="display:{{{display-header}}};">[[Character Stats]]</th></tr>|}}
<th >[TBA]</th>
<tr>
<th>[TBA]</th>
<th>Rank</th>
<th>Rank</th>
<th>Level</th>
<th class="lvlColumn">Level</th>
<th>Attack</th>
<th>Attack</th>
<th>Attack Speed</th>
<th>Attack Speed</th>
Line 20: Line 22:
<td rowspan=2>[[File:FS_{{{filename|charactername}}}.png|70px| center | middle]]</td>
<td rowspan=2>[[File:FS_{{{filename|charactername}}}.png|70px| center | middle]]</td>
<td rowspan=2>[[File:{{{rank-img|BronzeRank}}}.png|50px|  center | middle]]</td>
<td rowspan=2>[[File:{{{rank-img|BronzeRank}}}.png|50px|  center | middle]]</td>
<td>1</td>
<td class="lvlColumn">1</td>
<td>{{{atk}}}</td>
<td>{{{atk}}}</td>
<td>{{{aspd}}}</td>
<td>{{{aspd}}}</td>
Line 30: Line 32:
{{#if: {{{cost}}}<td>{{{cost}}}</td>}}
{{#if: {{{cost}}}<td>{{{cost}}}</td>}}
</tr>
</tr>
<tr>
<tr class="maxRow">
<td>MAX</td>
<td class="lvlColumn">MAX</td>
<td>{{{atk max}}}</td>
<td>{{{atk max}}}</td>
<td>{{{aspd max}}}</td>
<td>{{{aspd max}}}</td>
Line 43: Line 45:
</table>
</table>
<noinclude>
<noinclude>
Old code
{| class="wikitable" style="width:65%; margin:0 0 0em 1em; font-size:1em; text-align:center;" 50
! colspan=99 style="display:{{{display-header}}};"| [[Character Stats]]
|- style="display:{{{display-header}}};"
! style="width:90px;" |[[File:{{{class|fighter}}}.png|50px|  center | middle  |link=The Class System]]
! style="width:90px;" title="Determines the max level for stats and skills they can reach." | Rank
! style="width:40px;" title="A character's level is their current power level." |LVL
! style="min-width:35px;" title="The amount of damage a character can sustain. " |HP
! style="min-width:35px;" title="Determines the amount of damage or healing a character does on their attack." |ATK
! style="min-width:35px;" title=" Determines the amount subtracted against incoming instance of physical damage." |DEF
! style="min-width:35px;" title="Determines how much incoming instance of magical damage is reduced." |MRES
! style="min-width:35px;" title="The amount of enemies a character can hold off from passing through. " |BLK
! style="min-width:35px; display:{{{redeploy|none}}}" title="This is the cooldown time for a character to be placed back into the map after being defeated or manually withdrawn."|REP
! style="min-width:35px; display:{{{cost|none}}}" title="The amount of cost points a character will consume when deployed in battle."|COST
! style="min-width:35px;" title="This is the time interval in seconds between each auto attack a character performs in battle. " |ASPD
|-
|style="width:90px;" rowspan=2|[[File:FS_{{{filename|charactername}}}.png|70px| center | middle]]
|style="width:90px;" rowspan=2|[[File:{{{rank-img|BronzeRank}}}.png|50px|  center | middle]]
|style="width:40px;" |<b>1</b>
|style="min-width:35px;" |{{{hp}}}
|style="min-width:35px;" |{{{atk}}}
|style="min-width:35px;" |{{{def}}}
|style="min-width:35px;" |{{{magic res}}}
|style="min-width:35px;" |{{{block}}}
|style="min-width:35px; display:{{{redeploy|none}}}" |{{{redeploy}}}
|style="min-width:40px; display:{{{cost|none}}}" |{{{cost}}}
|style="min-width:40px;" |{{{atk spd}}}
|-
|<b>{{{lv max|MAX}}}</b>
|{{{hp max}}}
|{{{atk max}}}
|{{{def max}}}
|{{{magic res max|{{{magic res}}}}}}
|{{{block max|{{{block}}}}}}
|style="display:{{{redeploy|none}}}"|{{{redeploy max|{{{redeploy}}}}}}
|style="display:{{{cost|none}}}"|{{{cost max|{{{cost}}}}}}
|{{{atk spd max|{{{atk spd}}}}}}
|-
|- style="display:{{{upgrade-display|}}}";
| colspan=999 style="background-color:#eaf3ff; display:{{{upgrade|none}}};" | <div class="mw-collapsible mw-collapsed" style="width:100%; overflow:auto; vertical-align: text-bottom;"><b>Silver Rank Up</b><div class="mw-collapsible-content">{{{{{upgrade}}}}}</div></div>
|}