Difference between revisions of "Template:Item/detail/ColorStat"
From Shin Megami Tensei IMAGINE Wiki
m |
|||
(5 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly> | + | <includeonly>{{#iferror: <!-- |
− | {{#iferror: | + | -->{{#switch: {{{1}}} <!-- |
− | + | --> | Close-Range Damage Received <!-- | |
− | + | --> | Long-Range Damage Received <!-- | |
− | + | --> | Magic Damage Received <!-- | |
− | + | --> | Cool-down Time = <!-- | |
− | + | --> {{#ifexpr: {{#replace:{{{2}}}|%|}} > 0 <!-- | |
− | + | --> |{{{1}}}: <span style="color:red;">{{{2}}}</span> <!-- | |
− | + | --> |{{#ifexpr: {{#replace:{{{2}}}|%|}} < 0 <!-- | |
− | + | --> |{{{1}}}: <span style="color:lightgreen;">{{{2}}}</span> <!-- | |
− | + | --> | {{{2}}} <!-- | |
− | + | --> }} <!-- | |
− | + | --> }} <!-- | |
− | + | --> | #default = <!-- | |
− | + | --> {{#ifexpr: {{#replace:{{{2}}}|%|}} > 0 <!-- | |
− | + | --> |{{{1}}}: <span style="color:lightgreen;">{{{2}}}</span> <!-- | |
− | + | --> |{{#ifexpr: {{#replace:{{{2}}}|%|}} < 0 <!-- | |
− | }} | + | --> |{{{1}}}: <span style="color:red;">{{{2}}}</span> <!-- |
− | </includeonly><noinclude> | + | --> | {{{2}}} <!-- |
− | {{Template:Item/detail/ColorStat|Cool-down Time|-10}} | + | --> }} <!-- |
− | {{Template:Item/detail/ColorStat|Cool-down Time| | + | --> }} <!-- |
− | {{Template:Item/detail/ColorStat|Cool-down Time| | + | -->}} <!-- |
− | {{Template:Item/detail/ColorStat|Cool-down Time|+10%}} | + | -->|{{{1}}}: {{{2}}} <!-- |
+ | -->}}</includeonly><noinclude> | ||
+ | <pre> | ||
+ | {{Template:Item/detail/ColorStat|Cool-down Time|-10%}} {{Template:Item/detail/ColorStat|Cool-down Time|+10%}} | ||
+ | </pre> | ||
+ | {{Template:Item/detail/ColorStat|Cool-down Time|-10%}} {{Template:Item/detail/ColorStat|Cool-down Time|+10%}} | ||
+ | |||
+ | <pre> | ||
+ | {{Template:Item/detail/ColorStat|Speed|+10}} {{Template:Item/detail/ColorStat|Speed|-10}} | ||
+ | </pre> | ||
+ | {{Template:Item/detail/ColorStat|Speed|+10}} {{Template:Item/detail/ColorStat|Speed|-10}} | ||
+ | |||
+ | <pre> | ||
{{Template:Item/detail/ColorStat|Cool-down Time|foo}} | {{Template:Item/detail/ColorStat|Cool-down Time|foo}} | ||
+ | </pre> | ||
+ | {{Template:Item/detail/ColorStat|Cool-down Time|foo}} | ||
+ | |||
</noinclude> | </noinclude> |
Latest revision as of 15:35, 30 November 2012
{{Template:Item/detail/ColorStat|Cool-down Time|-10%}} {{Template:Item/detail/ColorStat|Cool-down Time|+10%}}
Cool-down Time: -10% Cool-down Time: +10%
{{Template:Item/detail/ColorStat|Speed|+10}} {{Template:Item/detail/ColorStat|Speed|-10}}
Speed: +10 Speed: -10
{{Template:Item/detail/ColorStat|Cool-down Time|foo}}
Cool-down Time: foo