Difference between revisions of "BWCharacterSheet/Abilities/AbilityRow"

From West Of Vipers Gate
Tools>Emeraldmagus
m (Emeraldmagus moved page Template:BWCharacterSheet/AbilityRow to Template:BWCharacterSheet/Abilities/AbilityRow without leaving a redirect)
 
Tag: New redirect
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<includeonly><tr>
+
#REDIRECT [[Template:BWCharacterSheet/Abilities/AbilityRow]]
{{#if:{{{section_count|}}}|<th rowspan="{{{section_count|}}}">{{{section_label}}}</th>}}
 
<th>{{{1}}}</th>
 
<td>{{{2}}}</td>
 
{{#if:{{{section_count|}}}|<td rowspan="{{{section_count|}}}" style="padding: 2px;" />}}
 
<td>{{{3}}}</td>
 
<td>{{{4}}}</td>
 
<td>{{{5}}}</td>
 
{{#if:{{{section_count|}}}|<td rowspan="{{{section_count|}}}" style="padding: 2px;" />}}
 
<td>{{{6}}}</td>
 
<td>{{{7}}}</td>
 
<td>{{{8}}}</td>
 
</tr></includeonly><noinclude>
 
== Usage ==
 
<pre>{{BWCharacterSheet/AbilitiyRow|name|dice|routine|difficult|challenging|fate|persona|deeds|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.
 
 
 
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 00:09, 2 October 2022