Template:PersonInfobox: Difference between revisions

Template page
(Created page with "<div class="infobox"> <div class="infobox-title">{{{name|{{PAGENAME}}}}}</div> {{#if:{{{image|}}}| <div class="infobox-image">[[File:{{{image}}}|300px]]</div>}} <table> {{#if:{{{title|}}}|<tr> <th>Title</th> <td>{{{title}}}</td> </tr>}} {{#if:{{{alignment|}}}|<tr> <th>Alignment</th> <td>{{{alignment}}}</td> </tr>}} {{#if:{{{ancestry|}}}|<tr> <th>Ancestry</th> <td>{{{ancestry}}}</td> </tr>}} {{#if:{{{gender|}}}|<tr> <th>Gender</th> <t...")
 
No edit summary
 
(6 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" />
 
  </image>
<table>
  <data source="title">
{{#if:{{{title|}}}|<tr>
     <label>Title</label>
     <th>Title</th>
  </data>
    <td>{{{title}}}</td>
  <!--<data source="alignment">
</tr>}}
     <label>Alignment</label>
 
  </data>-->
{{#if:{{{alignment|}}}|<tr>
  <data source="ancestry">
     <th>Alignment</th>
     <label>Ancestry</label>
    <td>{{{alignment}}}</td>
  </data>
</tr>}}
  <data source="gender">
 
     <label>Gender</label>
{{#if:{{{ancestry|}}}|<tr>
  </data>
     <th>Ancestry</th>
  <data source="homeland">
    <td>{{{ancestry}}}</td>
     <label>Homeland</label>
</tr>}}
  </data>
 
  <data source="affiliation">
{{#if:{{{gender|}}}|<tr>
     <label>Affiliation</label>
     <th>Gender</th>
  </data>
    <td>{{{gender}}}</td>
  <data source="deity">
</tr>}}
     <label>Deity</label>
 
  </data>
{{#if:{{{homeland|}}}|<tr>
  <data source="status">
     <th>Homeland</th>
     <label>Status</label>
    <td>{{{homeland}}}</td>
  </data>
</tr>}}
</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