Difference between revisions of "Template:ClassAdvancementTableHeader"

From DDO Compendium
Line 16: Line 16:
<table class="wikitable" style="color: white; background-color:#3a3f44; width: 70%;">
<table class="wikitable" style="color: white; background-color:#3a3f44; width: 70%;">
<tr>
<tr>
<td colspan=""{{#if: {{{11|}}}|16|{{#if: {{{10|}}}|15|{{#if: {{{9|}}}|14|{{#if: {{{8|}}}|13|{{#if: {{{7|}}}|12|{{#if: {{{6|}}}|11|{{#if: {{{5|}}}|10|{{#if: {{{4|}}}|9|{{#if: {{{3|}}}|8|{{#if: {{{2|}}}|7}}}}}}}}}}}}}}}}}}}}">
<td colspan="{{#if: {{{11|}}}|16|{{#if: {{{10|}}}|15|{{#if: {{{9|}}}|14|{{#if: {{{8|}}}|13|{{#if: {{{7|}}}|12|{{#if: {{{6|}}}|11|{{#if: {{{5|}}}|10|{{#if: {{{4|}}}|9|{{#if: {{{3|}}}|8|{{#if: {{{2|}}}|7}}}}}}}}}}}}}}}}}}}}">
{{{1}}}
{{{1}}}
</td>
</td>
{{#ifexpr: {{{0|0}}} > 0| <td colspan="{{#expr: {{{0}}}+1}}">Spell Information</td>}}
{{#ifexpr: {{{0|0}}} > 0 | <td colspan="{{#expr: {{{0}}}+1}}">Spell Information</td>}}
</tr>
</tr>
<tr>
<tr>

Revision as of 15:47, 1 June 2018


ClassAdvancementTableHeader[edit]

This template is used to render the header for the advancement table. The first 4 columns are predefined (level, bab, fort, reflex, will, ) This will add others

Usage[edit]

{{ClassAdvancementTableHeader|(Spell Levels)|(Class Name)|(column name)}}

Parameter Documentation
Spell LevelsThe number of spell levels, if blank there are none.
Class NameThe name of the class
column nameThe name of the column - This can be repeated 10 times

Template

Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.







{{#ifexpr: 0 > 0|

{{{1}}}

Level Base Attack Bonus Fort Save Reflex Save Will Save Autogranted Spell Points