Difference between revisions of "Template:Canon Deity"

From Dungeons and Dragons Wiki
Jump to: navigation, search
m
m
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{infobox
+
<includeonly>{| class="infobox toccolours" style="font-size:89%; width:300px;"
|Box title    = {{{name|{{PAGENAME}}}}}
+
|-
|image        = {{{image}}}
+
! colspan="2" style="background-color:#FCF9D3; font-size:120%; border: 1px solid black; padding:1em;" | {{{name|{{PAGENAME}}}}}{{#if: {{{image|}}}|&nbsp;
|imagewidth   = [defaults to 250]
+
{{!}}-
|caption      = {{{caption}}}
+
{{!}} colspan="2" style="text-align:center;" {{!}} [[{{{image}}}|{{{imagewidth|250}}}px]]<br/>''{{{caption| }}}''
|Row 1 title = Title(s)
+
|
|Row 1 info  = {{{title|}}}
+
}}{{#if: {{{title|}}}|&nbsp;
|Row 2 title  = Home plane
+
{{!}}-
|Row 2 info  = {{{home|}}}
+
{{!}} style="width:30%;" {{!}}
|Row 3 title  = Power level
+
'''Title(s):'''
|Row 3 info  = {{{power|}}}
+
{{!}} style="width:70%;" {{!}}
|Row 4 title  = Alignment
+
{{{title}}}}}{{#if: {{{alias|}}}|&nbsp;
|Row 4 info  = {{{alignment|}}}
+
{{!}}-
|Row 5 title  = Portfolio
+
{{!}} style="width:30%;" {{!}}
|Row 5 info  = {{{portfolio|}}}
+
'''Alias(es):'''
|Row 6 title  = Domains
+
{{!}} style="width:70%;" {{!}}
|Row 6 info  = {{{domains|}}}
+
{{{alias}}}}}{{#if: {{{home|}}}|&nbsp;
|Row 7 title  = Alias(es)
+
{{!}}-
|Row 7 info  = {{{alias|}}}
+
{{!}} style="width:30%;" {{!}}
|Row 8 title  = First appearance
+
'''Home Plane:'''
|Row 8 info  = {{{first|}}}
+
{{!}} style="width:70%;" {{!}}
|Row 9 title  = Settings
+
{{{home}}}}}{{#if: {{{power|}}}|&nbsp;
|Row 9 info  = {{{setting|}}}
+
{{!}}-
|Row 10 title = Mythological
+
{{!}} style="width:30%;" {{!}}
|Row 10 info  = {{{myth|}}}
+
'''Power Level:'''
}}<includeonly>[[Category:{{{setting|Dungeons & Dragons}}} deities]]</includeonly><noinclude>{{documentation}}<!-- please add links to categories and other languages to the /doc page, not here! --></noinclude>
+
{{!}} style="width:70%;" {{!}}
 +
{{{power}}}}}{{#if: {{{alignment|}}}|&nbsp;
 +
{{!}}-
 +
{{!}} style="width:30%;" {{!}}
 +
'''Alignment:'''
 +
{{!}} style="width:70%;" {{!}}
 +
{{{alignment}}}}}{{#if: {{{portfolio|}}}|&nbsp;
 +
{{!}}-
 +
{{!}} style="width:30%;" {{!}}
 +
'''Portfolio:'''
 +
{{!}} style="width:70%;" {{!}}
 +
{{{portfolio}}}}}{{#if: {{{domains|}}}|&nbsp;
 +
{{!}}-
 +
{{!}} style="width:30%;" {{!}}
 +
'''Domains:'''
 +
{{!}} style="width:70%;" {{!}}
 +
{{{domains}}}}}{{#if: {{{settings|}}}|&nbsp;
 +
{{!}}-
 +
{{!}} style="width:30%;" {{!}}
 +
'''Settings:'''
 +
{{!}} style="width:70%;" {{!}}
 +
{{#arraymap: {{{settings}}}|,|x|[[Canon:x|x]][[Category:x|{{BASEPAGENAME}}]]}}}}{{#if: {{{first|}}}|&nbsp;
 +
{{!}}-
 +
{{!}} style="width:30%;" {{!}}
 +
'''First Appearance:'''
 +
{{!}} style="width:70%;" {{!}}
 +
{{{first}}}}}{{#if: {{{myth|}}}|&nbsp;
 +
{{!}}-
 +
{{!}} style="width:30%;" {{!}}
 +
'''Mythological References:'''
 +
{{!}} style="width:70%;" {{!}}
 +
{{{myth}}}}}
 +
|}[[Category:Deity|{{BASEPAGENAME}}]]</includeonly><noinclude>{{documentation}}<!-- please add links to categories and other languages to the /doc page, not here! --></noinclude>

Latest revision as of 06:16, 31 July 2011

Template documentation (for the above template, sometimes hidden or invisible)

Contents

This infobox is for deities found in the Dungeons & Dragons roleplaying game. This infobox should be used for all D&D deities, even those tied to a specific campaign setting. This infobox may also be used for other beings of near-deity status, such as demon lords, archdevils, archomentals, and the like.

Usage[edit]

This code:

{{Canon Deity
|name=
|image=
|caption=
|title=
|alias=
|home=
|power=
|alignment=
|portfolio=
|domains=
|settings=
|first=
|myth=
}}

will result in the infobox shown on the right. The various property fields should be filled in with the relevant information. They all support wiki links except for the settings field.

Text in the settings field should be a comma separated list of the campaign settings where this deity is used, and will turn into links and category additions automatically. Note that this is a case sensitive field, so please capitalize the campaign setting name appropriately.


Visit Template:Canon Deity/doc to edit this text! (How does this work?)