Difference between revisions of "Template:ClassAdvancementTableHeader"

From DDO Compendium
(Created page with "{{TemplateDocumentation |name = ClassAdvancementTableHeader |description = This template is used to render the header for the advancement table. The first 4 columns are prede...")
 
m (fix: make table responsive to is doesn't enlarge the page size on mobile)
 
(20 intermediate revisions by one other user not shown)
Line 1: Line 1:
<noinclude>
{{TemplateDocumentation
{{TemplateDocumentation
|name = ClassAdvancementTableHeader
|name = ClassAdvancementTableHeader
|description = 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
|description = 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
|category = Player Character Templates
|usesnamedparameters =  
|usesnamedparameters =  
|parameter1name = column name
|parameter1name = Spell Levels
|parameter1description = The name of the column - This can be repeated 10 times
|parameter1description = The number of spell levels, if blank there are none.
|parameter1values =  
|parameter1values =  
|parameter2name = Class Name
|parameter2description = The name of the class
|parameter2values =
|parameter3name = column name
|parameter3description = The name of the column - This can be repeated 10 times
|parameter3values =
}}</noinclude>
}}</noinclude>
{| class="wikitable" style="color: white; background-color:#3a3f44; width: 70%;"
<table class="wikitable table table-responsive" style="color: white; background-color:#3a3f44; width: 100%;"><tr><td style="text-align:center" colspan="{{#if: {{{12|}}}|16|{{#if: {{{11|}}}|15|{{#if: {{{10|}}}|14|{{#if: {{{9|}}}|13|{{#if: {{{8|}}}|12|{{#if: {{{9|}}}|11|{{#if: {{{6|}}}|10|{{#if: {{{5|}}}|9|{{#if: {{{4|}}}|8|{{#if: {{{3|}}}|7|6}}}}}}}}}}}}}}}}}}}}">{{{2}}}</td>{{#ifexpr: {{{1|0}}} > 0 | <td style="text-align:center"  colspan="{{#expr: {{{1}}}+1}}">Spell Information</td>}}
! | 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}}}}}
</tr><tr style="text-align:center"><td width=1%>Level</td><td width=1%>{{#bootstrap_tooltip: Base Attack Bonus | text =The first number listed is the Base Attack Bonus. Subsequent numbers indicate the attack bonus the character achieves on various stages of their attack sequence. | placement = bottom }}</td><td width=1%>Fort Save</td><td width=1%>Reflex Save</td><td width=1%>Will Save</td><td width=100%>Autogranted</td>{{#if: {{{3|}}}|<td width=1%>{{{3}}}</td>}}{{#if: {{{4|}}}|<td width=1%>{{{4}}}</td>}}{{#if: {{{5|}}}|<td width=1%>{{{5}}}</td>}}{{#if: {{{6|}}}|<td width=1%>{{{6}}}</td>}}{{#if: {{{7|}}}|<td width=1%>{{{7}}}</td>}}{{#if: {{{8|}}}|<td width=1%>{{{8}}}</td>}}{{#if: {{{9|}}}|<td width=1%>{{{9}}}</td>}}{{#if: {{{10|}}}|<td width=1%>{{{10}}}</td>}}{{#if: {{{11|}}}|<td width=1%>{{{11}}}</td>}}{{#if: {{{12|}}}|<td width=1%>{{{12}}}</td>}}{{#ifexpr: {{{1|0}}} > 0| <td width=1%>Spell Points</td>{{#switch: {{{1}}}
|1=<td width=1%>1st</td>
|2=<td width=1%>1st</td><td width=1%>2nd</td>
|3=<td width=1%>1st</td><td width=1%>2nd</td><td width=1%>3rd</td>
|4=<td width=1%>1st</td><td width=1%>2nd</td><td width=1%>3rd</td><td width=1%>4th</td>
|5=<td width=1%>1st</td><td width=1%>2nd</td><td> width=1%3rd</td><td width=1%>4th</td><td width=1%>5th</td>
|6=<td width=1%>1st</td><td width=1%>2nd</td><td width=1%>3rd</td><td width=1%>4th</td><td width=1%>5th</td><td width=1%>6th</td>
|7=<td width=1%>1st</td><td width=1%>2nd</td><td width=1%>3rd</td><td width=1%>4th</td><td width=1%>5th</td><td width=1%>6th</td><td width=1%>7th</td>
|8=<td width=1%>1st</td><td width=1%>2nd</td><td width=1%>3rd</td><td width=1%>4th</td><td width=1%>5th</td><td width=1%>6th</td><td width=1%>7th</td><td width=1%>8th</td>
|9=<td width=1%>1st</td><td width=1%>2nd</td><td width=1%>3rd</td><td width=1%>4th</td><td width=1%>5th</td><td width=1%>6th</td><td width=1%>7th</td><td width=1%>8th</td><td width=1%>9th</td>}}}}</tr>

Latest revision as of 05:20, 2 April 2022


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.


{{{2}}}
LevelBase Attack BonusFort SaveReflex SaveWill SaveAutogranted