Difference between revisions of "Template:BWCharacterSheet/Abilities/AbilityRow"
From West Of Vipers Gate
m |
m |
||
(One intermediate revision by the same user not shown) | |||
Line 5: | Line 5: | ||
{{#if:{{{section_count|}}}|<td rowspan="{{{section_count|}}}" style="padding: 2px;" />}} | {{#if:{{{section_count|}}}|<td rowspan="{{{section_count|}}}" style="padding: 2px;" />}} | ||
<td style="color: rgba(0,0,0,{{FractionFade| {{{3}}} }} );">{{{3}}}</td> | <td style="color: rgba(0,0,0,{{FractionFade| {{{3}}} }} );">{{{3}}}</td> | ||
− | <td style="color: rgba(0,0,0,{{FractionFade| {{{4}}} }} );">{{{4}}}</td> | + | <td style="color: rgba(0,0,0,{{FractionFade| {{{4}}} }} );{{#if: {{{mergeDC|}}} | border-right: lightgray 1px dotted;}}">{{{4}}}</td> |
− | <td style="color: rgba(0,0,0,{{FractionFade| {{{5}}} }} );">{{{5}}}</td> | + | <td style="color: rgba(0,0,0,{{FractionFade| {{{5}}} }} );{{#if: {{{mergeDC|}}} | border-left: lightgray 1px dotted;}}">{{{5}}}</td> |
{{#if:{{{section_count|}}}|<td rowspan="{{{section_count|}}}" style="padding: 2px;" />}} | {{#if:{{{section_count|}}}|<td rowspan="{{{section_count|}}}" style="padding: 2px;" />}} | ||
<td style="color: rgba(0,0,0,{{FractionFade| {{{6}}} }} );">{{{6}}}</td> | <td style="color: rgba(0,0,0,{{FractionFade| {{{6}}} }} );">{{{6}}}</td> | ||
Line 13: | Line 13: | ||
</tr></includeonly><noinclude> | </tr></includeonly><noinclude> | ||
== Usage == | == Usage == | ||
− | <pre>{{BWCharacterSheet/AbilitiyRow|name|dice|routine|difficult|challenging|fate|persona|deeds|section_count=|section_label=}}</pre> | + | <pre>{{BWCharacterSheet/AbilitiyRow|name|dice|routine|difficult|challenging|fate|persona|deeds |
+ | |mergeDC= | ||
+ | |section_count= | ||
+ | |section_label= | ||
+ | }}</pre> | ||
The first parameter is the ability name, the second is the dice string (e.g. "B5"). The remaining positional parameters should be numbers. All positional parameters are required. | The first parameter is the ability name, the second is the dice string (e.g. "B5"). The remaining positional parameters should be numbers. All positional parameters are required. | ||
+ | |||
+ | mergeDC should be set to true for skills with exponent less than 5 - it will cause the border between the difficult and challenging cells to be a light gray dotted line. | ||
section_count and section_label are optional - they should be used in the first row of a section to give the number of rows in the section and the section label; omitting section_count from the first row or including it in any other row will cause the table to break.</noinclude> | section_count and section_label are optional - they should be used in the first row of a section to give the number of rows in the section and the section label; omitting section_count from the first row or including it in any other row will cause the table to break.</noinclude> |
Latest revision as of 23:16, 27 April 2022
Usage
{{BWCharacterSheet/AbilitiyRow|name|dice|routine|difficult|challenging|fate|persona|deeds |mergeDC= |section_count= |section_label= }}
The first parameter is the ability name, the second is the dice string (e.g. "B5"). The remaining positional parameters should be numbers. All positional parameters are required.
mergeDC should be set to true for skills with exponent less than 5 - it will cause the border between the difficult and challenging cells to be a light gray dotted line.
section_count and section_label are optional - they should be used in the first row of a section to give the number of rows in the section and the section label; omitting section_count from the first row or including it in any other row will cause the table to break.