Difference between revisions of "Template:Infobox"

From Machibarusu
Jump to navigation Jump to search
Tag: Reverted
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<div class="infobox">
<div class="xc1 character">
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>
<infobox theme="xc1-character">
{{#if:{{{image|}}}|<div class="infobox-image">{{{image}}}</div>}}
<title source="name"><default>{{PAGENAME}}</default></title>
 
<image source="image">
<table>
<default>Placeholder person.png</default>
{{#if:{{{fullname|}}}|<tr>
<caption source="description">
    <th>Full Name</th>
<default>{{{name}}}</default>
    <td>{{{fullname}}}</td>
</caption>
</tr>}}
</image>
{{#if:{{{gender|}}}|<tr>
<data source="aliases">       <label>Alias</label></data>
    <th>Gender</th>
<data source="species">       <label>Species</label></data>
    <td>{{{gender}}}</td>
<data source="gender">       <label>Gender</label></data>
</tr>}}
<data source="age">           <label>Age</label></data>
{{#if:{{{status|}}}|<tr>
<data source="height">       <label>Height</label></data>
    <th>Status</th>
<data source="haircolor">    <label>Hair colour</label></data>
    <td>{{{status}}}</td>
<data source="eyecolor">     <label>Eye colour</label></data>
</tr>}}
<data source="affiliation">   <label>Affiliation</label></data>
{{#if:{{{birthday|}}}|<tr>
<data source="occupation">   <label>Occupation</label></data>
    <th>Date of Birth</th>
<data source="voiceactorjp"> <label>Voice actor (JP)</label></data>
    <td>{{{birthday}}}</td>
<data source="voiceactoreng"> <label>Voice actor (EN)</label></data>
</tr>}}
<data source="appearances">   <label>Main appearances</label></data>
{{#if:{{{deathday|}}}|<tr>
<data source="other">         <label>Other appearances</label></data>
    <th>Date of Death</th>
</infobox>
    <td>{{{deathday}}}</td>
</div></includeonly><noinclude>
</tr>}}
{{#if:{{{origin|}}}|<tr>
    <th>Origin</th>
    <td>{{{origin}}}</td>
</tr>}}
{{#if:{{{livingplace|}}}|<tr>
     <th>Residence</th>
    <td>{{{livingplace}}}</td>
</tr>}}
{{#if:{{{family|}}}|<tr>
    <th>Family</th>
    <td>{{{family}}}</td>
</tr>}}
{{#if:{{{jobs|}}}|<tr>
    <th>Occupations</th>
    <td>{{{jobs}}}</td>
</tr>}}
{{#if:{{{affiliation|}}}|<tr>
    <th>Affiliation</th>
    <td>{{{affiliation}}}</td>
</tr>}}
{{#if:{{{objects|}}}|<tr>
    <th>Known Objects</th>
    <td>{{{objects}}}</td>
</tr>}}
{{#if:{{{artists|}}}|<tr>
    <th>Artists</th>
    <td>{{{artists}}}</td>
</tr>}}
</table>
</div>

Revision as of 10:34, 7 July 2023

Infobox