Difference between revisions of "Template:Class"

From Xeriar
Jump to navigationJump to search
Line 1: Line 1:
 
<table border=2 style="border: solid 1px #801818; bgcolor: #F5F5DC" width="100%" cellpadding=3 cellspacing=2>
 
<table border=2 style="border: solid 1px #801818; bgcolor: #F5F5DC" width="100%" cellpadding=3 cellspacing=2>
<tr bgcolor="#EEDC82"><th width="5%" align="center">Level</th>{{Ifdef|{{{bab|}}}|<th width=5%><center>BAB</center></th><th width=5%><center>Fort</center></th><th width=5%><center>Ref</center></th><th width=5%><center>Will</center></th><th><center>Special</center></th>|}}{{Ifdef|{{{cp|}}}|<th><center>Caster Progression</center></th>|}}</tr>
+
<tr bgcolor="#EEDC82"><th{{Width5}}>Level</th>{{Ifdef|{{{bab|}}}|<th{{Width5}}>BAB</th><th{{Width5}}>Fort</th><th {{Width5}}>Ref</th><th{{Width5}}>Will</th><th><center>Special</center></th>|}}{{Ifdef|{{{cp|}}}|<th><center>Caster Progression</center></th>|}}</tr>
  
 
{{Ifdef|{{Isgreater|{{{levels}}}|0}}|<tr><th><center>1</center></th>{{Ifdef|{{{bab|}}}|<th><center>{{Switch|{{{bab}}}|case: f=+1|case: m=+0|case: h=+0|default=0}}</center></th><th><center>{{Switch|{{{fort}}}|case: g=+2|case: p=+0|default=0}}</center></th><th><center>{{Switch|{{{ref}}}|case: g=+2|case: p=+0|default=0}}</center></th><th><center>{{Switch|{{{will}}}|case: g=+2|case: p=+0|default=0}}</center></th>|}}<td>{{{spec1}}}</td>{{Ifdef|{{{cp|}}}|<td>{{{cp1}}}</td>|}}</tr>|}}
 
{{Ifdef|{{Isgreater|{{{levels}}}|0}}|<tr><th><center>1</center></th>{{Ifdef|{{{bab|}}}|<th><center>{{Switch|{{{bab}}}|case: f=+1|case: m=+0|case: h=+0|default=0}}</center></th><th><center>{{Switch|{{{fort}}}|case: g=+2|case: p=+0|default=0}}</center></th><th><center>{{Switch|{{{ref}}}|case: g=+2|case: p=+0|default=0}}</center></th><th><center>{{Switch|{{{will}}}|case: g=+2|case: p=+0|default=0}}</center></th>|}}<td>{{{spec1}}}</td>{{Ifdef|{{{cp|}}}|<td>{{{cp1}}}</td>|}}</tr>|}}
 
</table>
 
</table>

Revision as of 09:53, 9 January 2007

<thTemplate:Width5>Level