Difference between revisions of "Template:Character Data"

From A3! Wiki
(Trying to add godza color, but will probably fail)
 
(25 intermediate revisions by 2 users 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;
 
 
}
 
}
  
.GOD-za th {
+
.mankai th {
     background: #483a6b;
+
    background: var(--mankai);
     color: #000;
+
}
 +
 
 +
.god-za th {
 +
     background: var(--god-za);
 +
     color: #fff;
 
}
 
}
  
Line 118: Line 107:
 
}
 
}
  
.GOD-za {
+
.mankai {
     background: #b6b0c4;
+
    background: var(--mankai-light);
     border: 1px solid #483a6b;
+
    border: 1px solid var(--mankai);
 +
}
 +
 
 +
.god-za {
 +
     background: var(--god-za-light);
 +
     border: 1px solid var(--god-za);
 
}
 
}
  
Line 136: 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]] }}
+
| colspan="2" | {{#if: {{{image|}}} | [[File:{{{image}}}|x300px|center]] }}
 
|-
 
|-
! align="center" | '''Character Profile'''
+
! colspan="2" | '''Character Profile'''
|-
 
|
 
{| width="100%" border="0" style="text-align:left;"
 
 
|-
 
|-
 
| '''Name''' || {{{name_jp|}}} (''{{{name_en|}}}'')
 
| '''Name''' || {{{name_jp|}}} (''{{{name_en|}}}'')
Line 189: 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=
}}