Difference between revisions of "Template:Infobox"

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

Revision as of 10:34, 7 July 2023

Infobox