Template:Test: Difference between revisions

From Baten Kaitos Wiki
mNo edit summary
mNo edit summary
Line 8: Line 8:
|- style="background: #FF69B4; text-align:center"
|- style="background: #FF69B4; text-align:center"
! style="padding-left: 0.2em; padding-right: 0.2em; display: flex; justify-content: space-between;" | <div>HP:</div><div>{{{HP|1}}}</div>
! style="padding-left: 0.2em; padding-right: 0.2em; display: flex; justify-content: space-between;" | <div>HP:</div><div>{{{HP|1}}}</div>
| style="width: 255px" | <div class="statbar" style="background-color: #c0c0c0 ; border: 1px solid #808080; width: calc(100% * {{{HP|1}}}/255); height:20px"></div>
| style="width: 255px" | <div class="statbar" style="background-color: #c0c0c0 ; border: 1px solid #808080; width: calc(100% * {{{HP|1}}}/20160); height:20px"></div>
| <small>{{#ifexpr: {{{HP|1}}} = 1|1|{{#expr: ((0 + 2 * {{{HP|1}}} + (0/4)) * 50/100) + 10 + 50}}}} - {{#ifexpr: {{{HP|1}}} = 1|1|{{#expr: ((31 + 2 * {{{HP|1}}} + (252/4)) * 50/100) + 10 + 50}}}}</small>
| <small>{{#ifexpr: {{{HP|1}}} = 1|1|{{#expr: ((0 + 2 * {{{HP|1}}} + (0/4)) * 50/100) + 10 + 50}}}} - {{#ifexpr: {{{HP|1}}} = 1|1|{{#expr: ((31 + 2 * {{{HP|1}}} + (20157/4)) * 50/100) + 10 + 50}}}}</small>
| <small>{{#ifexpr: {{{HP|1}}} = 1|1|{{#expr: ((0 + 2 * {{{HP|1}}} + (0/4)) * 100/100) + 10 + 100}}}} - {{#ifexpr: {{{HP|1}}} = 1|1|{{#expr: ((31 + 2 * {{{HP|1}}} + (252/4)) * 100/100) + 10 + 100}}}}</small>
| <small>{{#ifexpr: {{{HP|1}}} = 1|1|{{#expr: ((0 + 2 * {{{HP|1}}} + (0/4)) * 100/100) + 10 + 100}}}} - {{#ifexpr: {{{HP|1}}} = 1|1|{{#expr: ((31 + 2 * {{{HP|1}}} + (20157/4)) * 100/100) + 10 + 100}}}}</small>
|- style="background: #00ffff; text-align:center"
|- style="background: #00ffff; text-align:center"
! style="padding-left: 0.2em; padding-right: 0.2em; display: flex; justify-content: space-between;" | <div>Attack:</div><div>{{{Attack|1}}}</div>
! style="padding-left: 0.2em; padding-right: 0.2em; display: flex; justify-content: space-between;" | <div>Offense:</div><div>{{{Offense|1}}}</div>
| style="width: 255px" | <div class="statbar" style="background-color: #c0c0c0; border: 1px solid #808080; width: calc(100% * {{{Attack|1}}}/255); height:20px"></div>
| style="width: 255px" | <div class="statbar" style="background-color: #c0c0c0; border: 1px solid #808080; width: calc(100% * {{{Offense|1}}}/32.3); height:20px"></div>
| <small>{{#expr: floor((((0 + 2 * {{{Attack|1}}} + (0/4)) * 50/100) + 5) * .9)}} - {{#expr: floor((((31 + 2 * {{{Attack|1}}} + (252/4)) * 50/100) + 5) * 1.1)}}</small>
| <small>{{#expr: floor((((0 + 2 * {{{Offense|1}}} + (0/4)) * 50/100) + 5) * .9)}} - {{#expr: floor((((31 + 2 * {{{Offense|1}}} + (252/4)) * 50/100) + 5) * 1.1)}}</small>
| <small>{{#expr: floor((((0 + 2 * {{{Attack|1}}} + (0/4)) * 100/100) + 5) * .9)}} - {{#expr: floor((((31 + 2 * {{{Attack|1}}} + (252/4)) * 100/100) + 5) * 1.1)}}</small>
| <small>{{#expr: floor((((0 + 2 * {{{Offense|1}}} + (0/4)) * 100/100) + 5) * .9)}} - {{#expr: floor((((31 + 2 * {{{Offense|1}}} + (252/4)) * 100/100) + 5) * 1.1)}}</small>


</div><noinclude>[[Category:Templates]]
</div><noinclude>[[Category:Templates]]
</noinclude>
</noinclude>

Revision as of 03:47, 6 April 2024

Words Range
At Lv. 50 At Lv. 100
HP:
1
1 - 1 1 - 1
Offense:
1
5 - 58 6 - 111