Difference between revisions of "Template:Infobox D&D character class"
imported>Thumperward (rv width increase. the standard infobox width should be adequate in most cases; 33em is significantly wider than most, and doesn't seem to be necessary) |
imported>Thumperward (tweaks, per discussion at WT:DND) |
||
| Line 7: | Line 7: | ||
| header1 = Characteristics | | header1 = Characteristics | ||
| − | | label2 = | + | | label2 = {{#if:{{{secondaryrole|}}}|Primary r|R}}ole}} |
| data2 = {{{role<includeonly>|</includeonly>}}} | | data2 = {{{role<includeonly>|</includeonly>}}} | ||
| − | |||
| − | |||
| label4 = Secondary role | | label4 = Secondary role | ||
| data4 = {{{secondaryrole<includeonly>|</includeonly>}}} | | data4 = {{{secondaryrole<includeonly>|</includeonly>}}} | ||
| Line 22: | Line 20: | ||
| label8 = Editions | | label8 = Editions | ||
| data8 = {{{editions<includeonly>|</includeonly>}}} | | data8 = {{{editions<includeonly>|</includeonly>}}} | ||
| − | | label9 = | + | | label9 = (as a standard class) |
| data9 = {{{standardeditions<includeonly>|</includeonly>}}} | | data9 = {{{standardeditions<includeonly>|</includeonly>}}} | ||
| − | | label10 = | + | | label10 = (as an alternate class) |
| data10 = {{{alternateeditions<includeonly>|</includeonly>}}} | | data10 = {{{alternateeditions<includeonly>|</includeonly>}}} | ||
| label11 = Source books | | label11 = Source books | ||
Revision as of 09:35, 17 December 2008
| {{{image}}} {{{caption}}} | |
| Characteristics |
|---|
[[Category:Infobox templates|Template:Remove first word]]
| data2 = {{{role}}} | label4 = Secondary role | data4 = {{{secondaryrole}}} | label5 = Power source | data5 = {{{power}}} | label6 = Alignment | data6 = {{{alignment}}}
| header7 = Publication history
| label8 = Editions | data8 = {{{editions}}} | label9 = (as a standard class) | data9 = {{{standardeditions}}} | label10 = (as an alternate class) | data10 = {{{alternateeditions}}} | label11 = Source books | data11 = {{{source}}} | label12 = First appearance | data12 = {{{first}}} | label13 = Mythological origins | data13 = {{{mythical}}} | label14 = Based on | data14 = {{{based}}} | label15 = Image | data15 = [{{{wizards_image_URL}}} Wizards.com image] | label16 = Stats | data16 = [{{{OGL_stats_URL}}} OGL stats]
}}
Usage
| {{{image}}} {{{caption}}} | |
| Characteristics |
|---|
| data2 = | label4 = Secondary role | data4 = | label5 = Power source | data5 = | label6 = Alignment | data6 =
| header7 = Publication history
| label8 = Editions | data8 = {{{editions}}} | label9 = (as a standard class) | data9 = {{{standardeditions}}} | label10 = (as an alternate class) | data10 = {{{alternateeditions}}} | label11 = Source books | data11 = {{{source}}} | label12 = First appearance | data12 = {{{first}}} | label13 = Mythological origins | data13 = {{{mythical}}} | label14 = Based on | data14 = {{{based}}} | label15 = Image | data15 = | label16 = Stats | data16 =
}} 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
| The above documentation is transcluded from Template:Infobox D&D character class/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |