Difference between revisions of "Template:Item infobox"
Jump to navigation
Jump to search
m (added visual indicators for heart and juice) |
|||
(11 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{| class="infobox theme-generic-border theme-generic-light" style="float:right; margin-left: 10px; font- | {| class="infobox theme-generic-border theme-generic-light" style="float:right; margin-left: 10px; font-family:OMORI_GAME2; width:300px; text-transform:uppercase !important;" | ||
|- | |- | ||
! colspan="2" class="theme-generic-dark" style="font-size: | ! colspan="2" class="theme-generic-border theme-generic-dark" style="font-size:250%; line-height:1; padding:5px; text-align:center;"| {{{name|{{PAGENAME}}}}} | ||
|- | |- | ||
| colspan="2" style="padding:0.5em; align | | colspan="2" style="padding:0.5em; text-align:center;" | | ||
<center> | <center> | ||
{|style="align:center" | {|style="text-align:center;" | ||
|<div class="theme-generic-border theme-generic-dark" style="display: flex; align-items: center; justify-content: center | |<div class="theme-generic-border theme-generic-dark" style="display: flex; align-items: center; justify-content: center;">[[File:{{{image}}}]]</div> | ||
|} | |} | ||
</center> | </center> | ||
|- | |- | ||
{{#if:{{{icon<includeonly>|</includeonly>}}} | | {{#if:{{{icon<includeonly>|</includeonly>}}} | | ||
{{!}} class="theme-generic-border theme-generic-dark | {{!}} class="theme-generic-border theme-generic-dark item-infobox-row-left" {{!}}icon | ||
{{!}} class="theme-generic-border theme-generic-light | {{!}} class="theme-generic-border theme-generic-light generic-infobox-row" {{!}}{{{icon}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{location<includeonly>|</includeonly>}}} | | {{#if:{{{location<includeonly>|</includeonly>}}} | | ||
{{!}} class="theme-generic-border theme-generic-dark | {{!}} class="theme-generic-border theme-generic-dark item-infobox-row-left" {{!}}location | ||
{{!}} class="theme-generic-border theme-generic-light | {{!}} class="theme-generic-border theme-generic-light generic-infobox-row" {{!}}{{{location}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{cost<includeonly>|</includeonly>}}} | | {{#if:{{{cost<includeonly>|</includeonly>}}} | | ||
{{!}} class="theme-generic-border theme-generic-dark | {{!}} class="theme-generic-border theme-generic-dark item-infobox-row-left" {{!}}cost | ||
{{!}} class="theme-generic-border theme-generic-light | {{!}} class="theme-generic-border theme-generic-light generic-infobox-row" {{!}}{{{cost}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{sells for<includeonly>|</includeonly>}}} | | {{#if:{{{sells for<includeonly>|</includeonly>}}} | | ||
{{!}} class="theme-generic-border theme-generic-dark | {{!}} class="theme-generic-border theme-generic-dark item-infobox-row-left" {{!}}sells for | ||
{{!}} class="theme-generic-border theme-generic-light | {{!}} class="theme-generic-border theme-generic-light generic-infobox-row" {{!}}{{{sells for}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{enemy<includeonly>|</includeonly>}}} | | {{#if:{{{enemy<includeonly>|</includeonly>}}} | | ||
{{!}} class="theme-generic-border theme-generic-dark | {{!}} class="theme-generic-border theme-generic-dark item-infobox-row-left" {{!}}enemy | ||
{{!}} class="theme-generic-border theme-generic-light | {{!}} class="theme-generic-border theme-generic-light generic-infobox-row" {{!}}{{{enemy}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{user<includeonly>|</includeonly>}}} | | {{#if:{{{user<includeonly>|</includeonly>}}} | | ||
{{!}} class="theme-generic-border theme-generic-dark | {{!}} class="theme-generic-border theme-generic-dark item-infobox-row-left" {{!}}user | ||
{{!}} class="theme-generic-border theme-generic-light | {{!}} class="theme-generic-border theme-generic-light generic-infobox-row" {{!}}{{{user}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{skill<includeonly>|</includeonly>}}} | | {{#if:{{{skill<includeonly>|</includeonly>}}} | | ||
{{!}} class="theme-generic-border theme-generic-dark | {{!}} class="theme-generic-border theme-generic-dark item-infobox-row-left" {{!}}skill | ||
{{!}} class="theme-generic-border theme-generic-light | {{!}} class="theme-generic-border theme-generic-light generic-infobox-row" {{!}}{{{skill}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{heart<includeonly>|</includeonly>}}} | | {{#if:{{{heart<includeonly>|</includeonly>}}} | | ||
{{!}} class="theme-generic-border theme-generic-dark | {{!}} class="theme-generic-border theme-generic-dark item-infobox-row-left" {{!}}{{HP}} heart | ||
{{!}} class="theme-generic-border theme-generic-light | {{!}} class="theme-generic-border theme-generic-light generic-infobox-row" {{!}}{{{heart}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{juice<includeonly>|</includeonly>}}} | | {{#if:{{{juice<includeonly>|</includeonly>}}} | | ||
{{!}} class="theme-generic-border theme-generic-dark | {{!}} class="theme-generic-border theme-generic-dark item-infobox-row-left" {{!}}{{MP}} juice | ||
{{!}} class="theme-generic-border theme-generic-light | {{!}} class="theme-generic-border theme-generic-light generic-infobox-row" {{!}}{{{juice}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{attack<includeonly>|</includeonly>}}} | | {{#if:{{{attack<includeonly>|</includeonly>}}} | | ||
{{!}} class="theme-generic-border theme-generic-dark | {{!}} class="theme-generic-border theme-generic-dark item-infobox-row-left" {{!}}attack | ||
{{!}} class="theme-generic-border theme-generic-light | {{!}} class="theme-generic-border theme-generic-light generic-infobox-row" {{!}}{{{attack}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{defense<includeonly>|</includeonly>}}} | | {{#if:{{{defense<includeonly>|</includeonly>}}} | | ||
{{!}} class="theme-generic-border theme-generic-dark | {{!}} class="theme-generic-border theme-generic-dark item-infobox-row-left" {{!}}defense | ||
{{!}} class="theme-generic-border theme-generic-light | {{!}} class="theme-generic-border theme-generic-light generic-infobox-row" {{!}}{{{defense}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{speed<includeonly>|</includeonly>}}} | | {{#if:{{{speed<includeonly>|</includeonly>}}} | | ||
{{!}} class="theme-generic-border theme-generic-dark | {{!}} class="theme-generic-border theme-generic-dark item-infobox-row-left" {{!}}speed | ||
{{!}} class="theme-generic-border theme-generic-light | {{!}} class="theme-generic-border theme-generic-light generic-infobox-row" {{!}}{{{speed}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{luck<includeonly>|</includeonly>}}} | | {{#if:{{{luck<includeonly>|</includeonly>}}} | | ||
{{!}} class="theme-generic-border theme-generic-dark | {{!}} class="theme-generic-border theme-generic-dark item-infobox-row-left" {{!}}luck | ||
{{!}} class="theme-generic-border theme-generic-light | {{!}} class="theme-generic-border theme-generic-light generic-infobox-row" {{!}}{{{luck}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{hit<includeonly>|</includeonly>}}} | | {{#if:{{{hit<includeonly>|</includeonly>}}} | | ||
{{!}} class="theme-generic-border theme-generic-dark | {{!}} class="theme-generic-border theme-generic-dark item-infobox-row-left" {{!}}hit | ||
{{!}} class="theme-generic-border theme-generic-light | {{!}} class="theme-generic-border theme-generic-light generic-infobox-row" {{!}}{{{hit}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{damage<includeonly>|</includeonly>}}} | | {{#if:{{{damage<includeonly>|</includeonly>}}} | | ||
{{!}} class="theme-generic-border theme-generic-dark | {{!}} class="theme-generic-border theme-generic-dark item-infobox-row-left" {{!}}damage | ||
{{!}} class="theme-generic-border theme-generic-light | {{!}} class="theme-generic-border theme-generic-light generic-infobox-row" {{!}}{{{damage}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{emotion<includeonly>|</includeonly>}}} | | {{#if:{{{emotion<includeonly>|</includeonly>}}} | | ||
{{!}} class="theme-generic-border theme-generic-dark | {{!}} class="theme-generic-border theme-generic-dark item-infobox-row-left" {{!}}emotion | ||
{{!}} class="theme-generic-border theme-generic-light | {{!}} class="theme-generic-border theme-generic-light generic-infobox-row" {{!}}{{{emotion}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{target(s)<includeonly>|</includeonly>}}} | | {{#if:{{{target(s)<includeonly>|</includeonly>}}} | | ||
{{!}} class="theme-generic-border theme-generic-dark | {{!}} class="theme-generic-border theme-generic-dark item-infobox-row-left" {{!}}target(s) | ||
{{!}} class="theme-generic-border theme-generic-light | {{!}} class="theme-generic-border theme-generic-light generic-infobox-row" {{!}}{{{target(s)}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{quests<includeonly>|</includeonly>}}} | | {{#if:{{{quests<includeonly>|</includeonly>}}} | | ||
{{!}} class="theme-generic-border theme-generic-dark | {{!}} class="theme-generic-border theme-generic-dark item-infobox-row-left" {{!}}quests | ||
{{!}} class="theme-generic-border theme-generic-light | {{!}} class="theme-generic-border theme-generic-light generic-infobox-row" {{!}}{{{quests}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{battle<includeonly>|</includeonly>}}} | | {{#if:{{{battle<includeonly>|</includeonly>}}} | | ||
{{!}} class="theme-generic-border theme-generic-dark | {{!}} class="theme-generic-border theme-generic-dark item-infobox-row-left" {{!}}battle | ||
{{!}} class="theme-generic-border theme-generic-light | {{!}} class="theme-generic-border theme-generic-light generic-infobox-row" {{!}}{{{battle}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{id<includeonly>|</includeonly>}}} | | {{#if:{{{id<includeonly>|</includeonly>}}} | | ||
{{!}} class="theme-generic-border theme-generic-dark | {{!}} class="theme-generic-border theme-generic-dark item-infobox-row-left" {{!}}id | ||
{{!}} class="theme-generic-border theme-generic-light | {{!}} class="theme-generic-border theme-generic-light generic-infobox-row" {{!}}{{{id}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
|- | |- | ||
|} | |} | ||
<noinclude>[[Category:Infobox templates]]</noinclude> | |||
<noinclude> | |||
Latest revision as of 23:21, 26 April 2022
Item infobox | ||
---|---|---|
| ||
icon | {{{icon}}} | |
location | {{{location}}} | |
cost | {{{cost}}} | |
sells for | {{{sells for}}} | |
enemy | {{{enemy}}} | |
user | {{{user}}} | |
skill | {{{skill}}} | |
heart | {{{heart}}} | |
juice | {{{juice}}} | |
attack | {{{attack}}} | |
defense | {{{defense}}} | |
speed | {{{speed}}} | |
luck | {{{luck}}} | |
hit | {{{hit}}} | |
damage | {{{damage}}} | |
emotion | {{{emotion}}} | |
target(s) | {{{target(s)}}} | |
quests | {{{quests}}} | |
battle | {{{battle}}} | |
id | {{{id}}} |