Template:Stats: Difference between revisions

From AnotherEidos R Wiki
Bejeebs (talk | contribs)
No edit summary
Bejeebs (talk | contribs)
No edit summary
Line 1: Line 1:
{{#css:
<table class="statTable">{{#if: {{{display-header|}}}|<tr><th colspan=99 style="display:{{{display-header}}};">[[Character Stats]]</th></tr><tr>
.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 class="statTable">{{#if: {{{display-header|}}}|<tr><th colspan=99 style="display:{{{display-header}}};">[[Character Stats]]</th></tr>|}}<tr>
<th >[TBA]</th>
<th >[TBA]</th>
<th>Rank</th>
<th>Rank</th>
Line 15: Line 8:
<th>Defense</th>
<th>Defense</th>
<th>Magic Resist</th>
<th>Magic Resist</th>
<th>Block Count</th>
<th>Block Count</th>{{#if: {{{redeploy|}}}|<th>Reposition Time</th>}}{{#if: {{{cost}}}||<th>Cost</th>}}
{{#if: {{{redeploy|}}}|<th>Reposition Time</th>}}
</tr>}}
{{#if: {{{cost}}}||<th>Cost</th>}}
</tr>
<tr>
<tr>
<td rowspan=2>[[File:FS_{{{filename|charactername}}}.png|70px| center | middle]]</td>
<td rowspan=2>[[File:FS_{{{filename|charactername}}}.png|70px| center | middle]]</td>
Line 28: Line 19:
<td>{{{def}}}</td>
<td>{{{def}}}</td>
<td>{{{mres}}}</td>
<td>{{{mres}}}</td>
<td>{{{blk}}}</td>
<td>{{{blk}}}</td>{{#if: {{{redeploy|}}}|<td>{{{redeploy}}}</td>}}{{#if: {{{cost}}}<td>{{{cost}}}</td>}}
{{#if: {{{redeploy|}}}|<td>{{{redeploy}}}</td>}}
{{#if: {{{cost}}}<td>{{{cost}}}</td>}}
</tr>
</tr>
<tr class="maxRow">
<tr class="maxRow">
Line 39: Line 28:
<td>{{{def max}}}</td>
<td>{{{def max}}}</td>
<td>{{{mres max}}}</td>
<td>{{{mres max}}}</td>
<td>{{{blk max}}}</td>
<td>{{{blk max}}}</td>{{#if: {{{redeploy|}}}|<td>{{{redeploy max}}}</td>}}{{#if: {{{cost}}}<td>{{{cost max}}}</td>}}
{{#if: {{{redeploy|}}}|<td>{{{redeploy max}}}</td>}}
</tr></table>
{{#if: {{{cost}}}<td>{{{cost max}}}</td>}}
</tr>
</table>
<noinclude>
<noinclude>
{{#css:
.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;}
}}