Template:Deity: Difference between revisions

From Greyhawk Wiki
Jump to navigation Jump to search
Rexidos (talk | contribs)
tidy infobox
Rexidos (talk | contribs)
No edit summary
Line 6: Line 6:
</tr><tr>
</tr><tr>
   <td colspan="2" style="text-align:center; font-size: 0.9em">{{{caption|}}}</td>
   <td colspan="2" style="text-align:center; font-size: 0.9em">{{{caption|}}}</td>
</tr>{{#if:{{alt_spelling|}}}|<tr style="vertical-align: top;">
</tr>{{#if:{{{alt_spelling|}}}|<tr style="vertical-align: top;">
   <th>'''alt_spelling:'''</th>
   <th>'''Alternate spelling:'''</th>
   <td>{{{alt_spelling|}}}</td>
   <td>{{{alt_spelling|}}}</td>
</tr>{{#if:{{title|}}}|<tr style="vertical-align: top;">
</tr>{{#if:{{{title|}}}|<tr style="vertical-align: top;">
   <th>'''title:'''</th>
   <th>'''Title:'''</th>
   <td>{{{title|}}}</td>
   <td>{{{title|}}}</td>
</tr>{{#if:{{alias|}}}|<tr style="vertical-align: top;">
</tr>{{#if:{{{alias|}}}|<tr style="vertical-align: top;">
   <th>'''alias:'''</th>
   <th>'''Aliases:'''</th>
   <td>{{{alias|}}}</td>
   <td>{{{alias|}}}</td>
</tr>{{#if:{{home|}}}|<tr style="vertical-align: top;">
</tr>{{#if:{{{home|}}}|<tr style="vertical-align: top;">
   <th>'''home:'''</th>
   <th>'''Home plane:'''</th>
   <td>{{{home|}}}</td>
   <td>{{{home|}}}</td>
</tr>{{#if:{{power|}}}|<tr style="vertical-align: top;">
</tr>{{#if:{{{power|}}}|<tr style="vertical-align: top;">
   <th>'''power:'''</th>
   <th>'''Power level:'''</th>
   <td>{{{power|}}}</td>
   <td>{{{power|}}}</td>
</tr>{{#if:{{race|}}}|<tr style="vertical-align: top;">
</tr>{{#if:{{{race|}}}|<tr style="vertical-align: top;">
   <th>'''race:'''</th>
   <th>'''Race:'''</th>
   <td>{{{race|}}}</td>
   <td>{{{race|}}}</td>
</tr>{{#if:{{gender|}}}|<tr style="vertical-align: top;">
</tr>{{#if:{{{gender|}}}|<tr style="vertical-align: top;">
   <th>'''gender:'''</th>
   <th>'''Gender:'''</th>
   <td>{{{gender|}}}</td>
   <td>{{{gender|}}}</td>
</tr>{{#if:{{class|}}}|<tr style="vertical-align: top;">
</tr>{{#if:{{{class|}}}|<tr style="vertical-align: top;">
   <th>'''class:'''</th>
   <th>'''Class:'''</th>
   <td>{{{class|}}}</td>
   <td>{{{class|}}}</td>
</tr>{{#if:{{alignment|}}}|<tr style="vertical-align: top;">
</tr>{{#if:{{{alignment|}}}|<tr style="vertical-align: top;">
   <th>'''alignment:'''</th>
   <th>'''Alignment:'''</th>
   <td>{{{alignment|}}}</td>
   <td>{{{alignment|}}}</td>
</tr>{{#if:{{portfolio|}}}|<tr style="vertical-align: top;">
</tr>{{#if:{{{portfolio|}}}|<tr style="vertical-align: top;">
   <th>'''portfolio:'''</th>
   <th>'''Portfolio:'''</th>
   <td>{{{portfolio|}}}</td>
   <td>{{{portfolio|}}}</td>
</tr>{{#if:{{domains|}}}|<tr style="vertical-align: top;">
</tr>{{#if:{{{domains|}}}|<tr style="vertical-align: top;">
   <th>'''domains:'''</th>
   <th>'''Domains:'''</th>
   <td>{{{domains|}}}</td>
   <td>{{{domains|}}}</td>
</tr>{{#if:{{super|}}}|<tr style="vertical-align: top;">
</tr>{{#if:{{{super|}}}|<tr style="vertical-align: top;">
   <th>'''super:'''</th>
   <th>'''Superior:'''</th>
   <td>{{{super|}}}</td>
   <td>{{{super|}}}</td>
</tr>|}}
</tr>|}}

Revision as of 16:52, 26 May 2020

This template should be added to all deity articles, as well as articles on arch-fiends, arch-celestials, slaad lords, archomentals, hero-deities, saints, and similar beings of power.

Usage

If any fields are left undefined they will not appear. The recommended image size is a width of 250px so that it will completely fill the infobox without increasing its size.

Add wiki links in "home=" to articles on listed homeland by putting the name of the place inside double brackets, [[like this]].

Do NOT add wiki links to alignments.

{{Greyhawk Deity
|image        = 
|caption      = 
|name         = 
|alt_spelling = 
|title        = 
|home         = 
|power        = 
|gender       = 
|class        = 
|alignment    = 
|portfolio    = 
|domains      = 
|alias        = 
|super        = 
}}