Template:Character Data: Difference between revisions

From Mamiya Wiki
mNo edit summary
mNo edit summary
 
(19 intermediate revisions by the same user not shown)
Line 12: Line 12:
|weight=Integer
|weight=Integer
|occupation=String
|occupation=String
|imagecolour=String
|imagecolor=String
|liked_food=String
|liked_food=String
|related=String
|related=String
}}
}}
[[Category:Templates]]
</noinclude>
</noinclude>
<includeonly>{{#cargo_store:_table=Charas
<includeonly>{{#cargo_store:_table=Charas
Line 29: Line 30:
|weight={{{weight|}}}
|weight={{{weight|}}}
|occupation={{{occupation|}}}
|occupation={{{occupation|}}}
|imagecolour={{{imagecolour|}}}  
|imagecolor={{{imagecolor|}}}  
|liked_food={{{liked_food|}}}
|liked_food={{{liked_food|}}}
|related={{{related|}}}
|related={{{related|}}}
}}
}}
{{#css:
.infobox {
    width: 28em;
    text-align: center;
    border: 1px solid;
    border-radius: 15px;
    padding: 1em;
    margin-top: 1em;
    margin-left: 1em;
    margin-bottom: 1em;
    color: #000;
}


.funeral th {
{|class="infobox {{lc:{{{group|}}}}}" cellpadding="3" align="right"
    background: var(--funeral);
}
 
.pinkhouse th {
    background: var(--pinkhouse);
}
 
.upper th {
    background: var(--upper);
}
 
.mamiya th {
    background: var(--mamiya);
}
 
.sidechar th {
    background: var(--sidechar);
}
 
.funeral {
    background: var(--funeral-light);
    border: 1px solid var(--funeral);
}
 
.pinkhouse {
    background: var(--pinkhouse-light);
    border: 1px solid var(--pinkhouse);
}
 
.upper {
    background: var(--upper-light);
    border: 1px solid var(--upper);
}
 
.mamiya {
    background: var(--mamiya-light);
    border: 1px solid var(--mamiya);
}
 
.sidechar {
    background: var(--sidechar-light);
    border: 1px solid var(--sidechar);
}
 
.ui-tabs-panel {
    margin-top: 1em;
}
 
@media only screen and (max-width: 600px) {
    .infobox {width: 100%; margin-left: 0;}
}
}}
{|class="infobox {{lc:{{{troupe|}}}}}" cellpadding="3" align="right"
! align="center" |  {{PAGENAME}}
! align="center" |  {{PAGENAME}}
|-
|-
Line 113: Line 49:
| '''Age''' || {{{age|}}}
| '''Age''' || {{{age|}}}
|-
|-
| '''Birthday''' || {{#if: {{{birthday|}}} | {{#time: F j | {{{birthday}}} }} | ? }}
| '''Birthday''' || {{{birthday|}}}
|-
| '''Height''' || {{{height|}}}
|-
|-
| '''Height''' ||  
| '''Weight''' || {{{weight|}}}
|-
|-
| '''Occupation''' || {{{occupation|}}}
| '''Occupation''' || {{{occupation|}}}
|-
|-
{{#if: {{{imagecolour|}}} | {{!}}'''Image Colour''' {{!}}{{!}} <div class="{{{imagecolour}}}" style="border:1px solid #fff; border-radius:50%; width: 1.5em; height: 1.5em; vertical-align: middle"></div>|}}
{{#if: {{{imagecolor|}}} | {{!}}'''Image Color''' {{!}}{{!}} <div class="{{{imagecolor}}}" style="border:1px solid #fff; border-radius:50%; width: 1.5em; height: 1.5em; vertical-align: middle"></div>|}}
|-
|-
| '''Favorite Food'''|| {{{liked_food|}}}
| '''Favorite Food'''|| {{{liked_food|}}}
Line 128: Line 66:
|-
|-
|}
|}
[[Category:{{PAGENAME}}]]
[[Category:Characters]]
[[Category:Characters]]
</includeonly><noinclude><pre>
</includeonly><noinclude><pre>
Line 143: Line 80:
|weight=
|weight=
|occupation=
|occupation=
|imagecolour=
|imagecolor=
|liked_food=
|liked_food=
|related=
|related=

Latest revision as of 21:54, 17 June 2023

This template defines the table "Charas". View table.

{{Character Data
|firstname=
|surname=
|name_jp=
|name_en=
|image=
|icon=
|age=
|birthday=
|height=
|weight=
|occupation=
|imagecolor=
|liked_food=
|related=
}}