Difference between revisions of "Template:Class"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(30 intermediate revisions by 2 users not shown) | |||
Line 12: | Line 12: | ||
|enhancementtree2= | |enhancementtree2= | ||
|enhancementtree3= | |enhancementtree3= | ||
|enhancementtree4= | |||
|enhancementtree5= | |||
|advancement= | |advancement= | ||
|spellinfo= | |spellinfo= | ||
|overview= | |overview= | ||
|notes = | |notes = | ||
|bonusfeatinfo= | |||
|otherinfo= | |||
}} | }} | ||
</pre> | </pre> | ||
Line 21: | 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 52: | Line 57: | ||
|parameter10description = Name of the third enhancement tree. | |parameter10description = Name of the third enhancement tree. | ||
|parameter10values = | |parameter10values = | ||
|parameter11name = | |parameter11name = enhancementtree4 | ||
|parameter11description = | |parameter11description = Name of the fourth enhancement tree. | ||
|parameter11values = | |parameter11values = | ||
|parameter12name = | |parameter12name = enhancementtree5 | ||
|parameter12description = | |parameter12description = Name of the fifth enhancement tree. | ||
|parameter12values = | |parameter12values = | ||
|parameter13name = | |parameter13name = advancement | ||
|parameter13description = | |parameter13description = Enter the advancement information. Use [[Template:ClassAdvancementTableHeader]] followed by 20 [[Template:ClassAdvancementTableLevel]] | ||
|parameter13values = | |parameter13values = | ||
|parameter14name = | |parameter14name = spellinfo | ||
|parameter14description = | |parameter14description = Information about the spells | ||
|parameter14values = | |parameter14values = | ||
|parameter15name = overview | |||
|parameter15description = Overview of the class | |||
|parameter15values = | |||
|parameter16name = notes | |||
|parameter16description = Any note | |||
|parameter16values = | |||
|parameter17name = bonusfeatinfo | |||
|parameter17description = Enter the information about the levels they class gets bonus feats. The list of feats will by auto-generated. | |||
|parameter17values = | |||
|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 = | |||
}}</noinclude> | }}</noinclude> | ||
{{ClassesHeader|{{{name|}}}}} | {{#ifeq: {{FULLPAGENAME}} |Template:Class||{{ClassesHeader|{{{name|}}}}}}} | ||
<div> | <div> | ||
<div class="quest"> | <div class="quest"> | ||
Line 71: | 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:''' {{{ddopoints}}}<br>{{#if: {{{favorunlock|}}}|'''Favor Unlock:''' {{{favorunlock}}}<br>}}|Free<br>}}{{#if: {{{alignment|}}} |'''Alignment:''' {{{alignment}}}<br>}}{{#if: {{{hitdice|}}} |'''Hit Dice:''' {{{hitdice}}}}}</div> | {{#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>}}</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> | ||
Line 80: | Line 99: | ||
<div class="paragraph-header">Past Lives</div> | <div class="paragraph-header">Past Lives</div> | ||
<div class="paragraph-body"> | <div class="paragraph-body"> | ||
{| class=" | {| class="compendiumtable compendiumtablenonsortable cellwidth75" | ||
! | ! class="cellwidth10" | Icon || class="cellwidth15" | Feat || class="cellwidth75" | Description | ||
{{#lst:Heroic Past | {{#lst:Heroic Past Life Feats|{{lc:{{{name}}}}}}} | ||
|} | |} | ||
</div> | </div> | ||
{{#if: {{{spellinfo|}}}|<div class="paragraph-header">Spells</div><div class="paragraph-body"> | {{#if: {{{spellinfo|}}}|<div class="paragraph-header">Spells</div><div class="paragraph-body"> | ||
: ''See Also: [[{{{name}}} | : ''See Also: [[{{{name}}} Spells]]'' | ||
{{{spellinfo}}}</div>}} | {{{spellinfo}}}</div>}}{{#if: {{{otherinfo|}}}|{{{otherinfo}}}}}{{#if: {{{notes|}}}|<div class="paragraph-header">Notes</div><div class="paragraph-body"> | ||
{{#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> | ||
{{{notes}}}</div>}} | <div style="-webkit-column-count:3;column-count:3;">{{#DPL: | ||
{{#if: {{{advancement|}}}|<div class="paragraph-header">Advancement</div><div class="paragraph-body"> | |category={{{name}}} Bonus Feats | ||
{{{ | |ordermethod=title | ||
|uses = Template:Feat | |||
|noresultsheader=None | |||
}}</div></div>}} | |||
=== 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}}