Template:DeityInfobox: Difference between revisions

Template page
No edit summary
No edit summary
 
(19 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="titles">
 
     <label>Titles</label>
{{#if:{{{titles|}}}|<tr>
  </data>
     <th>Titles</th>
  <data source="type">
     <td>{{{titles}}}</td>
     <label>Type</label>
</tr>}}
  </data>
 
  <data source="pantheon">
{{#if:{{{adjective|}}}|<tr>
     <label>Pantheon</label>
     <th>Adjective</th>
  </data>
     <td>{{{adjective}}}</td>
  <data source="patron">
</tr>}}
     <label>Patron</label>
 
  </data>
{{#if:{{{realm|}}}|<tr>
  <data source="adjective">
     <th>Realm</th>
     <label>Adjective</label>
    <td>{{{realm}}}</td>
  </data>
</tr>}}
  <!--<data source="alignment">
 
     <label>Alignment</label>
{{#if:{{{alignment|}}}|<tr>
  </data>-->
     <th>Alignment</th>
  <data source="areas_of_concern">
    <td>{{{alignment}}}</td>
     <label>Areas of concern</label>
</tr>}}
  </data>
 
  <data source="worshipers">
{{#if:{{{areas_of_concern|}}}|<tr>
     <label>Typical worshipers</label>
     <th>Areas of concern</th>
  </data>
    <td>{{{areas_of_concern}}}</td>
  <!--<data source="cleric_alignments">
</tr>}}
     <label>Typical follower alignments</label>
 
  </data>-->
{{#if:{{{worshipers|}}}|<tr>
  <data source="domains">
     <th>Worshipers</th>
     <label>Domains</label>
    <td>{{{worshipers}}}</td>
  </data>
</tr>}}
  <data source="divine_font">
 
    <label>Divine font</label>
{{#if:{{{cleric_alignments|}}}|<tr>
  </data>
     <th>Cleric alignments</th>
  <data source="divine_skill">
    <td>{{{cleric_alignments}}}</td>
     <label>Divine skill</label>
</tr>}}
  </data>
 
  <data source="divine_ability">
{{#if:{{{cleric_spell_level|}}}|<tr>
     <label>Divine ability</label>
     <th>Max cleric spell level</th>
  </data>
    <td>{{{cleric_spell_level}}}</td>
  <data source="favored_weapon">
</tr>}}
     <label>Favored weapon</label>
 
  </data>
{{#if:{{{domains|}}}|<tr>
  <data source="symbol">
    <th>Domains</th>
     <label>Symbol</label>
     <td>{{{domains}}}</td>
  </data>
</tr>}}
  <data source="sacred_animal">
 
     <label>Sacred animal</label>
{{#if:{{{subdomains|}}}|<tr>
  </data>
     <th>Subdomains</th>
  <data source="sacred_colors">
    <td>{{{subdomains}}}</td>
     <label>Sacred color</label>
</tr>}}
  </data>
 
</infobox>
{{#if:{{{favored_weapon|}}}|<tr>
     <th>Favored weapon</th>
    <td>{{{favored_weapon}}}</td>
</tr>}}
 
{{#if:{{{symbol|}}}|<tr>
     <th>Symbol</th>
    <td>{{{symbol}}}</td>
</tr>}}
 
{{#if:{{{sacred_animal|}}}|<tr>
     <th>Sacred animal</th>
    <td>{{{sacred_animal}}}</td>
</tr>}}
 
{{#if:{{{sacred_colors|}}}|<tr>
     <th>Sacred colors</th>
    <td>{{{sacred_colors}}}</td>
</tr>}}
 
</table>
</div>

Latest revision as of 01:29, 9 May 2024