Template:Character: Difference between revisions
From Equestripedia, the Archives of Equestria!
Content added Content deleted
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{| id="character" class="infobox" style="width:270px" |
|||
<includeonly><templatestyles src="Template:Character/styles.css" /><div class="articlehead"><table class="infobox ib-type-band"> |
|||
! colspan="2" style="font-size:125%" | {{{name|{{PAGENAME}}}}} |
|||
|- |
|||
<tr><td colspan="2">{{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size=270|sizedefault=frameless|upright=1.1|alt={{{alt|}}}|suppressplaceholder=yes}}</td></tr><!-- |
|||
| colspan="2" style="text-align:center" | {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size=270|sizedefault=frameless|upright=1.1|alt={{{alt|}}}|suppressplaceholder=yes}} |
|||
|- |
|||
--><!-- |
|||
| colspan = "2" style = "text-align: center" | {{#if:{{{caption|}}}|{{{caption}}}}} |
|||
--><td colspan="2" class="ib-line"></td> |
|||
|- |
|||
<!------------------------------------------------------------------------------------------------------------------- |
|||
| colspan = "2" class="ib-line" | |
|||
--> |
|||
|- |
|||
<tr><td colspan="2" style="padding-top:5px;text-align: center; font-weight: bold;">Character</td></tr> |
|||
! colspan = "2" | Character |
|||
<tr> |
|||
|- |
|||
<td class="ib-data-title" style="padding-top:5px;>Species</td> |
|||
{{#if:{{{species|}}}| |
|||
{{!}} '''Species''' |
|||
</tr><!-- |
|||
{{!}} {{{species}}} |
|||
}} |
|||
<td class="ib-data-title">Kind</td> |
|||
|- |
|||
<td class="ib-data">{{{kind|}}}</td> |
|||
{{#if:{{{kind|}}}| |
|||
</tr>}}<!-- |
|||
{{!}} '''Kind''' |
|||
--><tr> |
|||
{{!}} {{{kind}}} |
|||
<td class="ib-data-title">Gender</td> |
|||
}} |
|||
<td class="ib-data">{{{gender}}}</td> |
|||
|- |
|||
</tr> |
|||
{{#if:{{{gender|}}}| |
|||
<td colspan="2" class="ib-line"></td> |
|||
{{!}} '''Gender''' |
|||
<tr><td colspan="2" style="padding-top:5px;text-align: center; font-weight: bold;">Personal life</td></tr> |
|||
{{!}} {{{gender}}} |
|||
<!-- |
|||
}} |
|||
-->{{#if: {{{occupation|}}}|<tr> |
|||
|- |
|||
<td class="ib-data-title">Occupation</td> |
|||
{{#if:{{{occupation|}}}{{{aliases|}}}{{{nationality|}}}{{{residence|}}}{{{address|}}}{{{employment|}}}|{{!}}- |
|||
<td class="ib-data">{{{occupation|}}}</td> |
|||
! colspan="2" {{!}}Personal details}} |
|||
</tr>}}<!-- |
|||
{{!}}- |
|||
-->{{#if: {{{aliases|}}}|<tr> |
|||
{{#if:{{{occupation|}}}| |
|||
<td class="ib-data-title">Aliases</td> |
|||
{{!}} '''Occupation''' |
|||
<td class="ib-data">{{{aliases|}}}</td> |
|||
{{!}} {{{occupation}}} |
|||
</tr>}}<!-- |
|||
}} |
|||
-->{{#if: {{{nationality|}}}|<tr> |
|||
|- |
|||
<td class="ib-data-title">Nationality</td> |
|||
{{#if:{{{employment|}}}| |
|||
<td class="ib-data">{{{nationality|}}}</td> |
|||
{{!}} '''Employment''' |
|||
</tr>}}<!-- |
|||
{{!}} {{{employment}}} |
|||
}} |
|||
<td class="ib-data-title">Residence</td> |
|||
|- |
|||
<td class="ib-data">{{{residence|}}}</td> |
|||
{{#if:{{{affiliation|}}}| |
|||
</tr>}}<!-- |
|||
{{!}} '''Affiliation''' |
|||
-->{{#if: {{{address|}}}|<tr> |
|||
{{!}} {{{affiliation}}} |
|||
<td class="ib-data-title">Address</td> |
|||
}} |
|||
<td class="ib-data">{{{address|}}}</td> |
|||
|- |
|||
</tr>}}<!-- |
|||
{{#if:{{{education|}}}| |
|||
{{!}} '''Education''' |
|||
<td class="ib-data-title">Family</td> |
|||
{{!}} {{{education}}} |
|||
<td class="ib-data">{{{family|}}}</td> |
|||
}} |
|||
</tr>}}<!-- |
|||
|- |
|||
-->{{#if: {{{relatives|}}}|<tr> |
|||
{{#if:{{{aliases|}}}| |
|||
<td class="ib-data-title">Relatives</td> |
|||
{{!}} '''Aliases''' |
|||
<td class="ib-data">{{{relatives|}}}</td> |
|||
{{!}} {{{aliases}}} |
|||
</tr>}}<!-- |
|||
}} |
|||
-->{{#if: {{{affiliation|}}}|<tr> |
|||
|- |
|||
<td class="ib-data-title">Affiliation</td> |
|||
{{#if:{{{nationality|}}}| |
|||
<td class="ib-data">{{{affiliation|}}}</td> |
|||
{{!}} '''Nationality''' |
|||
</tr>}}<!-- |
|||
{{!}} {{{nationality}}} |
|||
}} |
|||
<td class="ib-data-title">Employment</td> |
|||
|- |
|||
<td class="ib-data">{{{employment|}}}</td> |
|||
{{#if:{{{residence|}}}| |
|||
</tr>}}<!-- |
|||
{{!}} '''Residence''' |
|||
-->{{#if: {{{education|}}}|<tr> |
|||
{{!}} {{{residence}}} |
|||
<td class="ib-data-title">Education</td> |
|||
}} |
|||
<td class="ib-data">{{{education|}}}</td> |
|||
|- |
|||
</tr>}}<!-- |
|||
{{#if:{{{address|}}}| |
|||
{{!}} '''Address''' |
|||
--><!------------------------------------------------------------------------------------------------------------------- |
|||
{{!}} {{{address}}} |
|||
}} |
|||
--><tr><td colspan="2" class="ib-line"></td></tr><!-- |
|||
|- |
|||
-->{{#if: {{{voice_artist|}}}|<tr> |
|||
{{#if:{{{family|}}}{{{relatives|}}}{{{pets|}}}|{{!}}- |
|||
<td class="ib-data-title">Voice actor</td> |
|||
! colspan="2" {{!}}Relationships}} |
|||
<td class="ib-data">{{{voice_artist|}}}</td> |
|||
|- |
|||
</tr>}}}}<!-- |
|||
{{#if:{{{family|}}}| |
|||
{{!}} '''Family''' |
|||
<td class="ib-data-title">Live actor</td> |
|||
{{!}} {{{family}}} |
|||
<td class="ib-data">{{{live_actor|}}}</td> |
|||
}} |
|||
</tr>}}<!-- |
|||
|- |
|||
-->{{#if: {{{singer|}}}|<tr> |
|||
{{#if:{{{relatives|}}}| |
|||
<td class="ib-data-title">Singer</td> |
|||
{{!}} '''Relatives''' |
|||
<td class="ib-data">{{{singer|}}}</td> |
|||
{{!}} {{{relatives}}} |
|||
</tr>}} |
|||
}} |
|||
</table>[[Category:Characters]]{{#switch:{{{series}}}|MLP=[[Category:My Little Pony characters]]|TALES=[[Category:Tales characters]]|G3=[[Category:Generation 3 characters]]|FIM=[[Category:Friendship is Magic characters]]|EQG=[[Category:Equestria Girls characters]]|PL=[[Category:Pony Life characters]]}}{{#switch:{{{gender}}}|[[Sexes|Male]]=[[Category:Males]]|[[Sexes|Female]]=[[Category:Females]]}}</includeonly><noinclude>{{doc}}[[Category:Infoboxes]]</noinclude> |
|||
|- |
|||
{{#if:{{{pets|}}}| |
|||
{{!}} '''Pets''' |
|||
{{!}} {{{pets}}} |
|||
}} |
|||
|- |
|||
{{#if:{{{voice_artist|}}}{{{live_actor|}}}{{{singer|}}}{{{creator|}}}|{{!}}- |
|||
! colspan="2" {{!}}Real world}} |
|||
|- |
|||
{{#if:{{{voice_artist|}}}| |
|||
{{!}} '''Voice actor''' |
|||
{{!}} {{{voice_artist}}} |
|||
}} |
|||
|- |
|||
{{#if:{{{live_actor|}}}| |
|||
{{!}} '''Live actor''' |
|||
{{!}} {{{live_actor}}} |
|||
}} |
|||
|- |
|||
{{#if:{{{singer|}}}| |
|||
{{!}} '''Singer''' |
|||
{{!}} {{{singer}}} |
|||
}} |
|||
|- |
|||
{{#if:{{{creator|}}}| |
|||
{{!}} '''Creator''' |
|||
{{!}} {{{creator}}} |
|||
}} |
|||
|- |
|||
{{#if:{{{first|}}}{{{last|}}}|{{!}}- |
|||
! colspan="2" {{!}}Appearances}} |
|||
|- |
|||
{{#if:{{{first|}}}| |
|||
{{!}} '''First''' |
|||
{{!}} {{{first}}} |
|||
}} |
|||
|- |
|||
{{#if:{{{last|}}}| |
|||
{{!}} '''Last''' |
|||
{{!}} {{{last}}} |
|||
}} |
|||
|}<templatestyles src="Character infobox/styles.css"/><includeonly>[[Category:Staff]]</includeonly><noinclude>{{documentation}}</noinclude> |
|||
[[Category:Characters]]{{#switch:{{{series}}}|MLP=[[Category:My Little Pony characters]]|TALES=[[Category:Tales characters]]|G3=[[Category:Generation 3 characters]]|FIM=[[Category:Friendship is Magic characters]]|EQG=[[Category:Equestria Girls characters]]|PL=[[Category:Pony Life characters]]}}{{#switch:{{{gender}}}|[[Sexes|Male]]=[[Category:Males]]|[[Sexes|Female]]=[[Category:Females]]}}</includeonly><noinclude>{{doc}}[[Category:Infoboxes]]</noinclude> |
Revision as of 13:51, 17 October 2022
Character | |
---|---|
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
|
Examples
</includeonly>
- REDIRECT
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
|