Difference between revisions of "Template:Infobox Character"

From OMORI Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<pre>
{| class="infobox" style="background-color: #ffffff; border: 1px solid #000000; font-size:%;width:25em;font-family:Coming Soon; text-transform: uppercase !important; "
{{Infobox Character
|-
! colspan="2" style="padding-top:5px; font-size:150%;text-align:center; background: #000000; color:#FFFFFF"| {{{name|{{PAGENAME}}}}}
|- style="text-align:center;"
| colspan="2" style="padding:0.5em; align="center" |
<center>
{|style="align:center"
|<div style="display: flex; align-items: center; justify-content: center; width: 100px; height: 100px; border: 5px double #fff; background: #000;">{{{image|[[File:{{PAGENAME}}.png|center]]}}}</div>
|}
</center>
|-
{{#if:{{{icon<includeonly>|</includeonly>}}} |
{{!}} style="width:100px; padding-top:5px; padding-right: 10px; text-align:right; color:#ffffff; font-weight:bold; background: #000000; border:0px; font-size:110%;" {{!}}icon
{{!}} style="padding-top:5px; padding-left:5px; background: #ffffff; border:0px;" {{!}}{{{icon}}}
{{!}}-
}}
|-
{{#if:{{{location<includeonly>|</includeonly>}}} |
{{!}} style="width:100px; padding-top:5px;  padding-right: 10px; text-align:right; color:#ffffff; font-weight:bold; background: #000000; border:0px; font-size:110%;" {{!}}location
{{!}} style="padding-top:5px; padding-left:5px; background: #ffffff; border:0px;" {{!}}{{{location}}}
{{!}}-
}}
|-
{{#if:{{{cost<includeonly>|</includeonly>}}} |
{{!}} style="width:100px; padding-top:5px;  padding-right: 10px; text-align:right; color:#ffffff; font-weight:bold; background: #000000; border:0px; font-size:110%;" {{!}}cost
{{!}} style="padding-top:5px; padding-left:5px; background: #ffffff; border:0px;" {{!}}{{{cost}}}
{{!}}-
}}
|-
{{#if:{{{sells for<includeonly>|</includeonly>}}} |
{{!}} style="width:100px; padding-top:5px;  padding-right: 10px; text-align:right; color:#ffffff; font-weight:bold; background: #000000; border:0px; font-size:110%;" {{!}}sells for
{{!}} style="padding-top:5px; padding-left:5px; background: #ffffff; border:0px;" {{!}}{{{sells for}}}
{{!}}-
}}
|-
{{#if:{{{enemy<includeonly>|</includeonly>}}} |
{{!}} style="width:100px; padding-top:5px;  padding-right: 10px; text-align:right; color:#ffffff; font-weight:bold; background: #000000; border:0px; font-size:110%;" {{!}}enemy
{{!}} style="padding-top:5px; padding-left:5px; background: #ffffff; border:0px;" {{!}}{{{enemy}}}
{{!}}-
}}
|-
{{#if:{{{user<includeonly>|</includeonly>}}} |
{{!}} style="width:100px; padding-top:5px; padding-right: 10px; text-align:right; color:#ffffff; font-weight:bold; background: #000000; border:0px; font-size:110%;" {{!}}user
{{!}} style="padding-top:5px; padding-left:5px; background: #ffffff; border:0px;" {{!}}{{{user}}}
{{!}}-
}}
|-
{{#if:{{{skill<includeonly>|</includeonly>}}} |
{{!}} style="width:100px; padding-top:5px;  padding-right: 10px; text-align:right; color:#ffffff; font-weight:bold; background: #000000; border:0px; font-size:110%;" {{!}}skill
{{!}} style="padding-top:5px; padding-left:5px; background: #ffffff; border:0px;" {{!}}{{{skill}}}
{{!}}-
}}
|-
{{#if:{{{heart<includeonly>|</includeonly>}}} |
{{!}} style="width:100px; padding-top:5px; padding-right: 10px; text-align:right; color:#ffffff; font-weight:bold; background: #000000; border:0px; font-size:110%;" {{!}}heart
{{!}} style="padding-top:5px; padding-left:5px; background: #ffffff; border:0px;" {{!}}{{{heart}}}
{{!}}-
}}
|-
{{#if:{{{juice<includeonly>|</includeonly>}}} |
{{!}} style="width:100px; padding-top:5px; padding-right: 10px; text-align:right; color:#ffffff; font-weight:bold; background: #000000; border:0px; font-size:110%;" {{!}}juice
{{!}} style="padding-top:5px; padding-left:5px; background: #ffffff; border:0px;" {{!}}{{{juice}}}
{{!}}-
}}
|-
{{#if:{{{attack<includeonly>|</includeonly>}}} |
{{!}} style="width:100px; padding-top:5px; padding-right: 10px; text-align:right; color:#ffffff; font-weight:bold; background: #000000; border:0px; font-size:110%;" {{!}}attack
{{!}} style="padding-top:5px; padding-left:5px; background: #ffffff; border:0px;" {{!}}{{{attack}}}
{{!}}-
}}
|-
{{#if:{{{defense<includeonly>|</includeonly>}}} |
{{!}} style="width:100px; padding-top:5px;  padding-right: 10px; text-align:right; color:#ffffff; font-weight:bold; background: #000000; border:0px; font-size:110%;" {{!}}defense
{{!}} style="padding-top:5px; padding-left:5px; background: #ffffff; border:0px;" {{!}}{{{defense}}}
{{!}}-
}}
|-
{{#if:{{{speed<includeonly>|</includeonly>}}} |
{{!}} style="width:100px; padding-top:5px;  padding-right: 10px; text-align:right; color:#ffffff; font-weight:bold; background: #000000; border:0px; font-size:110%;" {{!}}speed
{{!}} style="padding-top:5px; padding-left:5px; background: #ffffff; border:0px;" {{!}}{{{speed}}}
{{!}}-
}}
|-
{{#if:{{{luck<includeonly>|</includeonly>}}} |
{{!}} style="width:100px; padding-top:5px;  padding-right: 10px; text-align:right; color:#ffffff; font-weight:bold; background: #000000; border:0px; font-size:110%;" {{!}}luck
{{!}} style="padding-top:5px; padding-left:5px; background: #ffffff; border:0px;" {{!}}{{{luck}}}
{{!}}-
}}
|-
{{#if:{{{hit<includeonly>|</includeonly>}}} |
{{!}} style="width:100px; padding-top:5px;  padding-right: 10px; text-align:right; color:#ffffff; font-weight:bold; background: #000000; border:0px; font-size:110%;" {{!}}hit
{{!}} style="padding-top:5px; padding-left:5px; background: #ffffff; border:0px;" {{!}}{{{hit}}}
{{!}}-
}}
|-
{{#if:{{{damage<includeonly>|</includeonly>}}} |
{{!}} style="width:100px; padding-top:5px;  padding-right: 10px; text-align:right; color:#ffffff; font-weight:bold; background: #000000; border:0px; font-size:110%;" {{!}}damage
{{!}} style="padding-top:5px; padding-left:5px; background: #ffffff; border:0px;" {{!}}{{{damage}}}
{{!}}-
}}
|-
{{#if:{{{emotion<includeonly>|</includeonly>}}} |
{{!}} style="width:100px; padding-top:5px;  padding-right: 10px; text-align:right; color:#ffffff; font-weight:bold; background: #000000; border:0px; font-size:110%;" {{!}}emotion
{{!}} style="padding-top:5px; padding-left:5px; background: #ffffff; border:0px;" {{!}}{{{emotion}}}
{{!}}-
}}
|-
{{#if:{{{target(s)<includeonly>|</includeonly>}}} |
{{!}} style="width:100px; padding-top:5px;  padding-right: 10px; text-align:right; color:#ffffff; font-weight:bold; background: #000000; border:0px; font-size:110%;" {{!}}target(s)
{{!}} style="padding-top:5px; padding-left:5px; background: #ffffff; border:0px;" {{!}}{{{target(s)}}}
{{!}}-
}}
|-
{{#if:{{{quests<includeonly>|</includeonly>}}} |
{{!}} style="width:100px; padding-top:5px;  padding-right: 10px; text-align:right; color:#ffffff; font-weight:bold; background: #000000; border:0px; font-size:110%;" {{!}}quests
{{!}} style="padding-top:5px; padding-left:5px; background: #ffffff; border:0px;" {{!}}{{{quests}}}
{{!}}-
}}
|-
{{#if:{{{battle<includeonly>|</includeonly>}}} |
{{!}} style="width:100px; padding-top:5px;  padding-right: 10px; text-align:right; color:#ffffff; font-weight:bold; background: #000000; border:0px; font-size:110%;" {{!}}battle
{{!}} style="padding-top:5px; padding-left:5px; background: #ffffff; border:0px;" {{!}}{{{battle}}}
{{!}}-
}}
|}
 
<noinclude>
==Code==
<pre>{{Infobox Items
|name      =
|image    =
|image    =
|gender    =
|cost      =
|age      =
|icon      =
|origin    =
|lead skill=
|location  =
|location  =
|relations =
|sells for =
|enemy    =
|user      =
|skill    =
|heart    =
|heart    =
|juice    =
|juice    =
|exp      =
|attack    =
|clams     =
|defense  =
|items    =
|speed     =
|luck      =
|accuracy  =
|damage    =
|emotion  =
|target(s) =
|quests    =
|quests    =
|piano    =
|battle    =
|battlebg  =
}}</pre></noinclude>
|bgm      =
}}

Revision as of 18:33, 6 February 2021

Infobox Character
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}}}


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