Template:Infobox character class/doc
| This is a documentation subpage for Template:Infobox character class. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
[edit]| {{{name}}} | |
|---|---|
| Dungeons & Dragons character class | |
| [[File:{{{image}}}|frameless|alt={{{alt}}}]] {{{caption}}} | |
| Editions | |
| {{{editions}}} | |
| Standard class | {{{standardeditions}}} |
| Alternate class | {{{alternateeditions}}} |
| First appearance | {{{first}}} |
| Source books |
|
| Previous name | {{{old_name1}}} |
| Inspiration | |
| Mythological origins | {{{mythical}}} |
| Based on | {{{based}}} |
| Grouping | |
| 1E base class | {{{1E_base}}} |
| 2E group | {{{2E_group}}} |
| 4E powersource | {{{4E_powersource}}} |
| 4E role | {{{4E_role}}} |
| 5E base class | {{{5E_base}}} |
All fields except name are optional.
{{infobox D&D character class
| name = <!-- Class name or names -->
| old_name1 =
| image =
| image_upright =
| caption =
| alt =
| series = <!-- For using with classes that do not appear in D&D -->
| first = <!-- First appearance of the class -->
| 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 -->
* <!-- Sourcebooks the class is presented in -->
| mythical = <!-- Mythological basis of the class -->
| based = <!-- Other creative origins of the class -->
| 1E_base =
| 2E_group =
| 4E_powersource =
| 4E_role =
| 5E_base =
}}
Parameters
[edit]All parameters are optional.
| Parameter | Notes |
|---|---|
| name | The character class name to display in top header; use the most recent name for the class. |
| series | For classes that do not appear in Dungeons & Dragons. If unused, will default to Dungeons & Dragons. |
| old_name1 | Previous names for the character class; include the edition(s) the old name was used in. |
| image | Image of the class. "File:" and wikilinking is not required; i.e. use |image=Example.png. |
| image_upright | The image size defaults to frameless (220px). The size should not be set to a value that would result in an image width greater than 270px. |
| caption | A caption explaining the image. |
| alt | Alt text for image per WP:MOSALT. |
| first | First appearance of the character class. Include publication year and wikilink if possible. |
| editions | If a character class has appeared in all editions, but was an alternate class in some of them, use both the |editions= and |alternateeditions= parameters. |
| standardeditions | If a class has only appeared as a standard class, only use the |standardeditions= parameter. If a class has appeared as both a standard and alternate class but has not appeared in all editions, use the |standardeditions= and |alternateeditions= parameters. |
| alternateeditions | If a class has only appeared as an alternate class, only use the |alternateeditions= parameter.If a class has appeared as both a standard and alternate class but has not appeared in all editions, use the |standardeditions= and |alternateeditions= parameters. |
| source | An edition's major sourcebooks where the class is presented in the book; see also major work. Include publication year and wikilink if possible. |
| mythical | Mythological basis of the class. Can be used in conjunction with |based=. |
| based | Other creative origins the class is based on. Can be used in conjunction with |mythical=. |
| 1E_base | Principal base class in 1st Edition. |
| 2E_group | AD&D 2nd Edition character classes are divided into four groups: Warrior, Wizard, Priest, and Rogue. |
| 4E_powersource | D&D 4th Edition character classes draw on different power sources for their abilities: Arcane, Divine, Martial, Primal, Psionic, and Shadow. |
| 4E_role | D&D 4th Edition character classes are divided into four combat roles: Leader, Controller, Defender and Striker. |
TemplateData
[edit]
Infobox for a Dungeons & Dragons character class.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | Name of the character class
| String | required |
| Old name | old_name1 | Old name for the class in a previous edition | String | optional |
| Image | image | Image representing the character class | File | suggested |
| Caption | caption | Caption for the image | String | suggested |
| Alt text | alt | Alternative text for the image | String | suggested |
| First appearance | first | First appearance of the class
| String | suggested |
| Editions | editions | Editions of D&D the class has appeared in.
| String | deprecated |
| Standard editions | standardeditions | Editions in which the class has appeared as a standard class. If the class has only ever appeared as a standard class, use this parameter only.
| String | optional |
| Alternate editions | alternateeditions | Editions in which this class has appeared as an alternate class. If this class has only ever appeared as an alternate class, use this parameter only.
| String | optional |
| Sourcebook | source | The sourcebook(s) that detail(s) this class. | String | optional |
| Mythological origins | mythical | Mythological thing(s) that this class is based on. Can be used in conjunction with the based on parameter.
| String | optional |
| Based on | based | Anything that this class is based on.
| String | optional |
| 1e base class | 1E_base | Principal base class for this class in first edition, if this class was in first edition.
| String | optional |
| 2e group | 2E_group | Group that this class belonged to in AD&D 2nd edition.
| String | optional |
| 4e power source | 4E_powersource | Power source that this class drew on in fourth edition.
| String | optional |
| 4e combat role | 4E_role | Combat role that this class had in 4th edition.
| String | optional |
| Old name | old_name2 | Additional old name for the class in a previous edition | String | optional |