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.)
 
(5 intermediate revisions by the same user not shown)
Line 60: Line 60:
 
}}
 
}}
 
{{#css:
 
{{#css:
.infobox {
 
    width: 320px;
 
    border: 1px solid;
 
    border-radius: 15px;
 
    padding: 10px;
 
    margin-left: 1em;
 
    margin-bottom: 1em;
 
  color: #000;
 
}
 
 
.infobox th {
 
  padding: 5px 0;
 
  font-size: 1.2em;
 
  text-align: center;
 
}
 
  
 +
.infobox td { padding: 5px 0; }
 
.spring th {
 
.spring th {
 
     background: var(--spring);
 
     background: var(--spring);
Line 97: Line 83:
  
 
.god-za th {
 
.god-za th {
     background: #483a6b;
+
     background: var(--god-za);
 
     color: #fff;
 
     color: #fff;
 
}
 
}
Line 127: Line 113:
  
 
.god-za {
 
.god-za {
     background: #b6b0c4;
+
     background: var(--god-za-light);
     border: 1px solid #483a6b;
+
     border: 1px solid var(--god-za);
 
}
 
}
  
Line 144: 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);*/
}
 
 
 
@media only screen and (max-width: 600px) {
 
    .infobox {width: 100%; margin-left: 0;}
 
 
}
 
}
 
}}
 
}}
Line 156: Line 139:
 
! colspan="2" |  {{PAGENAME}}
 
! colspan="2" |  {{PAGENAME}}
 
|-
 
|-
| colspan="2" | {{#if: {{{image|}}} | [[File:{{{image}}}|x300px]] }}
+
| colspan="2" | {{#if: {{{image|}}} | [[File:{{{image}}}|x300px|center]] }}
 
|-
 
|-
 
! colspan="2" | '''Character Profile'''
 
! colspan="2" | '''Character Profile'''

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=
}}