Difference between revisions of "Template:Infobox D&D character class"

From blackwiki
Jump to navigation Jump to search
imported>Oknazevad
(No need for the empty header after that.)
imported>Oknazevad
(Remove no longer valid parameters, put first appearance, well, first.)
Line 6: Line 6:
 
| labelstyle = white-space: nowrap
 
| labelstyle = white-space: nowrap
  
<!--| header1 = {{#if:{{{role|}}}{{{secondaryrole|}}}{{{power|}}}{{{alignment|}}}|Characteristics}}
+
| header1 = A ''Dungeons & Dragons'' character class
 
 
| label2  = {{#if:{{{secondaryrole|}}}|Primary r|R}}ole
 
| data2  = {{{role|}}}
 
| label3  = Secondary role
 
| data3  = {{{secondaryrole|}}}
 
| label4  = Power source
 
| data4  = {{{power|}}}
 
| label5  = Alignment
 
| data5  = {{{alignment|}}}-->
 
  
 
| header6 = {{#if:{{{editions|}}}{{{source|}}}{{{first|}}}|Publication history}}
 
| header6 = {{#if:{{{editions|}}}{{{source|}}}{{{first|}}}|Publication history}}
  
| label7  = Editions
+
| label7 = First appearance
| data7  = {{{editions|}}}{{#if:{{{standardeditions|}}}{{{alternateeditions|}}}|<nowiki />}}
+
| data7 = {{{first|}}}
| label8  = <small>(as a standard class)</small>
+
| label8 = Editions
| data8  = {{{standardeditions|}}}
+
| data8  = {{{editions|}}}{{#if:{{{standardeditions|}}}{{{alternateeditions|}}}|<nowiki />}}
| label9 = <small>(as an alternate class)</small>
+
| label9 = <small>(as a standard class)</small>
| data9   = {{{alternateeditions|}}}
+
| data9 = {{{standardeditions|}}}
| label10 = Source books
+
| label10 = <small>(as an alternate class)</small>
| data10 = {{{source|}}}
+
| data10   = {{{alternateeditions|}}}
| label11 = First appearance
+
| label11 = Source books
| data11  = {{{first|}}}
+
| data11 = {{{source|}}}
 
| label12 = Mythological origins
 
| label12 = Mythological origins
 
| data12  = {{{mythical|}}}
 
| data12  = {{{mythical|}}}

Revision as of 18:09, 3 July 2015

A Dungeons & Dragons character class

[[Category:Infobox templates|Template:Remove first word]]

Template documentation[view] [edit] [history] [purge]

Usage

{{{name}}}
[[File:{{{image}}}|frameless]]
{{{caption}}}
A Dungeons & Dragons character class
Publication history
First appearance{{{first}}}
Editions{{{editions}}}
(as a standard class){{{standardeditions}}}
(as an alternate class){{{alternateeditions}}}
Source books{{{source}}}
Mythological origins{{{mythical}}}
Based on{{{based}}}
[[Category:Infobox templates|Template:Remove first word]]

All fields except name are optional.

{{infobox D&D character class
| name              = <!-- Class name or names -->
| image             = 
| caption           = 
| editions          = <!-- All editions the class has appeared in -->
| standardeditions  = <!-- Editions as a standard class -->
| alternateeditions = <!-- Editions as an alternate class -->
| source            = <!-- Sourcebooks the class is presented in -->
| first             = <!-- First appearance of the class -->
| mythical          = <!-- Mythological basis of the class -->
| based             = <!-- Other creative origins of the class -->
}}
Edition parameters

If a class has only appeared as a standard class, only use the standardeditions parameter. If a class has only appeared as an alternate class, only use the alternateeditions paremeter. If a class has appeared in all editions, but was an alternate class in some of them, use both the editions and alternateeditions parameters. If a class has appeared as both a standard and alternate class but has not appeared in all editions, use the standardeditions and alternateeditions.

See also