Difference between revisions of "Template:Infobox Character"

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

Latest revision as of 19:21, 6 February 2021

Infobox Character
Sprites {{{sprites}}}
gender {{{gender}}}
age {{{age}}}
origin {{{origin}}}
lead skill {{{lead skill}}}
location {{{location}}}
relations {{{relations}}}
heart {{{heart}}}
juice {{{juice}}}
exp {{{exp}}}
clams {{{clams}}}
items {{{items}}}
quests {{{quests}}}
piano {{{piano}}}
battle bg {{{battlebg}}}
bgm {{{bgm}}}


Code

{{Infobox Character
|name      =
|image     =
|sprites   =
|gender    =
|age       =
|origin    =
|lead skill=
|location  =
|relations =
|heart     =
|juice     =
|exp       =
|clams     =
|items     =
|quests    =
|piano     =
|battlebg  =
|bgm       =
}}