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

From Shin Megami Tensei IMAGINE Wiki
Jump to: navigation, search
m
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
 
<includeonly>{{#iferror: <!--
 
<includeonly>{{#iferror: <!--
 
-->{{#switch: {{{1}}} <!--
 
-->{{#switch: {{{1}}} <!--
 +
--> | Close-Range Damage Received <!--
 +
--> | Long-Range Damage Received <!--
 +
--> | Magic Damage Received <!--
 
-->  | Cool-down Time = <!--
 
-->  | Cool-down Time = <!--
 
-->  {{#ifexpr: {{#replace:{{{2}}}|%|}} > 0 <!--
 
-->  {{#ifexpr: {{#replace:{{{2}}}|%|}} > 0 <!--
Line 9: Line 12:
 
-->      }} <!--
 
-->      }} <!--
 
-->    }} <!--
 
-->    }} <!--
--> | Close-Range Damage Received <!--
 
--> | Long-Range Damage Received <!--
 
--> | Magic Damage Received <!--
 
 
--> | #default = <!--
 
--> | #default = <!--
 
-->  {{#ifexpr: {{#replace:{{{2}}}|%|}} > 0 <!--
 
-->  {{#ifexpr: {{#replace:{{{2}}}|%|}} > 0 <!--
Line 21: Line 21:
 
-->    }} <!--
 
-->    }} <!--
 
-->}} <!--
 
-->}} <!--
-->|  {{{2}}} <!--
+
-->|{{{1}}}: {{{2}}} <!--
 
-->}}</includeonly><noinclude>
 
-->}}</includeonly><noinclude>
 
<pre>
 
<pre>

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


Personal tools