Difference between revisions of "Template:ClassAdvancementTableHeader"

From DDO Compendium
Line 14: Line 14:
|parameter2values =  
|parameter2values =  
}}</noinclude>
}}</noinclude>
{| class="wikitable" style="color: white; background-color:#3a3f44; width: 70%;"
{| class="wikitable" style="color: white; background-color:#3a3f44; width: 70%;"
| colspan="{{#if: {{{10|}}}|16|{{#if: {{{9|}}}|15|{{#if: {{{8|}}}|14|{{#if: {{{7|}}}|13|{{#if: {{{6|}}}|12|{{#if: {{{5|}}}|11|{{#if: {{{4|}}}|10|{{#if: {{{3|}}}|9|{{#if: {{{2|}}}|8|{{#if: {{{1|}}}|7}}}}}}}}}}}}}}}}}}}}" | {{{2}}}{{#ifexpr: {{{1|0}}} > 0| {{!}} colspan="{{#expr: {{{1}}}+1}}" {{!}} "Spells"
| colspan="{{#if: {{{10|}}}|16|{{#if: {{{9|}}}|15|{{#if: {{{8|}}}|14|{{#if: {{{7|}}}|13|{{#if: {{{6|}}}|12|{{#if: {{{5|}}}|11|{{#if: {{{4|}}}|10|{{#if: {{{3|}}}|9|{{#if: {{{2|}}}|8|{{#if: {{{1|}}}|7}}}}}}}}}}}}}}}}}}}}" | {{{2}}}{{#ifexpr: {{{1|0}}} > 0| {{!}} colspan="{{#expr: {{{1}}}+1}}" {{!}} "Spells"
|-
|-
Level | Base Attack Bonus | Fort Save| Reflex Save| Will Save| Autogranted{{#if: {{{1|}}}|{{!}}{{{1}}}}}{{#if: {{{2|}}}|{{!}}{{{2}}}}}{{#if: {{{3|}}}|{{!}}{{{3}}}}}{{#if: {{{4|}}}|{{!}}{{{4}}}}}{{#if: {{{5|}}}|{{!}}{{{5}}}}}{{#if: {{{6|}}}|{{!}}{{{6}}}}}{{#if: {{{7|}}}|{{!}}{{{7}}}}}{{#if: {{{8|}}}|{{!}}{{{8}}}}}{{#if: {{{9|}}}|{{!}}{{{9}}}}}{{#if: {{{10|}}}|{{!}}{{{10}}}}}{{#ifexpr: {{{1|0}}} > 0|{{!}}Spell Points {{#ifexpr: {{{1}}} = 1|{{!}}1st}}{{#ifexpr: {{{1}}} = 2|{{!}}1st{{!}}2nd}}{{#ifexpr: {{{1}}} = 3|{{!}}1st{{!}}2nd{{!}}3rd}}{{#ifexpr: {{{1}}} = 4|{{!}}1st{{!}}2nd{{!}}3rd{{!}}4th}}{{#ifexpr: {{{1}}} = 5|{{!}}1st{{!}}2nd{{!}}3rd{{!}}4th{{!}}5th}}{{#ifexpr: {{{1}}} = 6|{{!}}1st{{!}}2nd{{!}}3rd{{!}}4th{{!}}5th{{!}}6th}}{{#ifexpr: {{{1}}} = 7|{{!}}1st{{!}}2nd{{!}}3rd{{!}}4th{{!}}5th{{!}}6th{{!}}7th}}{{#ifexpr: {{{1}}} = 8|{{!}}1st{{!}}2nd{{!}}3rd{{!}}4th{{!}}5th{{!}}6th{{!}}7th{{!}}8th}}{{#ifexpr: {{{1}}} = 9|{{!}}1st{{!}}2nd{{!}}3rd{{!}}4th{{!}}5th{{!}}6th{{!}}7th{{!}}8th{{!}}9th}}
Level | Base Attack Bonus | Fort Save| Reflex Save| Will Save| Autogranted{{#if: {{{1|}}}|{{!}}{{{1}}}}}{{#if: {{{2|}}}|{{!}}{{{2}}}}}{{#if: {{{3|}}}|{{!}}{{{3}}}}}{{#if: {{{4|}}}|{{!}}{{{4}}}}}{{#if: {{{5|}}}|{{!}}{{{5}}}}}{{#if: {{{6|}}}|{{!}}{{{6}}}}}{{#if: {{{7|}}}|{{!}}{{{7}}}}}{{#if: {{{8|}}}|{{!}}{{{8}}}}}{{#if: {{{9|}}}|{{!}}{{{9}}}}}{{#if: {{{10|}}}|{{!}}{{{10}}}}}{{#ifexpr: {{{1|0}}} > 0|{{!}}Spell Points {{#ifexpr: {{{1}}} = 1|{{!}}1st}}{{#ifexpr: {{{1}}} = 2|{{!}}1st{{!}}2nd}}{{#ifexpr: {{{1}}} = 3|{{!}}1st{{!}}2nd{{!}}3rd}}{{#ifexpr: {{{1}}} = 4|{{!}}1st{{!}}2nd{{!}}3rd{{!}}4th}}{{#ifexpr: {{{1}}} = 5|{{!}}1st{{!}}2nd{{!}}3rd{{!}}4th{{!}}5th}}{{#ifexpr: {{{1}}} = 6|{{!}}1st{{!}}2nd{{!}}3rd{{!}}4th{{!}}5th{{!}}6th}}{{#ifexpr: {{{1}}} = 7|{{!}}1st{{!}}2nd{{!}}3rd{{!}}4th{{!}}5th{{!}}6th{{!}}7th}}{{#ifexpr: {{{1}}} = 8|{{!}}1st{{!}}2nd{{!}}3rd{{!}}4th{{!}}5th{{!}}6th{{!}}7th{{!}}8th}}{{#ifexpr: {{{1}}} = 9|{{!}}1st{{!}}2nd{{!}}3rd{{!}}4th{{!}}5th{{!}}6th{{!}}7th{{!}}8th{{!}}9th}}

Revision as of 15:25, 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|(Class Name)|(column name)}}

Parameter Documentation
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.


Level | Base Attack Bonus | Fort Save| Reflex Save| Will Save| Autogranted{{#ifexpr: 0 > 0||Spell Points Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".
{{{2}}}{{#ifexpr: 0 > 0| | colspan="Expression error: Unrecognized punctuation character "{"." | "Spells"