Difference between revisions of "Template:Item infobox"

From OMORI Wiki
Jump to navigation Jump to search
(man i wish this font didnt have such a dumb line height)
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-size:%; width:25em; font-family:OMORI_GAME2; text-transform:uppercase !important; "
|-  
|-  
! colspan="2" class="theme-generic-dark" style="font-size:200%; text-align:center;"| {{{name|{{PAGENAME}}}}}
! colspan="2" class="theme-generic-border theme-generic-dark" style="font-size:250%; line-height:1.3; text-align:center;"| {{{name|{{PAGENAME}}}}}
|- style="text-align:center;"
|- style="text-align:center;"
| colspan="2" style="padding:0.5em; align="center" |
| colspan="2" style="padding:0.5em; align="center" |
Line 11: Line 11:
|-
|-
{{#if:{{{icon<includeonly>|</includeonly>}}} |
{{#if:{{{icon<includeonly>|</includeonly>}}} |
{{!}} class="theme-generic-border theme-generic-dark" style="width:100px; padding-right: 10px; text-align:right; font-size:150%;" {{!}}icon
{{!}} class="theme-generic-border theme-generic-dark item-infobox-row-left" {{!}}icon
{{!}} class="theme-generic-border theme-generic-light" style="padding-left:5px; font-size:125%;" {{!}}{{{icon}}}
{{!}} class="theme-generic-border theme-generic-light item-infobox-row-right" {{!}}{{{icon}}}
{{!}}-
{{!}}-
}}
}}
|-
|-
{{#if:{{{location<includeonly>|</includeonly>}}} |
{{#if:{{{location<includeonly>|</includeonly>}}} |
{{!}} class="theme-generic-border theme-generic-dark" style="width:100px; padding-right: 10px; text-align:right; font-size:150%;" {{!}}location
{{!}} class="theme-generic-border theme-generic-dark item-infobox-row-left" {{!}}location
{{!}} class="theme-generic-border theme-generic-light" style="padding-left:5px; font-size:125%;" {{!}}{{{location}}}
{{!}} class="theme-generic-border theme-generic-light item-infobox-row-right" {{!}}{{{location}}}
{{!}}-
{{!}}-
}}
}}
|-
|-
{{#if:{{{cost<includeonly>|</includeonly>}}} |
{{#if:{{{cost<includeonly>|</includeonly>}}} |
{{!}} class="theme-generic-border theme-generic-dark" style="width:100px; padding-right: 10px; text-align:right; font-size:150%;" {{!}}cost
{{!}} class="theme-generic-border theme-generic-dark item-infobox-row-left" {{!}}cost
{{!}} class="theme-generic-border theme-generic-light" style="padding-left:5px; font-size:125%;" {{!}}{{{cost}}}
{{!}} class="theme-generic-border theme-generic-light item-infobox-row-right" {{!}}{{{cost}}}
{{!}}-
{{!}}-
}}
}}
|-
|-
{{#if:{{{sells for<includeonly>|</includeonly>}}} |
{{#if:{{{sells for<includeonly>|</includeonly>}}} |
{{!}} class="theme-generic-border theme-generic-dark" style="width:100px; padding-right: 10px; text-align:right; font-size:150%;" {{!}}sells for
{{!}} class="theme-generic-border theme-generic-dark item-infobox-row-left" {{!}}sells for
{{!}} class="theme-generic-border theme-generic-light" style="padding-left:5px; font-size:125%;" {{!}}{{{sells for}}}
{{!}} class="theme-generic-border theme-generic-light item-infobox-row-right" {{!}}{{{sells for}}}
{{!}}-
{{!}}-
}}
}}
|-
|-
{{#if:{{{enemy<includeonly>|</includeonly>}}} |
{{#if:{{{enemy<includeonly>|</includeonly>}}} |
{{!}} class="theme-generic-border theme-generic-dark" style="width:100px; padding-right: 10px; text-align:right; font-size:150%;" {{!}}enemy
{{!}} class="theme-generic-border theme-generic-dark item-infobox-row-left" {{!}}enemy
{{!}} class="theme-generic-border theme-generic-light" style="padding-left:5px; font-size:125%;" {{!}}{{{enemy}}}
{{!}} class="theme-generic-border theme-generic-light item-infobox-row-right" {{!}}{{{enemy}}}
{{!}}-
{{!}}-
}}
}}
|-
|-
{{#if:{{{user<includeonly>|</includeonly>}}} |
{{#if:{{{user<includeonly>|</includeonly>}}} |
{{!}} class="theme-generic-border theme-generic-dark" style="width:100px; padding-right: 10px; text-align:right; font-size:150%;" {{!}}user
{{!}} class="theme-generic-border theme-generic-dark item-infobox-row-left" {{!}}user
{{!}} class="theme-generic-border theme-generic-light" style="padding-left:5px; font-size:125%;" {{!}}{{{user}}}
{{!}} class="theme-generic-border theme-generic-light item-infobox-row-right" {{!}}{{{user}}}
{{!}}-
{{!}}-
}}
}}
|-
|-
{{#if:{{{skill<includeonly>|</includeonly>}}} |
{{#if:{{{skill<includeonly>|</includeonly>}}} |
{{!}} class="theme-generic-border theme-generic-dark" style="width:100px; padding-right: 10px; text-align:right; font-size:150%;" {{!}}skill
{{!}} class="theme-generic-border theme-generic-dark item-infobox-row-left" {{!}}skill
{{!}} class="theme-generic-border theme-generic-light" style="padding-left:5px; font-size:125%;" {{!}}{{{skill}}}
{{!}} class="theme-generic-border theme-generic-light item-infobox-row-right" {{!}}{{{skill}}}
{{!}}-
{{!}}-
}}
}}
|-
|-
{{#if:{{{heart<includeonly>|</includeonly>}}} |
{{#if:{{{heart<includeonly>|</includeonly>}}} |
{{!}} class="theme-generic-border theme-generic-dark" style="width:100px; padding-right: 10px; text-align:right; font-size:150%;" {{!}}heart
{{!}} class="theme-generic-border theme-generic-dark item-infobox-row-left" {{!}}heart
{{!}} class="theme-generic-border theme-generic-light" style="padding-left:5px; font-size:125%;" {{!}}{{{heart}}}
{{!}} class="theme-generic-border theme-generic-light item-infobox-row-right" {{!}}{{{heart}}}
{{!}}-
{{!}}-
}}
}}
|-
|-
{{#if:{{{juice<includeonly>|</includeonly>}}} |
{{#if:{{{juice<includeonly>|</includeonly>}}} |
{{!}} class="theme-generic-border theme-generic-dark" style="width:100px; padding-right: 10px; text-align:right; font-size:150%;" {{!}}juice
{{!}} class="theme-generic-border theme-generic-dark item-infobox-row-left" {{!}}juice
{{!}} class="theme-generic-border theme-generic-light" style="padding-left:5px; font-size:125%;" {{!}}{{{juice}}}
{{!}} class="theme-generic-border theme-generic-light item-infobox-row-right" {{!}}{{{juice}}}
{{!}}-
{{!}}-
}}
}}
|-
|-
{{#if:{{{attack<includeonly>|</includeonly>}}} |
{{#if:{{{attack<includeonly>|</includeonly>}}} |
{{!}} class="theme-generic-border theme-generic-dark" style="width:100px; padding-right: 10px; text-align:right; font-size:150%;" {{!}}attack
{{!}} class="theme-generic-border theme-generic-dark item-infobox-row-left" {{!}}attack
{{!}} class="theme-generic-border theme-generic-light" style="padding-left:5px; font-size:125%;" {{!}}{{{attack}}}
{{!}} class="theme-generic-border theme-generic-light item-infobox-row-right" {{!}}{{{attack}}}
{{!}}-
{{!}}-
}}
}}
|-
|-
{{#if:{{{defense<includeonly>|</includeonly>}}} |
{{#if:{{{defense<includeonly>|</includeonly>}}} |
{{!}} class="theme-generic-border theme-generic-dark" style="width:100px; padding-right: 10px; text-align:right; font-size:150%;" {{!}}defense
{{!}} class="theme-generic-border theme-generic-dark item-infobox-row-left" {{!}}defense
{{!}} class="theme-generic-border theme-generic-light" style="padding-left:5px; font-size:125%;" {{!}}{{{defense}}}
{{!}} class="theme-generic-border theme-generic-light item-infobox-row-right" {{!}}{{{defense}}}
{{!}}-
{{!}}-
}}
}}
|-
|-
{{#if:{{{speed<includeonly>|</includeonly>}}} |
{{#if:{{{speed<includeonly>|</includeonly>}}} |
{{!}} class="theme-generic-border theme-generic-dark" style="width:100px; padding-right: 10px; text-align:right; font-size:150%;" {{!}}speed
{{!}} class="theme-generic-border theme-generic-dark item-infobox-row-left" {{!}}speed
{{!}} class="theme-generic-border theme-generic-light" style="padding-left:5px; font-size:125%;" {{!}}{{{speed}}}
{{!}} class="theme-generic-border theme-generic-light item-infobox-row-right" {{!}}{{{speed}}}
{{!}}-
{{!}}-
}}
}}
|-
|-
{{#if:{{{luck<includeonly>|</includeonly>}}} |
{{#if:{{{luck<includeonly>|</includeonly>}}} |
{{!}} class="theme-generic-border theme-generic-dark" style="width:100px; padding-right: 10px; text-align:right; font-size:150%;" {{!}}luck
{{!}} class="theme-generic-border theme-generic-dark item-infobox-row-left" {{!}}luck
{{!}} class="theme-generic-border theme-generic-light" style="padding-left:5px; font-size:125%;" {{!}}{{{luck}}}
{{!}} class="theme-generic-border theme-generic-light item-infobox-row-right" {{!}}{{{luck}}}
{{!}}-
{{!}}-
}}
}}
|-
|-
{{#if:{{{hit<includeonly>|</includeonly>}}} |
{{#if:{{{hit<includeonly>|</includeonly>}}} |
{{!}} class="theme-generic-border theme-generic-dark" style="width:100px; padding-right: 10px; text-align:right; font-size:150%;" {{!}}hit
{{!}} class="theme-generic-border theme-generic-dark item-infobox-row-left" {{!}}hit
{{!}} class="theme-generic-border theme-generic-light" style="padding-left:5px; font-size:125%;" {{!}}{{{hit}}}
{{!}} class="theme-generic-border theme-generic-light item-infobox-row-right" {{!}}{{{hit}}}
{{!}}-
{{!}}-
}}
}}
|-
|-
{{#if:{{{damage<includeonly>|</includeonly>}}} |
{{#if:{{{damage<includeonly>|</includeonly>}}} |
{{!}} class="theme-generic-border theme-generic-dark" style="width:100px; padding-right: 10px; text-align:right; font-size:150%;" {{!}}damage
{{!}} class="theme-generic-border theme-generic-dark item-infobox-row-left" {{!}}damage
{{!}} class="theme-generic-border theme-generic-light" style="padding-left:5px; font-size:125%;" {{!}}{{{damage}}}
{{!}} class="theme-generic-border theme-generic-light item-infobox-row-right" {{!}}{{{damage}}}
{{!}}-
{{!}}-
}}
}}
|-
|-
{{#if:{{{emotion<includeonly>|</includeonly>}}} |
{{#if:{{{emotion<includeonly>|</includeonly>}}} |
{{!}} class="theme-generic-border theme-generic-dark" style="width:100px; padding-right: 10px; text-align:right; font-size:150%;" {{!}}emotion
{{!}} class="theme-generic-border theme-generic-dark item-infobox-row-left" {{!}}emotion
{{!}} class="theme-generic-border theme-generic-light" style="padding-left:5px; font-size:125%;" {{!}}{{{emotion}}}
{{!}} class="theme-generic-border theme-generic-light item-infobox-row-right" {{!}}{{{emotion}}}
{{!}}-
{{!}}-
}}
}}
|-
|-
{{#if:{{{target(s)<includeonly>|</includeonly>}}} |
{{#if:{{{target(s)<includeonly>|</includeonly>}}} |
{{!}} class="theme-generic-border theme-generic-dark" style="width:100px; padding-right: 10px; text-align:right; font-size:150%;" {{!}}target(s)
{{!}} class="theme-generic-border theme-generic-dark item-infobox-row-left" {{!}}target(s)
{{!}} class="theme-generic-border theme-generic-light" style="padding-left:5px; font-size:125%;" {{!}}{{{target(s)}}}
{{!}} class="theme-generic-border theme-generic-light item-infobox-row-right" {{!}}{{{target(s)}}}
{{!}}-
{{!}}-
}}
}}
|-
|-
{{#if:{{{quests<includeonly>|</includeonly>}}} |
{{#if:{{{quests<includeonly>|</includeonly>}}} |
{{!}} class="theme-generic-border theme-generic-dark" style="width:100px; padding-right: 10px; text-align:right; font-size:150%;" {{!}}quests
{{!}} class="theme-generic-border theme-generic-dark item-infobox-row-left" {{!}}quests
{{!}} class="theme-generic-border theme-generic-light" style="padding-left:5px; font-size:125%;" {{!}}{{{quests}}}
{{!}} class="theme-generic-border theme-generic-light item-infobox-row-right" {{!}}{{{quests}}}
{{!}}-
{{!}}-
}}
}}
|-
|-
{{#if:{{{battle<includeonly>|</includeonly>}}} |
{{#if:{{{battle<includeonly>|</includeonly>}}} |
{{!}} class="theme-generic-border theme-generic-dark" style="width:100px; padding-right: 10px; text-align:right; font-size:150%;" {{!}}battle
{{!}} class="theme-generic-border theme-generic-dark item-infobox-row-left" {{!}}battle
{{!}} class="theme-generic-border theme-generic-light" style="padding-left:5px; font-size:125%;" {{!}}{{{battle}}}
{{!}} class="theme-generic-border theme-generic-light item-infobox-row-right" {{!}}{{{battle}}}
{{!}}-
{{!}}-
}}
}}
|-
|-
{{#if:{{{id<includeonly>|</includeonly>}}} |
{{#if:{{{id<includeonly>|</includeonly>}}} |
{{!}} class="theme-generic-border theme-generic-dark" style="width:100px; padding-right: 10px; text-align:right; font-size:150%;" {{!}}id
{{!}} class="theme-generic-border theme-generic-dark item-infobox-row-left" {{!}}id
{{!}} class="theme-generic-border theme-generic-light" style="padding-left:5px; font-size:125%;" {{!}}{{{id}}}
{{!}} class="theme-generic-border theme-generic-light item-infobox-row-right" {{!}}{{{id}}}
{{!}}-
{{!}}-
}}
}}

Revision as of 02:53, 4 March 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}}}


Code

{{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        =
}}