Template:Item/detail/ColorStat: Difference between revisions

From Shin Megami Tensei IMAGINE Wiki
Jump to navigationJump to search
imported>Sesshou
No edit summary
imported>Sesshou
No edit summary
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 08:32, 9 September 2012

-10 -10% +10 +10% foo bar