Difference between revisions of "Template:Item infobox"

From OMORI Wiki
Jump to navigation Jump to search
m (added visual indicators for heart and juice)
 
(8 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-size:%; width:25em; font-family:OMORI_GAME2; 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;"
|-  
|-  
! colspan="2" class="theme-generic-border theme-generic-dark" style="font-size:250%; line-height:1.3; text-align:center;"| {{{name|{{PAGENAME}}}}}
! colspan="2" class="theme-generic-border theme-generic-dark" style="font-size:250%; line-height:1; padding:5px; text-align:center;"| {{{name|{{PAGENAME}}}}}
|- style="text-align:center;"
|-
| colspan="2" style="padding:0.5em; align="center" |
| 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;">{{{image|[[File:{{PAGENAME}}.png|center]]}}}</div>
|<div class="theme-generic-border theme-generic-dark" style="display: flex; align-items: center; justify-content: center;">[[File:{{{image}}}]]</div>
|}
|}
</center>
</center>
Line 53: Line 53:
|-
|-
{{#if:{{{heart<includeonly>|</includeonly>}}} |
{{#if:{{{heart<includeonly>|</includeonly>}}} |
{{!}} class="theme-generic-border theme-generic-dark item-infobox-row-left" {{!}}heart
{{!}} class="theme-generic-border theme-generic-dark item-infobox-row-left" {{!}}{{HP}} heart
{{!}} class="theme-generic-border theme-generic-light generic-infobox-row" {{!}}{{{heart}}}
{{!}} class="theme-generic-border theme-generic-light generic-infobox-row" {{!}}{{{heart}}}
{{!}}-
{{!}}-
Line 59: Line 59:
|-
|-
{{#if:{{{juice<includeonly>|</includeonly>}}} |
{{#if:{{{juice<includeonly>|</includeonly>}}} |
{{!}} class="theme-generic-border theme-generic-dark item-infobox-row-left" {{!}}juice
{{!}} class="theme-generic-border theme-generic-dark item-infobox-row-left" {{!}}{{MP}} juice
{{!}} class="theme-generic-border theme-generic-light generic-infobox-row" {{!}}{{{juice}}}
{{!}} class="theme-generic-border theme-generic-light generic-infobox-row" {{!}}{{{juice}}}
{{!}}-
{{!}}-
Line 131: Line 131:
|-
|-
|}
|}
 
<noinclude>[[Category:Infobox templates]]</noinclude>
<noinclude>
==Code==
<pre>{{Infobox Items
|name      =
|image    =
|cost      =
|icon      =
|location  =
|sells for =
|enemy    =
|user      =
|skill    =
|heart    =
|juice    =
|attack    =
|defense  =
|speed    =
|luck      =
|accuracy  =
|damage    =
|emotion  =
|target(s) =
|quests    =
|battle    =
|id        =
}}</pre></noinclude>

Latest revision as of 23:21, 26 April 2022

Item infobox
[[File:{{{image}}}]]
icon {{{icon}}}
location {{{location}}}
cost {{{cost}}}
sells for {{{sells for}}}
enemy {{{enemy}}}
user {{{user}}}
skill {{{skill}}}
HP.png heart {{{heart}}}
MP.png 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}}}