Template:Statbars: Difference between revisions
Jump to navigation
Jump to search
m (Making numbers look better when different ones have different numbers of digits) |
(Please don't break please don't break please don't break) Tag: Reverted |
||
Line 1: | Line 1: | ||
<includeonly>{| class="statbars icon-tooltip" | <includeonly>{| class="statbars icon-tooltip" | ||
{{#if:{{{ | {{#if:{{{g1|}}}|{{!!}}{{!!}}{{!!}}{{!!}}'''Growth'''}} | ||
|- | |- | ||
{{#if:{{{ | {{#if:{{{1|}}}|{{!}}{{{1}}} {{!!}}style="text-align:right;"{{!}} {{{i1|?}}} {{!!}} width="256px" style="text-align:left;"{{!}}<div class="statbar" style="width: calc(100% * {{{i1|1}}}/{{{n|99}}});"></div>}}{{#if:{{{g1|}}}|{{!!}}<center>{{{g1|}}}%</center>}} | ||
|- | |- | ||
{{#if:{{{ | {{#if:{{{2|}}}|{{!}}{{{2}}} {{!!}}style="text-align:right;"{{!}} {{{i2|?}}} {{!!}} width="256px" style="text-align:left;"{{!}}<div class="statbar" style="width: calc(100% * {{{i2|1}}}/{{{n|99}}});"></div>}}{{#if:{{{g2|}}}|{{!!}}<center>{{{g2|}}}%</center>}} | ||
|- | |- | ||
{{#if:{{{ | {{#if:{{{3|}}}|{{!}}{{{3}}} {{!!}}style="text-align:right;"{{!}} {{{i3|?}}} {{!!}} width="256px" style="text-align:left;"{{!}}<div class="statbar" style="width: calc(100% * {{{i3|1}}}/{{{n|99}}});"></div>}}{{#if:{{{g3|}}}|{{!!}}<center>{{{g3|}}}%</center>}} | ||
|- | |- | ||
{{#if:{{{ | {{#if:{{{4|}}}|{{!}}{{{4}}} {{!!}}style="text-align:right;"{{!}} {{{i4|?}}} {{!!}} width="256px" style="text-align:left;"{{!}}<div class="statbar" style="width: calc(100% * {{{i4|1}}}/{{{n|99}}});"></div>}}{{#if:{{{g4|}}}|{{!!}}<center>{{{g4|}}}%</center>}} | ||
|- | |- | ||
{{#if:{{{6|}}}|{{!}}{{{6}}} {{!}}style="text-align:right;"{{!}} {{{i6|?}}} {{!!}} width="256px" style="text-align:left;"{{!}}<div class="statbar" style="width: calc(100% * {{{i6|1}}}/{{{n|99}}});"></div>}} | {{#if:{{{5|}}}|{{!}}{{{5}}} {{!!}}style="text-align:right;"{{!}} {{{i5|?}}} {{!!}} width="256px" style="text-align:left;"{{!}}<div class="statbar" style="width: calc(100% * {{{i5|1}}}/{{{n|99}}});"></div>}}{{#if:{{{g5|}}}|{{!!}}<center>{{{g5|}}}%</center>}} | ||
|- | |||
{{#if:{{{6|}}}|{{!}}{{{6}}} {{!!}}style="text-align:right;"{{!}} {{{i6|?}}} {{!!}} width="256px" style="text-align:left;"{{!}}<div class="statbar" style="width: calc(100% * {{{i6|1}}}/{{{n|99}}});"></div>}}{{#if:{{{g6|}}}|{{!!}}<center>{{{g6|}}}%</center>}} | |||
|}</includeonly><noinclude> | |}</includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
[[Category:Stat Table Templates]] | [[Category:Stat Table Templates]] | ||
</noinclude> | </noinclude> |