Template:Character Data: Difference between revisions

From Mamiya Wiki
mNo edit summary
mNo edit summary
 
(22 intermediate revisions by the same user not shown)
Line 12: Line 12:
|weight=Integer
|weight=Integer
|occupation=String
|occupation=String
|imagecolour=String
|imagecolor=String
|hobby=Wikitext
|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 30: Line 30:
|weight={{{weight|}}}
|weight={{{weight|}}}
|occupation={{{occupation|}}}
|occupation={{{occupation|}}}
|imagecolour={{{imagecolour|}}}
|imagecolor={{{imagecolor|}}}  
|hobby={{{hobby|}}}
|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(--spring-light);
    border: 1px solid var(--spring);
}
 
.pinkhouse {
    background: var(--summer-light);
    border: 1px solid var(--summer);
}
 
.upper {
    background: var(--autumn-light);
    border: 1px solid var(--autumn);
}
 
.mamiya {
    background: var(--winter-light);
    border: 1px solid var(--winter);
}
 
.sidechar {
    background: var(--mankai-light);
    border: 1px solid var(--mankai);
}
 
.ui-tabs-panel {
    margin-top: 1em;
}
 
.year {
    margin-top: 0.1em; margin-bottom: 0.1em;
    display: inline-block;
    background-color: var(--mankai-med);
    padding: 0 0.5em 0 0.5em;
    border-radius: 0.5em;
    font-weight: bold;
    vertical-align: top;
}
.year-text {
    display: inline-block;
    max-width: calc(100% - 5em);
}
 
@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 127: Line 47:
| '''Name''' || {{{name_jp|}}} (''{{{name_en|}}}'')
| '''Name''' || {{{name_jp|}}} (''{{{name_en|}}}'')
|-
|-
| '''Age''' || {{#if: {{{age|}}} | {{Year| {{{age|}}} }} | }}
| '''Age''' || {{{age|}}}
|-
| '''Birthday''' || {{{birthday|}}}
|-
|-
| '''Birthday''' || {{#if: {{{birthday|}}} | {{#time: F j | {{{birthday}}} }} | ? }}
| '''Height''' || {{{height|}}}
|-
|-
| '''Height''' || {{#ifeq: {{#explode: {{{height|}}} |,|1}} | | {{{height|}}} cm | {{Year| {{{height|}}} |height}} }}
| '''Weight''' || {{{weight|}}}
|-
|-
| '''Occupation''' || {{#if: {{{occupation|}}} | {{Year| {{{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 144: Line 66:
|-
|-
|}
|}
[[Category:{{PAGENAME}}]]
[[Category:Characters]]
[[Category:Characters]]
</includeonly><noinclude><pre>
</includeonly><noinclude><pre>
Line 159: 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=
}}