Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:S5 enemies table row: Difference between revisions

Template page
mNo edit summary
Tag: Reverted
mNo edit summary
Tag: Manual revert
Line 2: Line 2:
| [[File:{{{image}}}|center|120px]]
| [[File:{{{image}}}|center|120px]]
| [[{{{_pageName}}}|{{{name}}}]]
| [[{{{_pageName}}}|{{{name}}}]]
|
<!-- Normalize all fields before comparing -->
{{#vardefine:queryLoc|{{#replace:{{#replace:{{lc:{{trim:{{{location}}}}}}}}|[[|}}|]]|}}}}
{{#vardefine:loc1|{{#replace:{{#replace:{{lc:{{trim:{{{location_1}}}}}}}}|[[|}}|]]|}}}}
{{#vardefine:loc2|{{#replace:{{#replace:{{lc:{{trim:{{{location_2}}}}}}}}|[[|}}|]]|}}}}
{{#vardefine:loc3|{{#replace:{{#replace:{{lc:{{trim:{{{location_3}}}}}}}}|[[|}}|]]|}}}}
{{#vardefine:loc4|{{#replace:{{#replace:{{lc:{{trim:{{{location_4}}}}}}}}|[[|}}|]]|}}}}
{{#vardefine:loc5|{{#replace:{{#replace:{{lc:{{trim:{{{location_5}}}}}}}}|[[|}}|]]|}}}}
{{#vardefine:loc6|{{#replace:{{#replace:{{lc:{{trim:{{{location_6}}}}}}}}|[[|}}|]]|}}}}
<!-- Compare normalized lowercase strings -->
{{#switch: {{#var:queryLoc}}
| {{#var:loc1}} = {{{ch_1}}}
| {{#var:loc2}} = {{{ch_2}}}
| {{#var:loc3}} = {{{ch_3}}}
| {{#var:loc4}} = {{{ch_4}}}
| {{#var:loc5}} = {{{ch_5}}}
| {{#var:loc6}} = {{{ch_6}}}
| #default = ''N/A''
}}
| {{{lv}}}
| {{{lv}}}
| {{{hp}}}
| {{{hp}}}

Revision as of 17:32, 15 December 2025

|- | [[File:{{{image}}}|center|120px]] | [[{{{_pageName}}}|{{{name}}}]] | {{{lv}}} | {{{hp}}} | {{{potch}}} | {{{sp}}} |

  • {{{item 1}}}
  • {{{item 2}}}
  • {{{item 3}}}
  • {{{item 4}}}