Difference between revisions of "Template:Character Data"

From A3! Wiki
m
 
(45 intermediate revisions by 3 users not shown)
Line 15: Line 15:
 
|imagecolour=String
 
|imagecolour=String
 
|hobby=Wikitext
 
|hobby=Wikitext
 +
|LIME_jp=String
 
|liked_food=String
 
|liked_food=String
 
|disliked_food=String
 
|disliked_food=String
Line 42: Line 43:
 
|occupation={{{occupation|}}}
 
|occupation={{{occupation|}}}
 
|motif={{{motif|}}}
 
|motif={{{motif|}}}
|imagecolour={{{imagecolour|}}}
+
|imagecolour={{{imagecolour|}}}  
 
|hobby={{{hobby|}}}
 
|hobby={{{hobby|}}}
 +
|LIME_jp={{{LIME_jp|}}}
 
|liked_food={{{liked_food|}}}
 
|liked_food={{{liked_food|}}}
 
|disliked_food={{{disliked_food|}}}
 
|disliked_food={{{disliked_food|}}}
Line 58: 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 109: 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 124: 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'''
 
|-
 
|-
|
+
| '''Name''' || {{{name_jp|}}} (''{{{name_en|}}}'')
{| width="100%" border="0" style="text-align:left;"
 
 
|-
 
|-
| '''Name''' || {{{name_jp|}}} (''{{{name_en|}}}'')
+
| '''Troupe''' || {{ucfirst:{{{troupe|}}}}}
 
|-
 
|-
 
| '''Age''' || {{#if: {{{age|}}} | {{Year| {{{age|}}} }} | }}
 
| '''Age''' || {{#if: {{{age|}}} | {{Year| {{{age|}}} }} | }}
Line 149: Line 155:
 
| '''Blood Type''' || {{{bloodtype|}}}
 
| '''Blood Type''' || {{{bloodtype|}}}
 
|-
 
|-
| '''Occupation''' || {{#ifeq: {{#explode: {{{occupation|}}} |,|1}} | | {{{occupation|}}} | {{Year| {{{occupation|}}} }} }}
+
| '''Occupation''' || {{#if: {{{occupation|}}} | {{Year| {{{occupation|}}} }} | }}
 
|-
 
|-
| '''Motif Flower''' || {{#ifexist: File:{{{name_en}}} Motif.png | [[File:{{{name_en}}} Motif.png|20px]] {{{motif|}}} | {{{motif|}}} }}
+
| '''Motif Flower''' || {{#ifexist: File:{{{surname|}}} {{{firstname|}}} Motif.png | [[File:{{{surname|}}} {{{firstname|}}} 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>|}}
 
{{#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|}}}
 
| '''Hobbies'''|| {{{hobby|}}}
 +
|-
 +
| {{#ifexist: File:LIME Icon {{{firstname}}}.png | '''SNS Icon''' | }} || {{#ifexist: File:LIME Icon {{{firstname}}}.png | [[File:LIME Icon {{{firstname}}}.png|30px]] | }}
 +
|-
 +
| '''LIME''' || {{#if: {{{LIME_jp|}}} | {{{LIME_jp|}}} (''{{Character to Troupe | characterlime={{{firstname}}} }}'') | {{Character to Troupe | characterlime={{{firstname}}} }} }}
 +
|-
 +
| '''Inste''' || {{Character to Troupe|characterSNS={{{firstname}}} }}
 
|-
 
|-
 
| '''Favorite Food'''|| {{{liked_food|}}}
 
| '''Favorite Food'''|| {{{liked_food|}}}
Line 163: Line 175:
 
| '''Family'''|| {{{family|}}}
 
| '''Family'''|| {{{family|}}}
 
|-
 
|-
| '''Skill'''|| {{{skill|}}}
+
| '''Strength'''|| {{{strength|}}}
 
|-
 
|-
 
| '''Weakness'''|| {{{weakness|}}}
 
| '''Weakness'''|| {{{weakness|}}}
|-
 
| '''Troupe''' || {{ucfirst:{{{troupe|}}}}}
 
 
|-
 
|-
 
| '''CV''' || {{{voice|}}}
 
| '''CV''' || {{{voice|}}}
 
|-
 
|-
|}
+
{{#if: {{{signature|}}}|
|-
+
<tr>
! align="center" | '''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" | '''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}}]]
 
[[Category:Characters]]
 
[[Category:Characters]]
 
[[Category:{{ucfirst:{{{troupe|}}}}} Troupe Characters]]
 
[[Category:{{ucfirst:{{{troupe|}}}}} Troupe Characters]]
</includeonly><noinclude>
+
</includeonly><noinclude><pre>
 
{{Character Data
 
{{Character Data
 
|firstname=
 
|firstname=
Line 201: Line 215:
 
|imagecolour=
 
|imagecolour=
 
|hobby=
 
|hobby=
 +
|LIME_jp=
 
|liked_food=
 
|liked_food=
 
|disliked_food=
 
|disliked_food=
Line 214: Line 229:
 
|troupeorder=
 
|troupeorder=
 
}}
 
}}
 +
</pre>
 
</noinclude>
 
</noinclude>

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