Difference between revisions of "Template:Character Data"

From A3! Wiki
(Added a better way to hide signatures and doodles if they don't exist. Made the headers a bit bigger and made the infobox a bit smaller.)
Line 62: Line 62:
 
.infobox {
 
.infobox {
 
     width: 320px;
 
     width: 320px;
    text-align: center;
 
 
     border: 1px solid;
 
     border: 1px solid;
 
     border-radius: 15px;
 
     border-radius: 15px;
Line 72: Line 71:
  
 
.infobox th {
 
.infobox th {
   padding: 10px 0;
+
   padding: 5px 0;
 
   font-size: 1.2em;
 
   font-size: 1.2em;
 +
  text-align: center;
 
}
 
}
  
Line 154: Line 154:
 
}}
 
}}
 
{|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]] }}
 
|-
 
|-
! 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 201: Line 198:
 
| '''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}}]]

Revision as of 16:49, 6 June 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=
}}