Difference between revisions of "Template:Canon Creature"

From Dungeons and Dragons Wiki
Jump to: navigation, search
m
m
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| class="toccolours" style="clear:right; float:right; margin:0 0 0.5em 1em; text-align:left; width:250px"
+
<includeonly>{| class="infobox toccolours" style="font-size:89%; width:300px;"
 
|-
 
|-
! style="font-size: 115%;" align="center" colspan="2" | [[:Category:Creatures|'''''Dungeons & Dragons'' creature''']]
+
! colspan="2" style="background-color:#FCF9D3; font-size:120%; border: 1px solid black; padding:1em;" | {{{name|{{PAGENAME}}}}}{{#if: {{{image|}}}|&nbsp;
|-
+
{{!}}-
{{#if:{{{image<includeonly>|</includeonly>}}}|
+
{{!}} colspan="2" style="text-align:center;" {{!}} [[{{{image}}}|{{{imagewidth|250}}}px]]<br/>''{{{caption| }}}''
{{!}} colspan=2 style="text-align:center;" {{!}} <noinclude>&dagger;&nbsp;</noinclude>{{{image}}}
+
|
{{!}}-
+
}}{{#if: {{{alignment|}}}|&nbsp;
{{#if:{{{caption<includeonly>|</includeonly>}}}|
+
{{!}}-
{{!}} colspan=2 style="text-align: center; font-size: smaller;" {{!}} <noinclude>&dagger;&nbsp;</noinclude>{{{caption}}}
+
{{!}} style="width:30%;" {{!}}
}}
+
'''Alignment:'''
}}
+
{{!}} style="width:70%;" {{!}}
|-
+
{{{alignment}}}}}{{#if: {{{source|}}}|&nbsp;
! style="background-color: #000000; color: #FFFFFF; font-size: 120%;" align="center" colspan="2" padding:4px 0 4px 0" | {{{name}}}
+
{{!}}-
|-
+
{{!}} style="width:30%;" {{!}}
| '''Alignment''' || {{{alignment}}}
+
'''Source Books:'''
|-
+
{{!}} style="width:70%;" {{!}}
| '''[[Creature type|Type]]''' || {{{type}}}
+
{{{source}}}}}{{#if: {{{first|}}}|&nbsp;
|-
+
{{!}}-
{{#if:{{{subtype|}}} |
+
{{!}} style="width:30%;" {{!}}
{{!}} '''Subtype''' {{!}}{{!}} {{{subtype}}}
+
'''First Appearance:'''
}}
+
{{!}} style="width:70%;" {{!}}
|-
+
{{{first}}}}}{{#if: {{{OGL_stats_URL|}}}|&nbsp;
| '''Source books''' || {{{source}}}
+
{{!}}-
|-
+
{{!}} style="width:30%;" {{!}}
| '''First appearance''' || {{{first}}}
+
'''OGL Statistics:'''
|-
+
{{!}} style="width:70%;" {{!}}
{{#if:{{{mythical|}}} |
+
[{{{OGL_stats_URL}}} {{PAGENAME}}]}}{{#if: {{{3.5e stats|}}}|&nbsp;
{{!}} '''Mythological origins''' {{!}}{{!}} {{{mythical}}}
+
{{!}}-
}}
+
{{!}} style="width:30%;" {{!}}
|-
+
'''3.5e Statistics:'''
{{#if:{{{based|}}} |
+
{{!}} style="width:70%;" {{!}}
{{!}} '''Based on''' {{!}}{{!}} {{{based}}}
+
{{{3.5e stats}}}}}{{#if: {{{myth|}}}|&nbsp;
}}
+
{{!}}-
|-
+
{{!}} style="width:30%;" {{!}}
{{#if:{{{wizards_image_URL|}}} |
+
'''Mythological References:'''
{{!}} '''Image''' {{!}}{{!}}[{{{wizards_image_URL}}} Wizards.com image]
+
{{!}} style="width:70%;" {{!}}
}}
+
{{{myth}}}}}{{#if: {{{based|}}}|&nbsp;
|-
+
{{!}}-
{{#if:{{{OGL_stats_URL|}}} |
+
{{!}} style="width:30%;" {{!}}
{{!}} '''Stats''' {{!}}{{!}}[{{{OGL_stats_URL}}} OGL stats]
+
'''Based On:'''
}}
+
{{!}} style="width:70%;" {{!}}
|-
+
{{{based}}}}}{{#if: {{{settings|}}}|&nbsp;
|}<noinclude>
+
{{!}}-
{{-}}
+
{{!}} style="width:30%;" {{!}}
<nowiki>{{</nowiki>Infobox D&D creature
+
'''Settings:'''
  |image=
+
{{!}} style="width:70%;" {{!}}
  |caption=
+
{{#arraymap: {{{settings}}}|,|x|[[Canon:x|x]][[Category:x|{{BASEPAGENAME}}]]}}}}{{#if: {{{wizards_image_URL|}}}|&nbsp;
  |name=
+
{{!}}-
  |alignment=
+
{{!}} style="width:30%;" {{!}}
  |type=
+
'''Additional Image(s):'''
  |subtype=
+
{{!}} style="width:70%;" {{!}}
  |source=
+
[{{{wizards_image_URL}}} Wizards.com image(s)]}}
  |first=
+
|}[[Category:Creature|{{BASEPAGENAME}}]]</includeonly><noinclude>{{documentation}}[[Category:Templates]]</noinclude>
  |mythical=
 
  |based=
 
  |wizards_image_URL=
 
  |OGL_stats_URL=
 
}}
 
 
 
</noinclude>
 

Latest revision as of 06:15, 31 July 2011

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

Contents

This infobox is used for creatures (including character races) found in the Dungeons & Dragons roleplaying game. This infobox should be used for all D&D creatures listed in our Canon section, even those tied to a specific campaign setting.

Usage[edit]

This code:

Apple 

Alignment:

Chaotic Awesome 

Source Books:

Made up 

First Appearance:

Right now 

Mythological References:

none

{{Creature
 |name=Apple
 |image=
 |caption=
 |alignment=Chaotic Awesome
 |source=Made up
 |first=Right now
 |OGL_stats_URL=
 |3.5e stats=
 |myth=none
 |based=
 |settings=
 |wizards_image_URL=
}}

will result in the infobox shown on the right. The various property fields should be filled in with the relevant information, and support wiki links except for the setting 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 automatically. Note that this is a case sensitive field, so please capitalize the campaign setting name appropriately.