Difference between revisions of "Template:Character Data"

From A3! Wiki
(Undo revision 59406 by Yukari25mbcms (talk))
(Tag: Undo)
 
(22 intermediate revisions by the same user not shown)
Line 60: Line 60:
 
}}
 
}}
 
{{#css:
 
{{#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;
 
}
 
  
 +
.infobox td { padding: 5px 0; }
 
.spring th {
 
.spring th {
 
     background: var(--spring);
 
     background: var(--spring);
    color: #000;
 
 
}
 
}
  
 
.summer th {
 
.summer th {
 
     background: var(--summer);
 
     background: var(--summer);
    color: #000;
 
 
}
 
}
  
 
.autumn th {
 
.autumn th {
 
     background: var(--autumn);
 
     background: var(--autumn);
    color: #000;
 
 
}
 
}
  
 
.winter th {
 
.winter th {
 
     background: var(--winter);
 
     background: var(--winter);
     color: #000;
+
}
 +
 
 +
.mankai th {
 +
    background: var(--mankai);
 +
}
 +
 
 +
.god-za th {
 +
    background: var(--god-za);
 +
     color: #fff;
 
}
 
}
  
Line 111: Line 105:
 
     background: var(--winter-light);
 
     background: var(--winter-light);
 
     border: 1px solid var(--winter);
 
     border: 1px solid var(--winter);
 +
}
 +
 +
.mankai {
 +
    background: var(--mankai-light);
 +
    border: 1px solid var(--mankai);
 +
}
 +
 +
.god-za {
 +
    background: var(--god-za-light);
 +
    border: 1px solid var(--god-za);
 
}
 
}
  
Line 126: Line 130:
 
     vertical-align: top;
 
     vertical-align: top;
 
}
 
}
 +
 
.year-text {
 
.year-text {
 
     display: inline-block;
 
     display: inline-block;
    max-width: calc(100% - 5em);
+
/*  max-width: calc(100% - 5em);*/
 
}
 
}
 
}}
 
}}
 
{|class="infobox {{lc:{{{troupe|}}}}}" cellpadding="3" align="right"
 
{|class="infobox {{lc:{{{troupe|}}}}}" cellpadding="3" align="right"
! align="center" |  {{PAGENAME}}
+
! colspan="2" |  {{PAGENAME}}
|-
 
| align="center" | {{#if: {{{image|}}} | [[File:{{{image}}}|x300px]] }}
 
 
|-
 
|-
! align="center" | '''Character Profile'''
+
| colspan="2" | {{#if: {{{image|}}} | [[File:{{{image}}}|x300px|center]] }}
 
|-
 
|-
|
+
! colspan="2" | '''Character Profile'''
{| width="100%" border="0" style="text-align:left;"
 
 
|-
 
|-
 
| '''Name''' || {{{name_jp|}}} (''{{{name_en|}}}'')
 
| '''Name''' || {{{name_jp|}}} (''{{{name_en|}}}'')
Line 179: Line 181:
 
| '''CV''' || {{{voice|}}}
 
| '''CV''' || {{{voice|}}}
 
|-
 
|-
|}
+
{{#if: {{{signature|}}}|
|-
+
<tr>
! align="center" | {{#if: {{{signature}}} | '''Signature''' | }}
+
<th colspan="2">Signature'''</th>
|-
+
</tr>
| align="center" | {{#if: {{{signature}}} | [[File:{{{signature}}}|250px]] }}  
+
<tr>
|-
+
<td colspan="2">[[File:{{{signature}}}|250px|center]]</td>
! align="center" | {{#if: {{{doodle|}}} | '''Doodle''' | }}
+
</tr>}}
|-
+
{{#if: {{{doodle|}}}|
| align="center" | {{#if: {{{doodle|}}} | [[File:{{{doodle}}}]] }}{{#if: {{{doodle_en|}}} | <br />''{{{doodle_en}}}'' }}
+
<tr>
|-
+
<th colspan="2">Doodle'''</th>
 +
</tr>
 +
<tr>
 +
<td colspan="2">[[File:{{{doodle}}}|250px|center]]</td>
 +
</tr>}}
 
|}
 
|}
 
[[Category:{{PAGENAME}}]]
 
[[Category:{{PAGENAME}}]]

Latest revision as of 17:26, 9 November 2024

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

{{Character Data
|firstname=
|surname=
|name_jp=
|name_en=
|image=
|icon=
|age=
|height=
|birthday=
|bloodtype=
|occupation=
|motif=
|imagecolour=
|hobby=
|LIME_jp=
|liked_food=
|disliked_food=
|family=
|strength=
|weakness=
|troupe=
|voice=
|signature=
|doodle=
|doodle_en=
|maincast=
|troupeorder=
}}