Difference between revisions of "Template:Infobox"

From Machibarusu
Jump to navigation Jump to search
Tag: Reverted
Tag: Manual revert
Line 1: Line 1:
<includeonly>
<div class="infobox">
<div class="infobox">
<infobox theme="infobox">
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
<title source="name"><default>{{PAGENAME}}</default></title>
<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}
<image source="image">
<table>{{#if:{{{fullname|}}}|<tr>
<default>Placeholder person.png</default>
    <th>Full Name</th>
<caption source="description">
    <td>{{{fullname}}}</td>
<default>{{{name}}}</default>
</tr>}}{{#if:{{{gender|}}}|<tr>
</caption>
    <th>Gender</th>
</image>
    <td>{{{gender}}}</td>
<data source="aliases">       <label>Alias</label></data>
</tr>}}{{#if:{{{species|}}}|<tr>
<data source="species">       <label>Species</label></data>
    <th>Species</th>
<data source="gender">       <label>Gender</label></data>
    <td>{{{species}}}</td>
<data source="age">           <label>Age</label></data>
</tr>}}{{#if:{{{birthday|}}}|<tr>
<data source="height">       <label>Height</label></data>
    <th>Date of Birth</th>
<data source="haircolor">    <label>Hair colour</label></data>
    <td>{{{birthday}}}</td>
<data source="eyecolor">     <label>Eye colour</label></data>
</tr>}}{{#if:{{{deathday|}}}|<tr>
<data source="affiliation">   <label>Affiliation</label></data>
    <th>Date of Death</th>
<data source="occupation">   <label>Occupation</label></data>
    <td>{{{deathday}}}</td>
<data source="voiceactorjp"> <label>Voice actor (JP)</label></data>
</tr>}}{{#if:{{{origin|}}}|<tr>
<data source="voiceactoreng"> <label>Voice actor (EN)</label></data>
     <th>Origin</th>
<data source="appearances">   <label>Main appearances</label></data>
    <td>{{{origin}}}</td>
<data source="other">         <label>Other appearances</label></data>
</tr>}}{{#if:{{{livingplace|}}}|<tr>
</infobox>
    <th>Living Place</th>
</div></includeonly><noinclude>
    <td>{{{livingplace}}}</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 17:20, 3 September 2022

Infobox