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: {{{ | || {{#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 <!-- | ||
--> | | --> | 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 <!-- | ||
--> | | --> | 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: {{{ | -->{{#if: {{{Melee|}}} | <div>{{#iferror: <!-- | ||
-->{{#switch: | -->{{#switch: Melee <!-- | ||
--> | | --> | Melee Damage Received <!-- | ||
--> | Ranged Damage Received <!-- | --> | Ranged Damage Received <!-- | ||
--> | Magic Damage Received <!-- | --> | Magic Damage Received <!-- | ||
--> | Cool-down Time = <!-- | --> | Cool-down Time = <!-- | ||
--> {{#ifexpr: {{#replace:{{{ | --> {{#ifexpr: {{#replace:{{{Melee|}}}|%|}} > 0 <!-- | ||
--> | | --> |Melee: <span style="color:red;">{{{Melee|}}}</span> <!-- | ||
--> |{{#ifexpr: {{#replace:{{{ | --> |{{#ifexpr: {{#replace:{{{Melee|}}}|%|}} < 0 <!-- | ||
--> | | --> |Melee: <span style="color:lightgreen;">{{{Melee|}}}</span> <!-- | ||
--> | {{{ | --> | {{{Melee|}}} <!-- | ||
--> }} <!-- | --> }} <!-- | ||
--> }} <!-- | --> }} <!-- | ||
--> | #default = <!-- | --> | #default = <!-- | ||
--> {{#ifexpr: {{#replace:{{{ | --> {{#ifexpr: {{#replace:{{{Melee|}}}|%|}} > 0 <!-- | ||
--> | | --> |Melee: <span style="color:lightgreen;">{{{Melee|}}}</span> <!-- | ||
--> |{{#ifexpr: {{#replace:{{{ | --> |{{#ifexpr: {{#replace:{{{Melee|}}}|%|}} < 0 <!-- | ||
--> | | --> |Melee: <span style="color:red;">{{{Melee|}}}</span> <!-- | ||
--> | {{{ | --> | {{{Melee|}}} <!-- | ||
--> }} <!-- | --> }} <!-- | ||
--> }} <!-- | --> }} <!-- | ||
-->}} <!-- | -->}} <!-- | ||
-->| | -->|Melee: {{{Melee|}}} <!-- | ||
-->}}</div> |}}<!-- | -->}}</div> |}}<!-- | ||
-->{{#if: {{{Ranged|}}} | <div>{{#iferror: <!-- | -->{{#if: {{{Ranged|}}} | <div>{{#iferror: <!-- | ||
-->{{#switch: Ranged <!-- | -->{{#switch: Ranged <!-- | ||
--> | | --> | 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 <!-- | ||
--> | | --> | 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 <!-- | ||
--> | | --> | 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 <!-- | ||
--> | | --> | 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|}}} <!-- | ||
--> | | --> | 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|}}} <!-- | ||
--> | | --> | 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|}}} <!-- | ||
--> | | --> | 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|}}} <!-- | ||
--> | | --> | 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|}}} <!-- | ||
--> | | --> | 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|}}} <!-- | ||
--> | | --> | 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 <!-- | ||
--> | | --> | 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 <!-- | ||
--> | | --> | 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: {{{ | -->{{#if: {{{Melee|}}} | <div>{{#iferror: <!-- | ||
-->{{#switch: | -->{{#switch: Melee <!-- | ||
--> | | --> | Melee Damage Received <!-- | ||
--> | Ranged Damage Received <!-- | --> | Ranged Damage Received <!-- | ||
--> | Magic Damage Received <!-- | --> | Magic Damage Received <!-- | ||
--> | Cool-down Time = <!-- | --> | Cool-down Time = <!-- | ||
--> {{#ifexpr: {{#replace:{{{ | --> {{#ifexpr: {{#replace:{{{Melee|}}}|%|}} > 0 <!-- | ||
--> | | --> |Melee: <span style="color:red;">{{{Melee|}}}</span> <!-- | ||
--> |{{#ifexpr: {{#replace:{{{ | --> |{{#ifexpr: {{#replace:{{{Melee|}}}|%|}} < 0 <!-- | ||
--> | | --> |Melee: <span style="color:lightgreen;">{{{Melee|}}}</span> <!-- | ||
--> | {{{ | --> | {{{Melee|}}} <!-- | ||
--> }} <!-- | --> }} <!-- | ||
--> }} <!-- | --> }} <!-- | ||
--> | #default = <!-- | --> | #default = <!-- | ||
--> {{#ifexpr: {{#replace:{{{ | --> {{#ifexpr: {{#replace:{{{Melee|}}}|%|}} > 0 <!-- | ||
--> | | --> |Melee: <span style="color:lightgreen;">{{{Melee|}}}</span> <!-- | ||
--> |{{#ifexpr: {{#replace:{{{ | --> |{{#ifexpr: {{#replace:{{{Melee|}}}|%|}} < 0 <!-- | ||
--> | | --> |Melee: <span style="color:red;">{{{Melee|}}}</span> <!-- | ||
--> | {{{ | --> | {{{Melee|}}} <!-- | ||
--> }} <!-- | --> }} <!-- | ||
--> }} <!-- | --> }} <!-- | ||
-->}} <!-- | -->}} <!-- | ||
-->| | -->|Melee: {{{Melee|}}} <!-- | ||
-->}}</div> |}}<!-- | -->}}</div> |}}<!-- | ||
-->{{#if: {{{Ranged|}}} | <div>{{#iferror: <!-- | -->{{#if: {{{Ranged|}}} | <div>{{#iferror: <!-- | ||
-->{{#switch: Ranged <!-- | -->{{#switch: Ranged <!-- | ||
--> | | --> | 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 <!-- | ||
--> | | --> | 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 <!-- | ||
--> | | --> | 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 <!-- | ||
--> | | --> | 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|}}} <!-- | ||
--> | | --> | 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|}}} <!-- | ||
--> | | --> | 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|}}} <!-- | ||
--> | | --> | 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|}}} <!-- | ||
--> | | --> | 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|}}} <!-- | ||
--> | | --> | 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|}}} <!-- | ||
--> | | --> | 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|}}} | ||
{{{ | {{{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: {{{ | -->{{#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.