Difference between revisions of "Template:Class"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(12 intermediate revisions by 2 users not shown) | |||
Line 25: | Line 25: | ||
|name = Class | |name = Class | ||
|description = This template is used to render information about a Class. Example of the Template in Use: [[Artificer]]. | |description = This template is used to render information about a Class. Example of the Template in Use: [[Artificer]]. | ||
|category = Player Character Templates | |||
|usesnamedparameters = true | |usesnamedparameters = true | ||
|parameter1name = name | |parameter1name = name | ||
Line 77: | Line 78: | ||
|parameter17description = Enter the information about the levels they class gets bonus feats. The list of feats will by auto-generated. | |parameter17description = Enter the information about the levels they class gets bonus feats. The list of feats will by auto-generated. | ||
|parameter17values = | |parameter17values = | ||
|parameter18name = otherinfo | |parameter18name = bonusfeattitle | ||
| | |parameter18description = The title for the bonus feat section. Default is "Bonus Feats". | ||
|parameter19name = otherinfo | |||
|parameter19description = Enter any other information you want displayed after the spells section. Use multiple [[Template:ClassOtherInfo]] | |||
|parameter18values = | |parameter18values = | ||
}}</noinclude> | }}</noinclude> | ||
{{ClassesHeader|{{{name|}}}}} | {{#ifeq: {{FULLPAGENAME}} |Template:Class||{{ClassesHeader|{{{name|}}}}}}} | ||
<div> | <div> | ||
<div class="quest"> | <div class="quest"> | ||
Line 87: | Line 90: | ||
<div class="box inner-box"> | <div class="box inner-box"> | ||
<span class="box-header">'''Class Information'''</span> | <span class="box-header">'''Class Information'''</span> | ||
{{#if: {{{ddopoints|}}}|'''Cost:''' {{formatnum:{{{ddopoints}}}}} [[File:DDOPointsIcon.png|link=DDO | {{#if: {{{ddopoints|}}}|'''Cost:''' {{formatnum:{{{ddopoints}}}}} [[File:DDOPointsIcon.png|link=DDO Point]]<br>{{#if: {{{favorunlock|}}}|'''Favor Unlock:''' {{{favorunlock}}}<br>}}|Free<br>}}{{#if: {{{alignment|}}} |'''Alignment:''' {{{alignment}}}<br>}}{{#if: {{{hitdice|}}} |'''Hit Dice:''' {{{hitdice}}}}}</div> | ||
<div class="box inner-box"><span class="box-header">'''Skills'''</span><br>{{{skillinfo}}}</div> | <div class="box inner-box"><span class="box-header">'''Skills'''</span><br>{{{skillinfo}}}</div> | ||
<div class="box inner-box"><span class="box-header">'''Proficiencies'''</span><br>{{{proficiencies}}}</div> | <div class="box inner-box"><span class="box-header">'''Proficiencies'''</span><br>{{{proficiencies}}}</div> | ||
<div class="box inner-box"><span class="box-header">'''Enhancement Trees'''</span><br>[[{{{enhancementtree1}}}]]<br>{{#if: {{{enhancementtree2|}}}|[[{{{enhancementtree2}}}]]<br>}}{{#if: {{{enhancementtree3|}}}|[[{{{enhancementtree3}}}]]<br>}}{{#if: {{{enhancementtree4|}}}|[[{{{enhancementtree4}}}]]<br>}}{{#if: {{{enhancementtree5|}}}|[[{{{enhancementtree5}}}]]<br>}}</div> | <div class="box inner-box"><span class="box-header">'''Enhancement Trees'''</span><br>[[{{{enhancementtree1}}} Tree|{{{enhancementtree1}}}]]<br>{{#if: {{{enhancementtree2|}}}|[[{{{enhancementtree2}}} Tree|{{{enhancementtree2}}}]]<br>}}{{#if: {{{enhancementtree3|}}}|[[{{{enhancementtree3}}} Tree|{{{enhancementtree3}}}]]<br>}}{{#if: {{{enhancementtree4|}}}|[[{{{enhancementtree4}}} Tree|{{{enhancementtree4}}}]]<br>}}{{#if: {{{enhancementtree5|}}}|[[{{{enhancementtree5}}} Tree|{{{enhancementtree5}}}]]<br>}}</div> | ||
</div> | </div> | ||
<div class="paragraph-header">Overview</div> | <div class="paragraph-header">Overview</div> | ||
<div class="paragraph-body">{{{overview}}}</div | <div class="paragraph-body">{{{overview}}}</div> | ||
<div class="paragraph-header">Past Lives</div> | |||
<div class="paragraph-body"> | <div class="paragraph-body"> | ||
{| class="compendiumtable compendiumtablenonsortable | {| class="compendiumtable compendiumtablenonsortable cellwidth75" | ||
! | ! class="cellwidth10" | Icon || class="cellwidth15" | Feat || class="cellwidth75" | Description | ||
{{#lst:Heroic Past Life Feats|{{lc:{{{name}}}}}}} | {{#lst:Heroic Past Life Feats|{{lc:{{{name}}}}}}} | ||
|} | |} | ||
</div> | </div> | ||
{{#if: {{{advancement|}}}|<div class="paragraph-header">Advancement</div><div class="paragraph-body">{{{advancement}}}</div>}}{{#if: {{{bonusfeatinfo|}}}|<div class="paragraph-header">Bonus Feats</div><div class="paragraph-body">{{{bonusfeatinfo}}}<br><br> | {{#if: {{{spellinfo|}}}|<div class="paragraph-header">Spells</div><div class="paragraph-body"> | ||
{{#DPL: | : ''See Also: [[{{{name}}} Spells]]'' | ||
{{{spellinfo}}}</div>}}{{#if: {{{otherinfo|}}}|{{{otherinfo}}}}}{{#if: {{{notes|}}}|<div class="paragraph-header">Notes</div><div class="paragraph-body"> | |||
{{{notes}}}</div>}}{{#if: {{{advancement|}}}|<div class="paragraph-header">Advancement</div><div class="paragraph-body">{{{advancement}}}</div>}}{{#if: {{{bonusfeatinfo|}}}|<div class="paragraph-header">{{{bonusfeattitle|Bonus Feats}}}</div><div class="paragraph-body">{{{bonusfeatinfo}}}<br><br> | |||
<div style="-webkit-column-count:3;column-count:3;">{{#DPL: | |||
|category={{{name}}} Bonus Feats | |category={{{name}}} Bonus Feats | ||
|ordermethod=title | |||
|uses = Template:Feat | |uses = Template:Feat | ||
|noresultsheader=None | |noresultsheader=None | ||
}}</div>}} | }}</div></div>}} | ||
=== Class Feats === | === Class Feats === | ||
{{:Category:{{{name}}} Class Feats}} | {{:Category:{{{name}}} Class Feats}} | ||
</div> | </div> | ||
</div> | </div> |
Latest revision as of 19:24, 20 March 2022
{{Template:Class |name = |alignment= |ddopoints= |favorunlock= |hitdice= |skillinfo= |proficiencies= |enhancementtree1= |enhancementtree2= |enhancementtree3= |enhancementtree4= |enhancementtree5= |advancement= |spellinfo= |overview= |notes = |bonusfeatinfo= |otherinfo= }}
Class[edit]
This template is used to render information about a Class. Example of the Template in Use: Artificer.
Usage[edit]
Parameter Documentation | |
name | The class name. |
alignment | What alignments are possible for this class, leave blank |
ddopoints | The cost of this class if it is not free |
favorunlock | Informaiton about a favor unlock for this class |
hitdice | The base hit dice for the class. |
skillinfo | Enter the information about the skills points and class skills. Use Template:ClassSkillInfo |
proficiencies | Enter the weapon and armor proficiencies this class gets by default. Use Template:ClassProficiencies |
enhancementtree1 | Name of the first enhancement tree. |
enhancementtree2 | Name of the second enhancement tree. |
enhancementtree3 | Name of the third enhancement tree. |
enhancementtree4 | Name of the fourth enhancement tree. |
enhancementtree5 | Name of the fifth enhancement tree. |
advancement | Enter the advancement information. Use Template:ClassAdvancementTableHeader followed by 20 Template:ClassAdvancementTableLevel |
spellinfo | Information about the spells |
overview | Overview of the class |
notes | Any note |
bonusfeatinfo | Enter the information about the levels they class gets bonus feats. The list of feats will by auto-generated. |
bonusfeattitle | The title for the bonus feat section. Default is "Bonus Feats". |
otherinfo | Enter any other information you want displayed after the spells section. Use multiple Template:ClassOtherInfo |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
Class Information
FreeSkills
{{{skillinfo}}}
{{{skillinfo}}}
Proficiencies
{{{proficiencies}}}
{{{proficiencies}}}
Enhancement Trees
[[{{{enhancementtree1}}} Tree|{{{enhancementtree1}}}]]
[[{{{enhancementtree1}}} Tree|{{{enhancementtree1}}}]]
Overview
{{{overview}}}
Past Lives
Icon | Feat | Description |
---|
Class Feats[edit]
{{:Category:{{{name}}} Class Feats}}