Template:PersonInfobox: Difference between revisions

Template page
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="infobox">
<infobox>
<div class="infobox-title">{{{name|{{PAGENAME}}}}}</div>
  <title source="name">
 
    <default>{{PAGENAME}}</default>
{{#if:{{{image|}}}|
  </title>
<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}
  <image source="image">
 
    <caption source="image_desc" />
<table>
  </image>
{{#if:{{{title|}}}|<tr>
  <data source="title">
     <th>Title</th>
     <label>Title</label>
    <td>{{{title}}}</td>
  </data>
</tr>}}
  <!--<data source="alignment">
 
     <label>Alignment</label>
{{#if:{{{alignment|}}}|<tr>
  </data>-->
     <th>Alignment</th>
  <data source="ancestry">
    <td>{{{alignment}}}</td>
     <label>Ancestry</label>
</tr>}}
  </data>
 
  <data source="gender">
{{#if:{{{ancestry|}}}|<tr>
     <label>Gender</label>
     <th>Ancestry</th>
  </data>
    <td>{{{ancestry}}}</td>
  <data source="homeland">
</tr>}}
     <label>Homeland</label>
 
  </data>
{{#if:{{{gender|}}}|<tr>
  <data source="affiliation">
     <th>Gender</th>
     <label>Affiliation</label>
    <td>{{{gender}}}</td>
  </data>
</tr>}}
  <data source="deity">
 
     <label>Deity</label>
{{#if:{{{homeland|}}}|<tr>
  </data>
     <th>Homeland</th>
  <data source="status">
    <td>{{{homeland}}}</td>
     <label>Status</label>
</tr>}}
  </data>
 
</infobox>
{{#if:{{{affiliation|}}}|<tr>
     <th>Affiliation</th>
    <td>{{{affiliation}}}</td>
</tr>}}
 
 
{{#if:{{{deity|}}}|<tr>
     <th>Deity</th>
    <td>{{{Deity}}}</td>
</tr>}}
 
{{#if:{{{class|}}}|<tr>
    <th>Class</th>
     <td>{{{class}}}</td>
</tr>}}
 
</table>
</div>

Latest revision as of 01:28, 9 May 2024