Template:Character: Difference between revisions
From Equestripedia, the Archives of Equestria!
Content added Content deleted
(Well, that didn't work.) |
(minor bug) |
||
(16 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
< |
<onlyinclude><templatestyles src="Template:Infobox/styles.css" />{{Infobox |
||
| autoheaders=y |
|||
<tr><td colspan="2" style="text-align: center; font-size:140%;">'''{{#if: {{{name|}}}|{{{name|}}}|{{PAGENAME}}}}'''</td></tr> |
|||
| bodystyle = width:270px; border: 2px solid #DFCDDD; |
|||
<tr><td colspan="2">{{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size=270|sizedefault=frameless|upright=1.1|alt={{{alt|}}}|suppressplaceholder=yes}}</td></tr><!-- |
|||
| abovestyle = background-color: #2B1D42; color: #DFCDDD; padding: 8px; font-size: 150%; |
|||
--><tr><td colspan="2" style="text-align: center;>{{{caption|}}}</td></tr><!-- |
|||
| imagestyle = padding-top: 9px; |
|||
--><!-- |
|||
| captionstyle = padding: 5px 10px; |
|||
--><td colspan="2" class="ib-line"></td> |
|||
| subheaderstyle = font-size: 110%; padding: 5px; |
|||
<!------------------------------------------------------------------------------------------------------------------- |
|||
| headerstyle = background-color: #2B1D42; font-weight: bold; #DFCDDD: white; font-size: 110%; padding: 4px; |
|||
--> |
|||
| bodyclass = infobox |
|||
<tr><td colspan="2" style="padding-top:5px;text-align: center; font-weight: bold;">Character</td></tr> |
|||
<tr> |
|||
<td class="ib-data-title" style="padding-top:5px;>Species</td> |
|||
<td class="ib-data">{{{species}}}</td> |
|||
</tr><!-- |
|||
-->{{#if: {{{kind|}}}|<tr> |
|||
<td class="ib-data-title">Kind</td> |
|||
<td class="ib-data">{{{kind|}}}</td> |
|||
</tr>}}<!-- |
|||
--><tr> |
|||
<td class="ib-data-title">Gender</td> |
|||
<td class="ib-data">{{{gender}}}</td> |
|||
</tr> |
|||
<td colspan="2" class="ib-line"></td> |
|||
<tr><td colspan="2" style="padding-top:5px;text-align: center; font-weight: bold;">Personal life</td></tr> |
|||
<!-- |
|||
-->{{#if: {{{occupation|}}}|<tr> |
|||
<td class="ib-data-title">Occupation</td> |
|||
<td class="ib-data">{{{occupation|}}}</td> |
|||
</tr>}}<!-- |
|||
-->{{#if: {{{nationality|}}}|<tr> |
|||
<td class="ib-data-title">Nationality</td> |
|||
<td class="ib-data">{{{nationality|}}}</td> |
|||
</tr>}}<!-- |
|||
-->{{#if: {{{residence|}}}|<tr> |
|||
<td class="ib-data-title">Residence</td> |
|||
<td class="ib-data">{{{residence|}}}</td> |
|||
</tr>}}<!-- |
|||
-->{{#if: {{{address|}}}|<tr> |
|||
<td class="ib-data-title">Address</td> |
|||
<td class="ib-data">{{{address|}}}</td> |
|||
</tr>}}<!-- |
|||
--><td colspan="2" class="ib-line"></td><!-- |
|||
--> |
|||
<tr><td colspan="2" style="padding-top:5px;text-align: center; font-weight: bold;">Relationships</td></tr> |
|||
{{#if: {{{family|}}}|<tr> |
|||
<td class="ib-data-title">Family</td> |
|||
<td class="ib-data">{{{family|}}}</td> |
|||
</tr>}}<!-- |
|||
-->{{#if: {{{relatives|}}}|<tr> |
|||
<td class="ib-data-title">Relatives</td> |
|||
<td class="ib-data">{{{relatives|}}}</td> |
|||
</tr>}}<!-- |
|||
-->{{#if: {{{affiliation|}}}|<tr> |
|||
<td class="ib-data-title">Affiliation</td> |
|||
<td class="ib-data">{{{affiliation|}}}</td> |
|||
</tr>}}<!-- |
|||
-->{{#if: {{{employment|}}}|<tr> |
|||
<td class="ib-data-title">Employment</td> |
|||
<td class="ib-data">{{{employment|}}}</td> |
|||
</tr>}}<!-- |
|||
-->{{#if: {{{education|}}}|<tr> |
|||
<td class="ib-data-title">Education</td> |
|||
<td class="ib-data">{{{education|}}}</td> |
|||
</tr>}}<!-- |
|||
| above = {{ #if: {{{name|}}} | {{{name|{{PAGENAME}}|#if:{{{fan|true}}} [[category:Fan names]]}}} | {{PAGENAME}}}} |
|||
--><!------------------------------------------------------------------------------------------------------------------- |
|||
|subheader = {{Character/SeriesCategorization|series={{{series|}}}}} |
|||
-->{{#if: {{{voice_artist|}}}|<!-- |
|||
--><tr><td colspan="2" class="ib-line"></td></tr><!-- |
|||
| image = {{#invoke:InfoboxImageDRAFT|InfoboxImageDRAFT|image={{trim brackets|{{{image|}}}}}|alt={{{image_alt|}}}|size={{{image_size|270px}}}|upright={{{upright|1.45}}}|sizedefault=frameless|maxsize=270px}} |
|||
-->{{#if: {{{voice_artist|}}}|<tr> |
|||
| caption = {{{caption|}}} |
|||
<td class="ib-data-title">Voice actor</td> |
|||
<td class="ib-data">{{{voice_artist|}}}</td> |
|||
| header1 = Biographical information |
|||
</tr>}}}}<!-- |
|||
| label2 = {{tooltip|aka|Also known as}} |
|||
-->{{#if: {{{live_actor|}}}|<tr> |
|||
| data2 = {{{aka|}}} |
|||
<td class="ib-data-title">Live actor</td> |
|||
| rowclass2 = bordered |
|||
<td class="ib-data">{{{live_actor|}}}</td> |
|||
| label3 = Species |
|||
| data3 = {{Character/SpeciesCategorization|species={{{species|}}}}} {{#if:{{{kind|}}}|{{*}}{{Character/kindCategorization|kind={{{kind|}}}}}}} |
|||
-->{{#if: {{{singer|}}}|<tr> |
|||
| rowclass3 = bordered |
|||
<td class="ib-data-title">Singer</td> |
|||
| label4 = [[Gender in My Little Pony|Gender]] |
|||
<td class="ib-data">{{{singer|}}}</td> |
|||
| data4 = {{Character/GenderCategorization|gender={{{gender|}}}}} |
|||
</tr>}} |
|||
| rowclass4 = bordered |
|||
</table>[[Category:Characters]]{{{#switch:{{{series}}}|MLP=[[Category:My Little Pony characters]]|TALES=[[Category:Tales characters]]|G3=[[Category:Generation 3 characters]]|FIM=[[Friendship is Magic characters]]|EQG=[[Category:Equestria Girls characters]]|PL=[[Category:Pony Life characters]]}}</includeonly><noinclude>{{doc}}[[Category:Infoboxes]]</noinclude> |
|||
| label5 = Age |
|||
| data5 = {{Character/AgeCategorization|age={{{age|}}}}} {{#if:{{{age_2|}}}|{{CN|{{{age_2}}}}}}} |
|||
| rowclass5 = bordered |
|||
| label7 = Occupation |
|||
| data7 = {{{occupation|}}} |
|||
| rowclass7 = bordered |
|||
| label8 = Nationality |
|||
| data8 = {{{nationality|}}} |
|||
| rowclass8 = bordered |
|||
| label9 = Education |
|||
| data9 = {{{education|}}} |
|||
| rowclass9 = bordered |
|||
| label10 = Residence |
|||
| data10 = {{{residence|}}} |
|||
| rowclass10 = bordered |
|||
| label11 = Home |
|||
| data11 = {{{home|}}} |
|||
| rowclass11 = bordered |
|||
| header12 = Relationships |
|||
| label13 = Family |
|||
| data13 = {{{family|}}} |
|||
|rowclass13 = bordered |
|||
| label14 = Relatives |
|||
| data14 = {{{relatives|}}} |
|||
|rowclass14 = bordered |
|||
| label15 = Partner(s) |
|||
| data15 = {{{partner|}}} |
|||
|rowclass15 = bordered |
|||
| label16 = Affiliation |
|||
| data16 = {{{affiliation|}}} |
|||
|rowclass16 = bordered |
|||
| header17 = Real world |
|||
| label18 = Designer |
|||
| data18 = {{{designer|}}} |
|||
|rowclass18 = bordered |
|||
| label19 = Voice |
|||
| data19 = {{{voice_artist|}}} |
|||
|rowclass19 = bordered |
|||
| label20 = Live |
|||
| data20 = {{{live_actor|}}} |
|||
|rowclass20 = bordered |
|||
| label21 = Singer |
|||
| data21 = {{{singer|}}} |
|||
|rowclass21 = bordered |
|||
|data22 = {{#if:{{{first|}}}{{{last|}}}| |
|||
{{(!}} style="width: 100%; display: inline-table; border-collapse: collapse" |
|||
{{!}} style="width: 33%; padding: 0.3em; text-align: center; border-right: 0px solid #326275; border-bottom: 0px solid #326275;" {{!}} '''First'''<br />{{#if: {{{first|}}} | {{{first}}} | —}} |
|||
{{!}} style="width: 33%; padding: 0.3em; text-align: center; border-right: 0px solid #326275; border-bottom: 0px solid #326275;" {{!}} '''Last'''<br />{{#if: {{{last|}}} | {{{last}}} | —}} |
|||
{{!)}} |
|||
}} |
|||
}}</onlyinclude><includeonly>[[Category:Using character infobox]]{{#if:{{{Y|}}}|[[Category:{{{Y}}} character debuts]]}}</includeonly><noinclude><br style="clear:both;" />{{documentation}}</noinclude> |
Latest revision as of 15:27, 30 December 2023
Character |
---|
Template based off code from the Critical Role wiki. Code available under CC-SA-BY.
{{Character|series = |name = |aka = |image = |caption = |species = |kind = |gender = |age = |occupation = |nationality = |education = |residence = |home = |family = |relatives = |affiliation = |designer = |voice_artist = |live_actor = |singer = |first = |last = }}
Usage
|
Usage notes
- Family: If a character belongs to numerous families, write them all in list view.
Series table
|
Species table
G1 switches
|
G2 switches
|
G3 switches
|
G4 switches
|
G5 switches
|
Other fantasy species
|
Generic species
|
Age table
All ages are approximate, as canon ages are rare.
|
Gender table
|