Difference between revisions of "Template:Class"

From DDO Compendium
 
(25 intermediate revisions by 2 users not shown)
Line 12: Line 12:
|enhancementtree2=
|enhancementtree2=
|enhancementtree3=
|enhancementtree3=
|enhancementtree4=
|enhancementtree5=
|advancement=
|advancement=
|spellinfo=
|spellinfo=
Line 17: Line 19:
|notes =  
|notes =  
|bonusfeatinfo=
|bonusfeatinfo=
|otherinfo=
}}
}}
</pre>
</pre>
Line 22: 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 53: Line 57:
|parameter10description = Name of the third enhancement tree.
|parameter10description = Name of the third enhancement tree.
|parameter10values =  
|parameter10values =  
|parameter11name = advancement
|parameter11name = enhancementtree4
|parameter11description = Enter the advancement information. Use [[Template:ClassAdvancementTableHeader]] followed by 20 [[Template:ClassAdvancementTableLevel]]
|parameter11description = Name of the fourth enhancement tree.
|.parameter11values =  
|parameter11values =  
|parameter12name = spellinfo
|parameter12name = enhancementtree5
|parameter12description = Information about the spells
|parameter12description = Name of the fifth enhancement tree.
|parameter12values =  
|parameter12values =  
|parameter13name = overview
|parameter13name = advancement
|parameter13description = Overview of the class
|parameter13description = Enter the advancement information.  Use [[Template:ClassAdvancementTableHeader]] followed by 20 [[Template:ClassAdvancementTableLevel]]
|parameter13values =  
|parameter13values =  
|parameter14name = notes
|parameter14name = spellinfo
|parameter14description = Any note
|parameter14description = Information about the spells
|parameter14values =  
|parameter14values =  
|parameter15name = bonusfeatinfo
|parameter15name = overview
|parameter15description = Enter the information about the levels they class gets bonus feats.  The list of feats will by auto-generated.
|parameter15description = Overview of the class
|parameter15values =  
|parameter15values =  
|parameter16name = otherinfo
|parameter16name = notes
|parameter16description = Enter any other information you want displayed after the spells section. Use multiple [[Template:ClassOtherInfo]]
|parameter16description = Any note
|parameter16values =  
|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 78: 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 87: 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="wikitable" style="color: white; background-color:#3a3f44; width: 70%;"
{| class="compendiumtable compendiumtablenonsortable cellwidth75"
! style="width: 10%;"| Icon || style="width: 15%;"| Feat || style="width:75%;"| Description
! class="cellwidth10" | Icon || class="cellwidth15" | Feat || class="cellwidth75" | Description
{{#lst:Heroic Past Live Feats|{{lc:{{{name}}}}}}}
{{#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}}} spells]]''
: ''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">{{{advancement}}}</div>}}
{{#if: {{{bonusfeatinfo|}}}|<div class="paragraph-header">Bonus Feats</div><div class="paragraph-body">{{{bonusfeatinfo}}}<br><br>
{{#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 ===
{{: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
nameThe class name.
alignmentWhat alignments are possible for this class, leave blank
ddopointsThe cost of this class if it is not free
favorunlockInformaiton about a favor unlock for this class
hitdiceThe base hit dice for the class.
skillinfoEnter the information about the skills points and class skills. Use Template:ClassSkillInfo
proficienciesEnter the weapon and armor proficiencies this class gets by default. Use Template:ClassProficiencies
enhancementtree1Name of the first enhancement tree.
enhancementtree2Name of the second enhancement tree.
enhancementtree3Name of the third enhancement tree.
enhancementtree4Name of the fourth enhancement tree.
enhancementtree5Name of the fifth enhancement tree.
advancementEnter the advancement information. Use Template:ClassAdvancementTableHeader followed by 20 Template:ClassAdvancementTableLevel
spellinfoInformation about the spells
overviewOverview of the class
notesAny note
bonusfeatinfoEnter the information about the levels they class gets bonus feats. The list of feats will by auto-generated.
bonusfeattitleThe title for the bonus feat section. Default is "Bonus Feats".
otherinfoEnter 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

Free
Skills
{{{skillinfo}}}
Proficiencies
{{{proficiencies}}}
Enhancement Trees
[[{{{enhancementtree1}}} Tree|{{{enhancementtree1}}}]]
Overview
{{{overview}}}
Past Lives
Icon Feat Description

Class Feats[edit]

{{:Category:{{{name}}} Class Feats}}