Template:Item/Flattened: Difference between revisions

From Shin Megami Tensei IMAGINE Wiki
Jump to navigationJump to search
m Text replacement - "Long-Range" to "Ranged"
m Text replacement - "Close-Range" to "Melee"
Line 52: Line 52:
| [[{{{PageName|{{{Name}}}}}} | {{{Name}}}]]  
| [[{{{PageName|{{{Name}}}}}} | {{{Name}}}]]  
|| {{{Affinity|}}}  
|| {{{Affinity|}}}  
|| {{#if: {{{Close-Range|}}}|{{{Close-Range|}}}|{{{Ranged|}}} }}
|| {{#if: {{{Melee|}}}|{{{Melee|}}}|{{{Ranged|}}} }}
|| {{{Spell|}}}
|| {{{Spell|}}}
|| {{{Support|}}}
|| {{{Support|}}}
Line 97: Line 97:
-->{{#if: {{{Physical Defense|}}} | <div>{{#iferror: <!--
-->{{#if: {{{Physical Defense|}}} | <div>{{#iferror: <!--
-->{{#switch: Physical Defense <!--
-->{{#switch: Physical Defense <!--
--> | Close-Range Damage Received <!--
--> | Melee Damage Received <!--
--> | Ranged Damage Received <!--
--> | Ranged Damage Received <!--
--> | Magic Damage Received <!--
--> | Magic Damage Received <!--
Line 121: Line 121:
-->{{#if: {{{Magic Defense|}}} | <div>{{#iferror: <!--
-->{{#if: {{{Magic Defense|}}} | <div>{{#iferror: <!--
-->{{#switch: Magic Defense <!--
-->{{#switch: Magic Defense <!--
--> | Close-Range Damage Received <!--
--> | Melee Damage Received <!--
--> | Ranged Damage Received <!--
--> | Ranged Damage Received <!--
--> | Magic Damage Received <!--
--> | Magic Damage Received <!--
Line 143: Line 143:
-->|Magic Defense:  {{{Magic Defense|}}} <!--
-->|Magic Defense:  {{{Magic Defense|}}} <!--
-->}}</div> |}}<!--
-->}}</div> |}}<!--
-->{{#if: {{{Close-Range|}}} | <div>{{#iferror: <!--
-->{{#if: {{{Melee|}}} | <div>{{#iferror: <!--
-->{{#switch: Close-Range <!--
-->{{#switch: Melee <!--
--> | Close-Range Damage Received <!--
--> | Melee Damage Received <!--
--> | Ranged Damage Received <!--
--> | Ranged Damage Received <!--
--> | Magic Damage Received <!--
--> | Magic Damage Received <!--
-->  | Cool-down Time = <!--
-->  | Cool-down Time = <!--
-->  {{#ifexpr: {{#replace:{{{Close-Range|}}}|%|}} > 0 <!--
-->  {{#ifexpr: {{#replace:{{{Melee|}}}|%|}} > 0 <!--
-->    |Close-Range: <span style="color:red;">{{{Close-Range|}}}</span> <!--
-->    |Melee: <span style="color:red;">{{{Melee|}}}</span> <!--
-->    |{{#ifexpr: {{#replace:{{{Close-Range|}}}|%|}} < 0 <!--
-->    |{{#ifexpr: {{#replace:{{{Melee|}}}|%|}} < 0 <!--
-->        |Close-Range: <span style="color:lightgreen;">{{{Close-Range|}}}</span> <!--
-->        |Melee: <span style="color:lightgreen;">{{{Melee|}}}</span> <!--
-->        | {{{Close-Range|}}} <!--
-->        | {{{Melee|}}} <!--
-->      }} <!--
-->      }} <!--
-->    }} <!--
-->    }} <!--
--> | #default = <!--
--> | #default = <!--
-->  {{#ifexpr: {{#replace:{{{Close-Range|}}}|%|}} > 0 <!--
-->  {{#ifexpr: {{#replace:{{{Melee|}}}|%|}} > 0 <!--
-->    |Close-Range: <span style="color:lightgreen;">{{{Close-Range|}}}</span> <!--
-->    |Melee: <span style="color:lightgreen;">{{{Melee|}}}</span> <!--
-->    |{{#ifexpr: {{#replace:{{{Close-Range|}}}|%|}} < 0 <!--
-->    |{{#ifexpr: {{#replace:{{{Melee|}}}|%|}} < 0 <!--
-->        |Close-Range: <span style="color:red;">{{{Close-Range|}}}</span> <!--
-->        |Melee: <span style="color:red;">{{{Melee|}}}</span> <!--
-->        | {{{Close-Range|}}} <!--
-->        | {{{Melee|}}} <!--
-->      }} <!--
-->      }} <!--
-->    }} <!--
-->    }} <!--
-->}} <!--
-->}} <!--
-->|Close-Range:  {{{Close-Range|}}} <!--
-->|Melee:  {{{Melee|}}} <!--
-->}}</div> |}}<!--
-->}}</div> |}}<!--
-->{{#if: {{{Ranged|}}} | <div>{{#iferror: <!--
-->{{#if: {{{Ranged|}}} | <div>{{#iferror: <!--
-->{{#switch: Ranged <!--
-->{{#switch: Ranged <!--
--> | Close-Range Damage Received <!--
--> | Melee Damage Received <!--
--> | Ranged Damage Received <!--
--> | Ranged Damage Received <!--
--> | Magic Damage Received <!--
--> | Magic Damage Received <!--
Line 193: Line 193:
-->{{#if: {{{Spell|}}} | <div>{{#iferror: <!--
-->{{#if: {{{Spell|}}} | <div>{{#iferror: <!--
-->{{#switch: Spell <!--
-->{{#switch: Spell <!--
--> | Close-Range Damage Received <!--
--> | Melee Damage Received <!--
--> | Ranged Damage Received <!--
--> | Ranged Damage Received <!--
--> | Magic Damage Received <!--
--> | Magic Damage Received <!--
Line 217: Line 217:
-->{{#if: {{{Support|}}} | <div>{{#iferror: <!--
-->{{#if: {{{Support|}}} | <div>{{#iferror: <!--
-->{{#switch: Support <!--
-->{{#switch: Support <!--
--> | Close-Range Damage Received <!--
--> | Melee Damage Received <!--
--> | Ranged Damage Received <!--
--> | Ranged Damage Received <!--
--> | Magic Damage Received <!--
--> | Magic Damage Received <!--
Line 241: Line 241:
-->{{#if: {{{Critical|}}} | <div>{{#iferror: <!--
-->{{#if: {{{Critical|}}} | <div>{{#iferror: <!--
-->{{#switch: Critical <!--
-->{{#switch: Critical <!--
--> | Close-Range Damage Received <!--
--> | Melee Damage Received <!--
--> | Ranged Damage Received <!--
--> | Ranged Damage Received <!--
--> | Magic Damage Received <!--
--> | Magic Damage Received <!--
Line 265: Line 265:
-->{{#if: {{{Additional Boost 1 Type|}}} | <div>{{#iferror: <!--
-->{{#if: {{{Additional Boost 1 Type|}}} | <div>{{#iferror: <!--
-->{{#switch: {{{Additional Boost 1 Type|}}} <!--
-->{{#switch: {{{Additional Boost 1 Type|}}} <!--
--> | Close-Range Damage Received <!--
--> | Melee Damage Received <!--
--> | Ranged Damage Received <!--
--> | Ranged Damage Received <!--
--> | Magic Damage Received <!--
--> | Magic Damage Received <!--
Line 289: Line 289:
-->{{#if: {{{Additional Boost 2 Type|}}} | <div>{{#iferror: <!--
-->{{#if: {{{Additional Boost 2 Type|}}} | <div>{{#iferror: <!--
-->{{#switch: {{{Additional Boost 2 Type|}}} <!--
-->{{#switch: {{{Additional Boost 2 Type|}}} <!--
--> | Close-Range Damage Received <!--
--> | Melee Damage Received <!--
--> | Ranged Damage Received <!--
--> | Ranged Damage Received <!--
--> | Magic Damage Received <!--
--> | Magic Damage Received <!--
Line 313: Line 313:
-->{{#if: {{{Additional Boost 3 Type|}}} | <div>{{#iferror: <!--
-->{{#if: {{{Additional Boost 3 Type|}}} | <div>{{#iferror: <!--
-->{{#switch: {{{Additional Boost 3 Type|}}} <!--
-->{{#switch: {{{Additional Boost 3 Type|}}} <!--
--> | Close-Range Damage Received <!--
--> | Melee Damage Received <!--
--> | Ranged Damage Received <!--
--> | Ranged Damage Received <!--
--> | Magic Damage Received <!--
--> | Magic Damage Received <!--
Line 337: Line 337:
-->{{#if: {{{Additional Boost 4 Type|}}} | <div>{{#iferror: <!--
-->{{#if: {{{Additional Boost 4 Type|}}} | <div>{{#iferror: <!--
-->{{#switch: {{{Additional Boost 4 Type|}}} <!--
-->{{#switch: {{{Additional Boost 4 Type|}}} <!--
--> | Close-Range Damage Received <!--
--> | Melee Damage Received <!--
--> | Ranged Damage Received <!--
--> | Ranged Damage Received <!--
--> | Magic Damage Received <!--
--> | Magic Damage Received <!--
Line 361: Line 361:
-->{{#if: {{{Additional Boost 5 Type|}}} | <div>{{#iferror: <!--
-->{{#if: {{{Additional Boost 5 Type|}}} | <div>{{#iferror: <!--
-->{{#switch: {{{Additional Boost 5 Type|}}} <!--
-->{{#switch: {{{Additional Boost 5 Type|}}} <!--
--> | Close-Range Damage Received <!--
--> | Melee Damage Received <!--
--> | Ranged Damage Received <!--
--> | Ranged Damage Received <!--
--> | Magic Damage Received <!--
--> | Magic Damage Received <!--
Line 385: Line 385:
-->{{#if: {{{Additional Boost 6 Type|}}} | <div>{{#iferror: <!--
-->{{#if: {{{Additional Boost 6 Type|}}} | <div>{{#iferror: <!--
-->{{#switch: {{{Additional Boost 6 Type|}}} <!--
-->{{#switch: {{{Additional Boost 6 Type|}}} <!--
--> | Close-Range Damage Received <!--
--> | Melee Damage Received <!--
--> | Ranged Damage Received <!--
--> | Ranged Damage Received <!--
--> | Magic Damage Received <!--
--> | Magic Damage Received <!--
Line 456: Line 456:
-->{{#if: {{{Physical Defense|}}} | <div>{{#iferror: <!--
-->{{#if: {{{Physical Defense|}}} | <div>{{#iferror: <!--
-->{{#switch: Physical Defense <!--
-->{{#switch: Physical Defense <!--
--> | Close-Range Damage Received <!--
--> | Melee Damage Received <!--
--> | Ranged Damage Received <!--
--> | Ranged Damage Received <!--
--> | Magic Damage Received <!--
--> | Magic Damage Received <!--
Line 480: Line 480:
-->{{#if: {{{Magic Defense|}}} | <div>{{#iferror: <!--
-->{{#if: {{{Magic Defense|}}} | <div>{{#iferror: <!--
-->{{#switch: Magic Defense <!--
-->{{#switch: Magic Defense <!--
--> | Close-Range Damage Received <!--
--> | Melee Damage Received <!--
--> | Ranged Damage Received <!--
--> | Ranged Damage Received <!--
--> | Magic Damage Received <!--
--> | Magic Damage Received <!--
Line 502: Line 502:
-->|Magic Defense:  {{{Magic Defense|}}} <!--
-->|Magic Defense:  {{{Magic Defense|}}} <!--
-->}}</div> |}}<!--
-->}}</div> |}}<!--
-->{{#if: {{{Close-Range|}}} | <div>{{#iferror: <!--
-->{{#if: {{{Melee|}}} | <div>{{#iferror: <!--
-->{{#switch: Close-Range <!--
-->{{#switch: Melee <!--
--> | Close-Range Damage Received <!--
--> | Melee Damage Received <!--
--> | Ranged Damage Received <!--
--> | Ranged Damage Received <!--
--> | Magic Damage Received <!--
--> | Magic Damage Received <!--
-->  | Cool-down Time = <!--
-->  | Cool-down Time = <!--
-->  {{#ifexpr: {{#replace:{{{Close-Range|}}}|%|}} > 0 <!--
-->  {{#ifexpr: {{#replace:{{{Melee|}}}|%|}} > 0 <!--
-->    |Close-Range: <span style="color:red;">{{{Close-Range|}}}</span> <!--
-->    |Melee: <span style="color:red;">{{{Melee|}}}</span> <!--
-->    |{{#ifexpr: {{#replace:{{{Close-Range|}}}|%|}} < 0 <!--
-->    |{{#ifexpr: {{#replace:{{{Melee|}}}|%|}} < 0 <!--
-->        |Close-Range: <span style="color:lightgreen;">{{{Close-Range|}}}</span> <!--
-->        |Melee: <span style="color:lightgreen;">{{{Melee|}}}</span> <!--
-->        | {{{Close-Range|}}} <!--
-->        | {{{Melee|}}} <!--
-->      }} <!--
-->      }} <!--
-->    }} <!--
-->    }} <!--
--> | #default = <!--
--> | #default = <!--
-->  {{#ifexpr: {{#replace:{{{Close-Range|}}}|%|}} > 0 <!--
-->  {{#ifexpr: {{#replace:{{{Melee|}}}|%|}} > 0 <!--
-->    |Close-Range: <span style="color:lightgreen;">{{{Close-Range|}}}</span> <!--
-->    |Melee: <span style="color:lightgreen;">{{{Melee|}}}</span> <!--
-->    |{{#ifexpr: {{#replace:{{{Close-Range|}}}|%|}} < 0 <!--
-->    |{{#ifexpr: {{#replace:{{{Melee|}}}|%|}} < 0 <!--
-->        |Close-Range: <span style="color:red;">{{{Close-Range|}}}</span> <!--
-->        |Melee: <span style="color:red;">{{{Melee|}}}</span> <!--
-->        | {{{Close-Range|}}} <!--
-->        | {{{Melee|}}} <!--
-->      }} <!--
-->      }} <!--
-->    }} <!--
-->    }} <!--
-->}} <!--
-->}} <!--
-->|Close-Range:  {{{Close-Range|}}} <!--
-->|Melee:  {{{Melee|}}} <!--
-->}}</div> |}}<!--
-->}}</div> |}}<!--
-->{{#if: {{{Ranged|}}} | <div>{{#iferror: <!--
-->{{#if: {{{Ranged|}}} | <div>{{#iferror: <!--
-->{{#switch: Ranged <!--
-->{{#switch: Ranged <!--
--> | Close-Range Damage Received <!--
--> | Melee Damage Received <!--
--> | Ranged Damage Received <!--
--> | Ranged Damage Received <!--
--> | Magic Damage Received <!--
--> | Magic Damage Received <!--
Line 552: Line 552:
-->{{#if: {{{Spell|}}} | <div>{{#iferror: <!--
-->{{#if: {{{Spell|}}} | <div>{{#iferror: <!--
-->{{#switch: Spell <!--
-->{{#switch: Spell <!--
--> | Close-Range Damage Received <!--
--> | Melee Damage Received <!--
--> | Ranged Damage Received <!--
--> | Ranged Damage Received <!--
--> | Magic Damage Received <!--
--> | Magic Damage Received <!--
Line 576: Line 576:
-->{{#if: {{{Support|}}} | <div>{{#iferror: <!--
-->{{#if: {{{Support|}}} | <div>{{#iferror: <!--
-->{{#switch: Support <!--
-->{{#switch: Support <!--
--> | Close-Range Damage Received <!--
--> | Melee Damage Received <!--
--> | Ranged Damage Received <!--
--> | Ranged Damage Received <!--
--> | Magic Damage Received <!--
--> | Magic Damage Received <!--
Line 600: Line 600:
-->{{#if: {{{Critical|}}} | <div>{{#iferror: <!--
-->{{#if: {{{Critical|}}} | <div>{{#iferror: <!--
-->{{#switch: Critical <!--
-->{{#switch: Critical <!--
--> | Close-Range Damage Received <!--
--> | Melee Damage Received <!--
--> | Ranged Damage Received <!--
--> | Ranged Damage Received <!--
--> | Magic Damage Received <!--
--> | Magic Damage Received <!--
Line 624: Line 624:
-->{{#if: {{{Additional Boost 1 Type|}}} | <div>{{#iferror: <!--
-->{{#if: {{{Additional Boost 1 Type|}}} | <div>{{#iferror: <!--
-->{{#switch: {{{Additional Boost 1 Type|}}} <!--
-->{{#switch: {{{Additional Boost 1 Type|}}} <!--
--> | Close-Range Damage Received <!--
--> | Melee Damage Received <!--
--> | Ranged Damage Received <!--
--> | Ranged Damage Received <!--
--> | Magic Damage Received <!--
--> | Magic Damage Received <!--
Line 648: Line 648:
-->{{#if: {{{Additional Boost 2 Type|}}} | <div>{{#iferror: <!--
-->{{#if: {{{Additional Boost 2 Type|}}} | <div>{{#iferror: <!--
-->{{#switch: {{{Additional Boost 2 Type|}}} <!--
-->{{#switch: {{{Additional Boost 2 Type|}}} <!--
--> | Close-Range Damage Received <!--
--> | Melee Damage Received <!--
--> | Ranged Damage Received <!--
--> | Ranged Damage Received <!--
--> | Magic Damage Received <!--
--> | Magic Damage Received <!--
Line 672: Line 672:
-->{{#if: {{{Additional Boost 3 Type|}}} | <div>{{#iferror: <!--
-->{{#if: {{{Additional Boost 3 Type|}}} | <div>{{#iferror: <!--
-->{{#switch: {{{Additional Boost 3 Type|}}} <!--
-->{{#switch: {{{Additional Boost 3 Type|}}} <!--
--> | Close-Range Damage Received <!--
--> | Melee Damage Received <!--
--> | Ranged Damage Received <!--
--> | Ranged Damage Received <!--
--> | Magic Damage Received <!--
--> | Magic Damage Received <!--
Line 696: Line 696:
-->{{#if: {{{Additional Boost 4 Type|}}} | <div>{{#iferror: <!--
-->{{#if: {{{Additional Boost 4 Type|}}} | <div>{{#iferror: <!--
-->{{#switch: {{{Additional Boost 4 Type|}}} <!--
-->{{#switch: {{{Additional Boost 4 Type|}}} <!--
--> | Close-Range Damage Received <!--
--> | Melee Damage Received <!--
--> | Ranged Damage Received <!--
--> | Ranged Damage Received <!--
--> | Magic Damage Received <!--
--> | Magic Damage Received <!--
Line 720: Line 720:
-->{{#if: {{{Additional Boost 5 Type|}}} | <div>{{#iferror: <!--
-->{{#if: {{{Additional Boost 5 Type|}}} | <div>{{#iferror: <!--
-->{{#switch: {{{Additional Boost 5 Type|}}} <!--
-->{{#switch: {{{Additional Boost 5 Type|}}} <!--
--> | Close-Range Damage Received <!--
--> | Melee Damage Received <!--
--> | Ranged Damage Received <!--
--> | Ranged Damage Received <!--
--> | Magic Damage Received <!--
--> | Magic Damage Received <!--
Line 744: Line 744:
-->{{#if: {{{Additional Boost 6 Type|}}} | <div>{{#iferror: <!--
-->{{#if: {{{Additional Boost 6 Type|}}} | <div>{{#iferror: <!--
-->{{#switch: {{{Additional Boost 6 Type|}}} <!--
-->{{#switch: {{{Additional Boost 6 Type|}}} <!--
--> | Close-Range Damage Received <!--
--> | Melee Damage Received <!--
--> | Ranged Damage Received <!--
--> | Ranged Damage Received <!--
--> | Magic Damage Received <!--
--> | Magic Damage Received <!--
Line 826: Line 826:
         {{{Physical Defense|}}}
         {{{Physical Defense|}}}
         {{{Magic Defense|}}}
         {{{Magic Defense|}}}
         {{{Close-Range|}}}
         {{{Melee|}}}
         {{{Ranged|}}}
         {{{Ranged|}}}
         {{{Spell|}}}
         {{{Spell|}}}
Line 849: Line 849:
-->{{#if: {{{Physical Defense|}}} |* Physical Defense: {{{Physical Defense|}}} }}  <!--
-->{{#if: {{{Physical Defense|}}} |* Physical Defense: {{{Physical Defense|}}} }}  <!--
-->{{#if: {{{Magic Defense|}}} |* Magic Defense: {{{Magic Defense|}}}  }}  <!--
-->{{#if: {{{Magic Defense|}}} |* Magic Defense: {{{Magic Defense|}}}  }}  <!--
-->{{#if: {{{Close-Range|}}} |* Close-Range: {{{Close-Range|}}} }}  <!--
-->{{#if: {{{Melee|}}} |* Melee: {{{Melee|}}} }}  <!--
-->{{#if: {{{Ranged|}}} |* Ranged: {{{Ranged|}}} }}  <!--
-->{{#if: {{{Ranged|}}} |* Ranged: {{{Ranged|}}} }}  <!--
-->{{#if: {{{Spell|}}} |* Spell: {{{Spell|}}} }}  <!--
-->{{#if: {{{Spell|}}} |* Spell: {{{Spell|}}} }}  <!--

Revision as of 00:06, 4 March 2023

This is a copy of Template:Item/Source but flattened.

  • See Help:Item for more information about this template.