Template:CharacterInfobox: Difference between revisions

From Cassette Beasts
ExcaliburZero (talk | contribs)
Created template
 
Leilukin (talk | contribs)
Add title parameter
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
<div class="infobox-head">
<div class="infobox-head">
<div class="infobox-title">{{{name}}}</div>
<div class="infobox-title">{{{name}}}</div>
<div class="infobox-subtitle">&nbsp;</div>
<div class="infobox-subtitle">{{#if:{{{title|}}}| {{{title}}} | &nbsp; }}</div>
</div>
</div>
<div class="infobox-body">
<div class="infobox-body">
<div class="infobox-image"><center>[[File:{{{image|Unknown.png}}}|{{{image_size|350x350px}}}]]</center></div>
<div class="infobox-image"><center>[[File:{{{image|Unknown.png}}}|{{{image_size|250x350px}}}]]</center></div>
<div class="infobox-data">
<div class="infobox-data">
<table>
<table>
{{#if: {{{pronouns|}}}|<tr><th>Pronouns</th><td>{{{pronouns}}}</td></tr>}}
{{#if: {{{pronouns|}}}|<tr><th>Pronouns</th><td>{{{pronouns}}}</td></tr>
{{#if: {{{age|}}}|<tr><th>Age</th><td>{{{age}}}</td></tr>}}
}}{{#if: {{{age|}}}|<tr><th>Age</th><td>{{{age}}}</td></tr>
{{#if: {{{voice_actor|}}}|<tr><th>Voice actor</th><td>{{{voice_actor}}}</td></tr>}}
}}{{#if: {{{voice_actor|}}}|<tr><th>Voice actor</th><td>{{{voice_actor}}}</td></tr>}}
</table>
</table>
</div>
</div>
Line 17: Line 17:
<noinclude>
<noinclude>
{{-}}
{{-}}
== Example ==
== Examples ==
{{CharacterInfobox
{{CharacterInfobox
| name = Kayleigh
| name = Kayleigh
| title = Neighbourhood Ranger
| image = Kayleigh.png
| image = Kayleigh.png
| pronouns = she/her
| pronouns = she/her
| voice_actor = [https://www.imdb.com/name/nm4348191/ Katherine Moran]
| voice_actor = [https://www.imdb.com/name/nm4348191/ Katherine Moran]
}}
{{-}}
{{CharacterInfobox
| name = Barkley
| title = Man's Best Friend
| image = Barkley.png
| pronouns = he/him
}}
}}


</noinclude>
</noinclude>

Latest revision as of 10:17, 23 November 2024

{{{name}}}
 


Examples

Kayleigh
Neighbourhood Ranger
Pronounsshe/her
Voice actorKatherine Moran


Barkley
Man's Best Friend
Pronounshe/him