Template:Deity: Difference between revisions

From Greyhawk Wiki
Jump to navigation Jump to search
m 29 revisions imported: Imported from CF GH Wiki
Changing to new infobox wiki format
Line 1: Line 1:
{| class="toccolours" style="float:right; margin:0 0 0.5em 1em; width:21em; clear:right;"
{| class="floatright" style=" width:267px; border:1px solid MidnightBlue; margin-right:15px; "
|+'''Greyhawk Deity'''
| colspan="2" style="background:MidnightBlue; line-height: 300%; text-align:center; " | <span style="font-family: Arial Black; font-size: 14pt; color:white">{{{name}}}</span>
|-
|-
! colspan=2 style="text-align:center; font-size: larger;" | ''Greyhawk'' Deity
| colspan="2" style="text-align:center;" | {{{image}}}
|-
|-
!colspan=2 style="font-size: large; background-color: {{{bgcolor<noinclude>|#000</noinclude>}}}; color: {{{fgcolor<noinclude>|#FFF</noinclude>}}}; line-height: 300%;" | <font face="Garamond">{{{name}}}
| colspan="2" style="text-align:center;" | <span style="font-size:8pt">{{{caption}}}</font>
|-
|-
|colspan=2 style="text-align:center;" | {{{image}}}
| colspan="2" style="background:MidnightBlue; line-height: 1%" |
|-
|-
|colspan=2 style="text-align:center;" | {{{caption}}}
|- style=" vertical-align: top;"
| {{#if:{{{title|}}} | '''Title(s):'''  }}
|  {{#if:{{{title|}}} | {{{title|}}} }}  
|-
|-
!colspan=2 style="background-color:{{{bgcolor|#000}}}; line-height: 1%"|  
|  {{#if:{{{home|}}} | '''Home Plane:'''  }}
|  {{#if:{{{home|}}} | {{{home|}}} }}
|-
|-
! Title(s)
|  {{#if:{{{power|}}} | '''Power Level:'''  }}
| {{{title}}}
|  {{#if:{{{power|}}} | {{{power|}}} }}  
|-
|-
! Home&nbsp;Plane
|  {{#if:{{{gender|}}} | '''Race:'''  }}
| {{{home}}}
|  {{#if:{{{gender|}}} | {{{gender|}}} }}  
|-
|-
! Power Level
|  {{#if:{{{class|}}} | '''Class(es):'''  }}
| {{{power}}}
|  {{#if:{{{class|}}} | {{{class|}}} }}  
|-
|-
! Gender
|  {{#if:{{{alignment|}}} | '''Alignment:'''  }}
| {{{gender}}}
|  {{#if:{{{alignment|}}} | {{{alignment|}}} }}
|-
|-
! Class(es)
|  {{#if:{{{portfolio|}}} | '''Protfolio:'''  }}
| {{{class}}}
|  {{#if:{{{portfolio|}}} | {{{portfolio|}}} }}
|-
|-
! Alignment
|  {{#if:{{{domains|}}} | '''Domains:'''  }}
| {{{alignment}}}
|  {{#if:{{{domains|}}} | {{{domains|}}} }}
|-
|-
! Portfolio
 
| {{{portfolio}}}
| {{#if:{{{alias|}}} | '''Alias(es):'''  }}
|  {{#if:{{{alias|}}} | {{{alias|}}} }}
|-
|-
! Domains
|  {{#if:{{{super|}}} | '''Superior:'''  }}
| {{{domains}}}
|  {{#if:{{{super|}}} | {{{super|}}} }}
|-
|-
! Alias(es)
|}
| {{{alias}}}
|-
! Superior
| {{{super}}}
|}<noinclude>
|}<noinclude>
Optional parameters marked "&dagger;".


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.  The recommeded image size is a width of 250px so that it will completely fill the infobox without increasing its size.


For writing guidelines for deity pages, see [[Writing guidelines: Greyhawk deities]].
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==
==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, <nowiki>[[like this]]</nowiki>.
Do ''NOT'' add wiki links to alignments.
{| style="border: none; background: none;"
{| style="border: none; background: none;"
|<pre>
|<pre>
{{Greyhawk Deity|fgcolor=#fff|
{{Greyhawk Deity
image=|
|image=|
caption=|
caption=|
bgcolor=#000|
fgcolor=#fff|
name=|
name=|
title=|
title=|
Line 70: Line 73:
|}
|}


Two additional optional parameters exist to enable changing of the background and foreground colors in the name part of the infobox, the default is white text on a black background.
<pre><nowiki>
|fgcolor=#fff
|bgcolor=#000
</nowiki></pre>


[[Category:Greyhawk deities|*]]
[[Category:Greyhawk deities|*]]

Revision as of 18:16, 10 January 2019

Greyhawk Deity
{{{name}}}
{{{image}}}
{{{caption}}}

|}


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=|
title=|
home=|
power=|
gender=|
class=|
alignment=|
portfolio=|
domains=|
alias=|
super=|
}}