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={{{id}}}
|format=json
|format=json
|data=name=name,heart=heart,juice=juice,attack=attack,defense=defense,speed=speed,luck=luck}}
|data=name=name,heart=heart,juice=juice,attack=attack,defense=defense,speed=speed,luck=luck,dropsdisplay=dropsdisplay}}


{| class="infobox theme-generic-border theme-generic-light" style="float:right; margin-left: 10px; font-family:OMORI_GAME2; width:300px; text-transform:uppercase !important;"
{| class="infobox theme-generic-border theme-generic-light" style="float:right; margin-left: 10px; font-family:OMORI_GAME2; width:300px; text-transform:uppercase !important;"
Line 40: Line 40:
|-
|-
{{!}} class="theme-generic-border theme-generic-dark item-infobox-row-left" style="border-radius:2px"{{!}}drops
{{!}} class="theme-generic-border theme-generic-dark item-infobox-row-left" style="border-radius:2px"{{!}}drops
{{!}} class="theme-generic-border theme-generic-light generic-infobox-row" style="border-radius:2px"{{!}}WIP
{{!}} class="theme-generic-border theme-generic-light generic-infobox-row" style="border-radius:2px"{{!}}{{#external_value:dropsdisplay}}
{{!}}-
{{!}}-
|-
|-

Revision as of 23:33, 17 June 2022

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

{{#external_value:name}}
[[File:{{{image}}}|{{{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}}
id {{{id}}}