Difference between revisions of "Template:Character Data"

From A3! Wiki
m (Krhs moved page Template:Chara Data to Template:Character Data without leaving a redirect)
m
Line 47: Line 47:
 
|troupeorder={{{troupeorder|}}}
 
|troupeorder={{{troupeorder|}}}
 
}}
 
}}
 +
{{#css:
 +
.infobox {
 +
    width: 28em;
 +
    text-align: center;
 +
    font-size: .76rem;
 +
    border: 1px solid;
 +
    border-radius: 15px;
 +
    padding: 1em;
 +
    margin-top: 1em;
 +
    margin-left: 1em;
 +
    margin-bottom: 1em;
 +
    color: #000;
 +
}
 +
 +
.spring th {
 +
    background: var(--spring);
 +
    color: #000;
 +
}
 +
 +
.summer th {
 +
    background: var(--summer);
 +
    color: #000;
 +
}
 +
 +
.autumn th {
 +
    background: var(--autumn);
 +
    color: #000;
 +
}
 +
 +
.winter th {
 +
    background: var(--winter);
 +
    color: #000;
 +
}
 +
 +
.spring {
 +
    background: var(--spring-light);
 +
    border: 1px solid var(--spring);
 +
}
 +
 +
.summer {
 +
    background: var(--summer-light);
 +
    border: 1px solid var(--summer);
 +
}
 +
 +
.autumn {
 +
    background: var(--autumn-light);
 +
    border: 1px solid var(--autumn);
 +
}
 +
 +
.winter {
 +
    background: var(--winter-light);
 +
    border: 1px solid var(--winter);
 +
}
 +
 +
.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);
 +
}
 +
}}
 +
{|class="infobox {{lc:{{{troupe|}}}}}" cellpadding="3" align="right"
 +
! align="center" |  {{PAGENAME}}
 +
|-
 +
| align="center" | {{#if: {{{image|}}} | [[File:{{{image}}}|x300px]] }}
 +
|-
 +
! align="center" | '''Character Profile'''
 +
|-
 +
|
 +
{| width="100%" border="0" style="text-align:left;"
 +
|-
 +
| '''Name''' || {{{name_jp|}}} (''{{{name_en|}}}'')
 +
|-
 +
| '''Age''' || {{#if: {{{age|}}} | {{Year| {{{age|}}} }} | }}
 +
|-
 +
| '''Height''' || {{#if: {{{height|}}} | {{Year| {{{height|}}} |height}} | }}
 +
|-
 +
| '''Birthday''' || {{#if: {{{birthday|}}} | {{#time: F j | {{{birthday}}} }} | ? }}
 +
|-
 +
| '''Blood Type''' || {{{bloodtype|}}}
 +
|-
 +
| '''Occupation''' || {{#if: {{{occupation|}}} | {{Year| {{{occupation|}}} }} | }}
 +
|-
 +
| '''Motif Flower''' || {{#ifexist: File:{{{name_en}}} Motif.png | [[File:{{{name_en}}} Motif.png|20px]] {{{motif|}}} | {{{motif|}}} }}
 +
|-
 +
{{#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>|}}
 +
|-
 +
| '''Hobbies'''|| {{{hobby|}}}
 +
|-
 +
| '''Troupe''' || {{ucfirst:{{{troupe|}}}}}
 +
|-
 +
| '''CV''' || {{{voice|}}}
 +
|-
 +
|}
 +
|-
 +
! align="center" | '''Signature'''
 +
|-
 +
| align="center" | {{#if: {{{signature}}} | [[File:{{{signature}}}|250px]] }}
 +
|-
 +
! align="center" | '''Doodle'''
 +
|-
 +
| align="center" | {{#if: {{{doodle|}}} | [[File:{{{doodle}}}]] }}{{#if: {{{doodle_en|}}} | <br />''{{{doodle_en}}}'' }}
 +
|-
 +
|}
 +
[[Category:{{PAGENAME}}]]
 +
[[Category:Characters]]
 +
[[Category:{{ucfirst:{{{troupe|}}}}} Troupe Characters]]
 
</includeonly>
 
</includeonly>

Revision as of 14:22, 26 April 2018

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