Difference between revisions of "Template:Item/detail/ColorStat"

From Shin Megami Tensei IMAGINE Wiki
Jump to: navigation, search
Line 1: Line 1:
<includeonly>
+
<includeonly>{{#iferror: <!--
{{#iferror:
+
-->{{#switch: {{{1}}} <!--
    {{#switch: {{{1}}}
+
-->  | Cool-down Time = <!--
      | Cool-down Time =
+
-->  {{#ifexpr: {{#replace:{{{2}}}|%|}} > 0 <!--
        {{#ifexpr: {{{2}}} > 0
+
-->    | <span style="color:red;">{{{2}}}</span> <!--
          | <span style="color:red;">{{{2}}}</span>
+
-->    |{{#ifexpr: {{#replace:{{{2}}}|%|}} < 0 <!--
          |{{#ifexpr: {{{2}}} < 0
+
-->        | <span style="color:lightgreen;">{{{2}}}</span> <!--
              | <span style="color:lightgreen;">{{{2}}}</span>
+
-->        | {{{2}}} <!--
              | {{{2}}}
+
-->      }} <!--
            }}
+
-->    }} <!--
        }}
+
--> | Close-Range Damage Received <!--
      | Close-Range Damage Received =
+
--> | Long-Range Damage Received <!--
      | Long-Range Damage Received =
+
--> | Magic Damage Received <!--
      | Magic Damage Received
+
--> | #default = <!--
      | #default =
+
-->}} <!--
    }}
+
-->|  {{{2}}} <!--
  |  {{{2}}}
+
-->}}</includeonly><noinclude>
}}
+
{{Template:Item/detail/ColorStat|Cool-down Time|-10}} {{Template:Item/detail/ColorStat|Cool-down Time|-10%}} {{Template:Item/detail/ColorStat|Cool-down Time|+10}} {{Template:Item/detail/ColorStat|Cool-down Time|+10%}} {{Template:Item/detail/ColorStat|Cool-down Time|foo}} {{Template:Item/detail/ColorStat|Cool-down Time|bar}}
</includeonly><noinclude>
+
{{Template:Item/detail/ColorStat|Cool-down Time|-10}}
+
{{Template:Item/detail/ColorStat|Cool-down Time|-10%}}
+
{{Template:Item/detail/ColorStat|Cool-down Time|+10}}
+
{{Template:Item/detail/ColorStat|Cool-down Time|+10%}}
+
{{Template:Item/detail/ColorStat|Cool-down Time|foo}}
+
 
</noinclude>
 
</noinclude>

Revision as of 03:32, 9 September 2012

Cool-down Time: -10 Cool-down Time: -10% Cool-down Time: +10 Cool-down Time: +10% Cool-down Time: foo Cool-down Time: bar

Personal tools