Pine Wiki
m
(half stars)
Tag: Source edit
Line 3: Line 3:
 
--><span style="white-space: nowrap;"><!--
 
--><span style="white-space: nowrap;"><!--
 
-->[[Image:Icon-Rating-{{{1}}}.png|26px|alt={{{1}}}:|{{#var:title}}]]<!--
 
-->[[Image:Icon-Rating-{{{1}}}.png|26px|alt={{{1}}}:|{{#var:title}}]]<!--
-->[[Image:Icon-Star-{{#ifexpr: {{{2|0}}} >= 1 | Filled.png{{!}}alt=* | Empty.png{{!}}alt= }}|14px|{{#var:title}}]]<!--
+
-->[[Image:Icon-Star-{{#ifexpr: {{{2|0}}} >= 1 | Filled.png{{!}}alt=* | {{#ifexpr: {{{2|0}}} > 0 | Half.png{{!}}alt=+ | Empty.png{{!}}alt= }} }}|14px|{{#var:title}}]]<!--
-->[[Image:Icon-Star-{{#ifexpr: {{{2|0}}} >= 2 | Filled.png{{!}}alt=* | Empty.png{{!}}alt= }}|14px|{{#var:title}}]]<!--
+
-->[[Image:Icon-Star-{{#ifexpr: {{{2|0}}} >= 2 | Filled.png{{!}}alt=* | {{#ifexpr: {{{2|0}}} > 1 | Half.png{{!}}alt=+ | Empty.png{{!}}alt= }} }}|14px|{{#var:title}}]]<!--
-->[[Image:Icon-Star-{{#ifexpr: {{{2|0}}} >= 3 | Filled.png{{!}}alt=* | Empty.png{{!}}alt= }}|14px|{{#var:title}}]]<!--
+
-->[[Image:Icon-Star-{{#ifexpr: {{{2|0}}} >= 3 | Filled.png{{!}}alt=* | {{#ifexpr: {{{2|0}}} > 2 | Half.png{{!}}alt=+ | Empty.png{{!}}alt= }} }}|14px|{{#var:title}}]]<!--
-->[[Image:Icon-Star-{{#ifexpr: {{{2|0}}} >= 4 | Filled.png{{!}}alt=* | Empty.png{{!}}alt= }}|14px|{{#var:title}}]]<!--
+
-->[[Image:Icon-Star-{{#ifexpr: {{{2|0}}} >= 4 | Filled.png{{!}}alt=* | {{#ifexpr: {{{2|0}}} > 3 | Half.png{{!}}alt=+ | Empty.png{{!}}alt= }} }}|14px|{{#var:title}}]]<!--
-->[[Image:Icon-Star-{{#ifexpr: {{{2|0}}} >= 5 | Filled.png{{!}}alt=* | Empty.png{{!}}alt= }}|14px|{{#var:title}}]]<!--
+
-->[[Image:Icon-Star-{{#ifexpr: {{{2|0}}} >= 5 | Filled.png{{!}}alt=* | {{#ifexpr: {{{2|0}}} > 4 | Half.png{{!}}alt=+ | Empty.png{{!}}alt= }} }}|14px|{{#var:title}}]]<!--
 
--></span><!--
 
--></span><!--
 
--></includeonly><noinclude>
 
--></includeonly><noinclude>
Line 18: Line 18:
 
| <code><nowiki>{{Stats|Heart|0}}</nowiki></code>
 
| <code><nowiki>{{Stats|Heart|0}}</nowiki></code>
 
| {{Stats|Heart|0}}
 
| {{Stats|Heart|0}}
  +
|-
  +
| <code><nowiki>{{Stats|Heart|0.5}}</nowiki></code>
  +
| {{Stats|Heart|0.5}}
 
|-
 
|-
 
| <code><nowiki>{{Stats|Heart|1}}</nowiki></code>
 
| <code><nowiki>{{Stats|Heart|1}}</nowiki></code>
 
| {{Stats|Heart|1}}
 
| {{Stats|Heart|1}}
  +
|-
  +
| <code><nowiki>{{Stats|Heart|1.5}}</nowiki></code>
  +
| {{Stats|Heart|1.5}}
 
|-
 
|-
 
| <code><nowiki>{{Stats|Heart|2}}</nowiki></code>
 
| <code><nowiki>{{Stats|Heart|2}}</nowiki></code>
 
| {{Stats|Heart|2}}
 
| {{Stats|Heart|2}}
  +
|-
  +
| <code><nowiki>{{Stats|Heart|2.5}}</nowiki></code>
  +
| {{Stats|Heart|2.5}}
 
|-
 
|-
 
| <code><nowiki>{{Stats|Heart|3}}</nowiki></code>
 
| <code><nowiki>{{Stats|Heart|3}}</nowiki></code>
 
| {{Stats|Heart|3}}
 
| {{Stats|Heart|3}}
  +
|-
  +
| <code><nowiki>{{Stats|Heart|3.5}}</nowiki></code>
  +
| {{Stats|Heart|3.5}}
 
|-
 
|-
 
| <code><nowiki>{{Stats|Heart|4}}</nowiki></code>
 
| <code><nowiki>{{Stats|Heart|4}}</nowiki></code>
 
| {{Stats|Heart|4}}
 
| {{Stats|Heart|4}}
  +
|-
  +
| <code><nowiki>{{Stats|Heart|4.5}}</nowiki></code>
  +
| {{Stats|Heart|4.5}}
 
|-
 
|-
 
| <code><nowiki>{{Stats|Heart|5|Armor}}</nowiki></code>
 
| <code><nowiki>{{Stats|Heart|5|Armor}}</nowiki></code>

Revision as of 18:43, 29 August 2021

Examples:

Code Result
{{Stats|Heart|0}} Heart:
{{Stats|Heart|0.5}} Heart:+
{{Stats|Heart|1}} Heart:*
{{Stats|Heart|1.5}} Heart:*+
{{Stats|Heart|2}} Heart:**
{{Stats|Heart|2.5}} Heart:**+
{{Stats|Heart|3}} Heart:***
{{Stats|Heart|3.5}} Heart:***+
{{Stats|Heart|4}} Heart:****
{{Stats|Heart|4.5}} Heart:****+
{{Stats|Heart|5|Armor}} Heart:*****
{{Stats|Attack|3}} Attack:***
{{Stats|Energy|3}} Energy:***
{{Stats|Stamina|3}} Stamina:***
{{Stats|Exhaustion|3}} Exhaustion:***
{{Stats|Regeneration|3}} Regeneration:***