Difference between revisions of "Template:Class"

From ALFA
Jump to: navigation, search
(Added prerequisites for BAB, feats, skills, and others.)
 
(25 intermediate revisions by the same user 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="infoPane"
 
|-
 
|-
{{ #if:{{{image|}}}|
+
{{ #if:{{{Image|}}}|{{!}} colspan="2" {{!}} {{{Image}}} }}
{{!}} align="center" colspan="2" {{!}} {{{image}}}
 
{{!}}-
 
{{#if:{{{caption<includeonly>|</includeonly>}}}|
 
{{!}} colspan=2 style="text-align: center; font-size: smaller;" {{!}} <noinclude>&dagger;&nbsp;</noinclude>{{{caption}}}
 
}}
 
}}
 
 
|-
 
|-
! align="center" colspan="2" style="background-color: navajowhite; color: groove sienna; font-size:larger; padding:4px 0 4px 0" | {{{name}}}
+
! colspan="2" | {{{Name}}}
 
|-  
 
|-  
! valign="top" | [[Hit Die]]
+
| [[Hit Die]]
 
| {{{HitDie}}}
 
| {{{HitDie}}}
 
|-
 
|-
! valign="top" | [[Skills]]
+
| [[Skills]]
 
| {{{Skills}}} + [[Intelligence | INT]]
 
| {{{Skills}}} + [[Intelligence | INT]]
 
|-
 
|-
! valign="top" | [[Proficiencies]]
+
| [[Proficiency | Proficiencies]]
 
| {{{Proficiencies}}}
 
| {{{Proficiencies}}}
 
|-
 
|-
! valign="top" | Class Skills
+
| Class Skills
 
| {{{ClassSkills}}}
 
| {{{ClassSkills}}}
 +
|- class="section"
 +
{{ #ifeq:{{{Requirements|}}}|Yes|
 +
! colspan="2" {{!}} Requirements
 +
}}
 +
|-
 +
{{ #if:{{{ReqBAB|}}}|
 +
{{!}} [[Base Attack Bonus | BAB]]
 +
{{!}} align="right" {{!}} {{{ReqBAB}}}
 +
}}
 +
|-
 +
{{ #if:{{{ReqFeats|}}}|
 +
{{!}} [[Feat]]s
 +
{{!}} align="right" {{!}} {{{ReqFeats}}}
 +
}}
 +
|-
 +
{{ #if:{{{ReqSkills|}}}|
 +
{{!}} [[Skill]]s
 +
{{!}} align="right" {{!}} {{{ReqSkills}}}
 +
}}
 
|-
 
|-
{{ #ifeq:{{{Requirements|}}}|Yes|
+
{{ #if:{{{ReqOther|}}}|
! align="center" colspan="2" style="background-color: navajowhite; color: groove sienna; font-size:larger; padding:4px 0 4px 0" | Requirements
+
{{!}} Other
 +
{{!}} align="right" {{!}} {{{ReqOther}}}
 +
}}
 
|-
 
|-
 +
{{ #if:{{{ReqAlignment|}}}|
 +
{{!}} Alignment
 +
{{!}} align="right" {{!}} {{{ReqAlignment}}}
 
}}
 
}}
 +
|-
 
{{ #if:{{{Source|}}}|
 
{{ #if:{{{Source|}}}|
{{!}} colspan="2" style="font-size:smaller; text-align:right" {{!}} <hr> ''Source: {{{Source}}}{{ #if: {{{SourcePage|}}} |, p. {{{SourcePage}}} }}
+
{{!}} colspan="2" class="minor" {{!}} <hr> Source: {{{Source}}}{{ #if: {{{SourcePage|}}} |, p. {{{SourcePage}}} }}
 
}}
 
}}
 
|-
 
|-
|}
+
|}</includeonly><noinclude>[[Category:Templates]]
 +
[[Category:Content Templates]]
 +
This template will display information on a [[Class]] available in ''[[A Land Far Away]]''.
 +
 
 +
== Usage ==
 +
: ''See also: [[Template:AlignmentGrid|Alignment Grid Template]]''
 +
To include this template on a page, simply type the following where you want it to display. Note that ''italicized'' lines are optional. Content templates typically go at the top of pages.
 +
<nowiki>{{Class</nowiki>
 +
''| Image = <nowiki>[[Image:Class_Druid.jpg|256px|Druid]]</nowiki>''
 +
| Name = Druid
 +
| HitDie = d8
 +
| Skills = 4
 +
| Proficiencies = <nowiki>[[Club]], [[Dagger]], [[Dart]], [[Quarterstaff]], [[Light Armor]], [[Medium Armor]], [[Shield]]</nowiki>
 +
| ClassSkills = <nowiki>[[Concentration]], [[Craft]], [[Diplomacy]], [[Handle Animal]], [[Heal (Skill)|Heal]]</nowiki>
 +
''| Requirements = Yes''
 +
''| ReqAlignment = <nowiki>{{AlignmentGrid|n|y|n|y|y|y|n|y|n}}</nowiki>''
 +
''| Source = <nowiki>[[Player's Handbook]]</nowiki>''
 +
''| SourcePage = 33-7''
 +
}}
 +
 
 +
== Preview ==
 +
{{Class
 +
| Image = [[Image:Class_Druid.jpg|256px|Druid]]
 +
| Name = Druid
 +
| HitDie = d8
 +
| Skills = 4
 +
| Proficiencies = [[Club]], [[Dagger]], [[Dart]], [[Quarterstaff]], [[Scimitar]], [[Sickle]], [[Sling]], [[Spear]], [[Light Armor]], [[Medium Armor]], [[Shield]]
 +
| ClassSkills = [[Concentration]], [[Craft]], [[Diplomacy]], [[Handle Animal]], [[Heal]], [[Knowledge]] (Nature), [[Listen]], [[Profession]], [[Ride]], [[Spellcraft]], [[Spot]], [[Survival]], [[Swim]]
 +
| Requirements = Yes
 +
| ReqAlignment = {{AlignmentGrid|n|y|n|y|y|y|n|y|n}}
 +
| Source = [[Player's Handbook]]
 +
| SourcePage = 33-7
 +
}}
 +
</noinclude>

Latest revision as of 18:56, 12 May 2014

This template will display information on a Class available in A Land Far Away.

Usage

See also: Alignment Grid Template

To include this template on a page, simply type the following where you want it to display. Note that italicized lines are optional. Content templates typically go at the top of pages.

{{Class
| Image = [[Image:Class_Druid.jpg|256px|Druid]]
| Name = Druid
| HitDie = d8
| Skills = 4
| Proficiencies = [[Club]], [[Dagger]], [[Dart]], [[Quarterstaff]], [[Light Armor]], [[Medium Armor]], [[Shield]]
| ClassSkills = [[Concentration]], [[Craft]], [[Diplomacy]], [[Handle Animal]], [[Heal (Skill)|Heal]]
| Requirements = Yes
| ReqAlignment = {{AlignmentGrid|n|y|n|y|y|y|n|y|n}}
| Source = [[Player's Handbook]]
| SourcePage = 33-7
}}

Preview

Druid
Druid
Hit Die d8
Skills 4 + INT
Proficiencies Club, Dagger, Dart, Quarterstaff, Scimitar, Sickle, Sling, Spear, Light Armor, Medium Armor, Shield
Class Skills Concentration, Craft, Diplomacy, Handle Animal, Heal, Knowledge (Nature), Listen, Profession, Ride, Spellcraft, Spot, Survival, Swim
Requirements
Alignment
LG NG CG
LN N CN
LE NE CE

Source: Player's Handbook, p. 33-7