Template:DeityInfobox: Difference between revisions

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