Template:Item/detail/ColorStat: Difference between revisions

From Shin Megami Tensei IMAGINE Wiki
Jump to navigationJump to search
imported>Sesshou
No edit summary
m Text replacement - "Damage Received" to "Damage Taken"
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#iferror: <!--
<includeonly>{{#iferror: <!--
-->{{#switch: {{{1}}} <!--
-->{{#switch: {{{1}}} <!--
--> | Melee Damage Taken <!--
--> | Ranged Damage Taken <!--
--> | Spell Damage Taken <!--
-->  | Cool-down Time = <!--
-->  | Cool-down Time = <!--
-->  {{#ifexpr: {{#replace:{{{2}}}|%|}} > 0 <!--
-->  {{#ifexpr: {{#replace:{{{2}}}|%|}} > 0 <!--
-->    | <span style="color:red;">{{{2}}}</span> <!--
-->    |{{{1}}}: <span style="color:red;">{{{2}}}</span> <!--
-->    |{{#ifexpr: {{#replace:{{{2}}}|%|}} < 0 <!--
-->    |{{#ifexpr: {{#replace:{{{2}}}|%|}} < 0 <!--
-->        | <span style="color:lightgreen;">{{{2}}}</span> <!--
-->        |{{{1}}}: <span style="color:lightgreen;">{{{2}}}</span> <!--
-->        | {{{2}}} <!--
-->        | {{{2}}} <!--
-->      }} <!--
-->      }} <!--
-->    }} <!--
-->    }} <!--
--> | Close-Range Damage Received <!--
--> | Long-Range Damage Received <!--
--> | Magic Damage Received <!--
--> | #default = <!--
--> | #default = <!--
-->  {{#ifexpr: {{#replace:{{{2}}}|%|}} > 0 <!--
-->  {{#ifexpr: {{#replace:{{{2}}}|%|}} > 0 <!--
-->    | <span style="color:lightgreen;">{{{2}}}</span> <!--
-->    |{{{1}}}: <span style="color:lightgreen;">{{{2}}}</span> <!--
-->    |{{#ifexpr: {{#replace:{{{2}}}|%|}} < 0 <!--
-->    |{{#ifexpr: {{#replace:{{{2}}}|%|}} < 0 <!--
-->        | <span style="color:red;">{{{2}}}</span> <!--
-->        |{{{1}}}: <span style="color:red;">{{{2}}}</span> <!--
-->        | {{{2}}} <!--
-->        | {{{2}}} <!--
-->      }} <!--
-->      }} <!--
-->    }} <!--
-->    }} <!--
-->}} <!--
-->}} <!--
-->|  {{{2}}} <!--
-->|{{{1}}}: {{{2}}} <!--
-->}}</includeonly><noinclude>
-->}}</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}}
<pre>
{{Template:Item/detail/ColorStat|Damage|+10%}} {{Template:Item/detail/ColorStat|Cool-down Time|bar}}
{{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}}
</pre>
{{Template:Item/detail/ColorStat|Cool-down Time|foo}}
 
</noinclude>
</noinclude>

Latest revision as of 23:59, 27 January 2024

{{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