Difference between revisions of "Template:Enemy Infobox"

From OMORI Wiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
{{#get_web_data:url=https://omori-data-api.herokuapp.com/enemy?id={{{id}}}
{{#get_web_data:url=https://omori-data-api.herokuapp.com/enemy?id={{{name}}}
|format=json
|format=json
|data=name=name,heart=heart,juice=juice,attack=attack,defense=defense,speed=speed,luck=luck,dropsdisplay=dropsdisplay}}
|data=name=name,heart=heart,juice=juice,attack=attack,defense=defense,speed=speed,luck=luck,dropsdisplay=dropsdisplay}}
Line 10: Line 10:
<center>
<center>
{|style="text-align:center;"
{|style="text-align:center;"
|<div class="theme-generic-border theme-generic-dark" style="display: flex; align-items: center; justify-content: center;">[[File:{{{image}}}|{{{size}}}]]</div>
|<div class="theme-generic-border theme-generic-dark" style="display: flex; align-items: center; justify-content: center;">[[File:Battle_N_{{{name}}}|{{{size}}}]]</div>
|}
|}
</center>
</center>

Revision as of 00:47, 18 June 2022

{{#get_web_data:url=https://omori-data-api.herokuapp.com/enemy?id={{{name}}} |format=json |data=name=name,heart=heart,juice=juice,attack=attack,defense=defense,speed=speed,luck=luck,dropsdisplay=dropsdisplay}}

{{#external_value:name}}
[[File:Battle_N_{{{name}}}|{{{size}}}]]
HP.png heart {{#external_value:heart}}
MP.png juice {{#external_value:juice}}
attack {{#external_value:attack}}
defense {{#external_value:defense}}
speed {{#external_value:speed}}
luck {{#external_value:luck}}
drops {{#external_value:dropsdisplay}}