Pine Wiki
(Created page with "<includeonly><!-- -->{{#vardefine:title|{{{1}}}: {{{2|0}}}/5}}<!-- --><span style="white-space: nowrap;"><!-- -->Image:Icon-Rating-{{{1}}}.png|36px|alt={{{1}}}:|{{#var:tit...")
 
(ranged example)
Tag: Source edit
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly><!--
 
<includeonly><!--
-->{{#vardefine:title|{{{1}}}: {{{2|0}}}/5}}<!--
+
-->{{#vardefine:title|{{{3|{{{1}}}}}}: {{{2|0}}}/5}}<!--
--><span style="white-space: nowrap;"><!--
+
--><span style="white-space: nowrap;"><!--
-->[[Image:Icon-Rating-{{{1}}}.png|36px|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= }}|20px|{{#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= }}|20px|{{#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= }}|20px|{{#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= }}|20px|{{#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= }}|20px|{{#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>
 
Examples:
 
Examples:
 
{|
 
{|
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|5}}</nowiki></code>
+
| <code><nowiki>{{Stats|Heart|4.5}}</nowiki></code>
| {{Stats|Heart|5}}
+
| {{Stats|Heart|4.5}}
  +
|-
  +
| <code><nowiki>{{Stats|Heart|5|Armor}}</nowiki></code>
  +
| {{Stats|Heart|5|Armor}}
 
|-
 
|-
 
| <code><nowiki>{{Stats|Attack|3}}</nowiki></code>
 
| <code><nowiki>{{Stats|Attack|3}}</nowiki></code>
 
| {{Stats|Attack|3}}
 
| {{Stats|Attack|3}}
  +
|-
  +
| <code><nowiki>{{Stats|Ranged|3}}</nowiki></code>
  +
| {{Stats|Ranged|3}}
 
|-
 
|-
 
| <code><nowiki>{{Stats|Energy|3}}</nowiki></code>
 
| <code><nowiki>{{Stats|Energy|3}}</nowiki></code>

Latest revision as of 19:35, 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|Ranged|3}} Ranged:***
{{Stats|Energy|3}} Energy:***
{{Stats|Stamina|3}} Stamina:***
{{Stats|Exhaustion|3}} Exhaustion:***
{{Stats|Regeneration|3}} Regeneration:***