Difference between revisions of "Template:CharacterInfobox"

From Cassette Beasts
(Adjusted image sizes and fix spacing when no voice actor entry)
(Add title parameter)
 
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">
Line 20: Line 20:
 
{{CharacterInfobox
 
{{CharacterInfobox
 
| name = Kayleigh
 
| name = Kayleigh
 +
| title = Neighbourhood Ranger
 
| image = Kayleigh.png
 
| image = Kayleigh.png
 
| pronouns = she/her
 
| pronouns = she/her
Line 27: Line 28:
 
{{CharacterInfobox
 
{{CharacterInfobox
 
| name = Barkley
 
| name = Barkley
 +
| title = Man's Best Friend
 
| image = Barkley.png
 
| image = Barkley.png
 
| pronouns = he/him
 
| pronouns = he/him

Latest revision as of 10:17, 23 November 2024

{{{name}}}
 
Unknown.png


Examples

Kayleigh
Neighbourhood Ranger
Kayleigh.png
Pronounsshe/her
Voice actorKatherine Moran


Barkley
Man's Best Friend
Barkley.png
Pronounshe/him