Template:Role Advancement Table/doc: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
(9 intermediate revisions by the same user not shown) | |||
Line 17: | Line 17: | ||
|Optional, but recommended | |Optional, but recommended | ||
|Health Points range, as seen on the role stats dialogue but replace the ' to ' with a dash/hyphen. This will be something like '0-25'. Enter it exactly like that. The module will break it up and calculate the increments for each level. If omitted this column will not be filled. | |Health Points range, as seen on the role stats dialogue but replace the ' to ' with a dash/hyphen. This will be something like '0-25'. Enter it exactly like that. The module will break it up and calculate the increments for each level. If omitted this column will not be filled. | ||
|- | |||
|name | |||
|Optional | |||
|Name to use in the table caption. If not provided it will use the title of the page. | |||
|- | |||
|start | |||
|Optional | |||
|The number used to start the level count at. Defaults to 1, if this AND type are not provided. | |||
|- | |- | ||
|type | |type | ||
Line 23: | Line 31: | ||
|} | |} | ||
[[File:Defender.png]] | [[File:Defender.png]] | ||
Sample Output for<br /> | |||
<nowiki>{{Role Advancement Table|skills=Strike,Threatening Strike{{!}}Provoke{{!}}{{!}}Resistant{{!}}{{!}}|type=base|hp=0-35|aw=25-45|name=Defender}}</nowiki> | |||
<div id="mw-content-text" class="mw-body-content mw-content-ltr" lang="en-GB" dir="ltr"> | |||
<div class="mw-parser-output"> | |||
<table class="wikitable" style="text-align: center;"> | |||
<caption>Defender's Level Advancement</caption> | |||
<tr> | |||
<th>Level</th> | |||
<th>Health<br />Total (increment)</th> | |||
<th>A.W.<br />Total (increment)</th> | |||
<th>Skills</th> | |||
</tr> | |||
<tr> | |||
<td style="text-align:right;">1</td> | |||
<td>0 (+0)</td> | |||
<td>0 (+0)</td> | |||
<td style="text-align:left;">Strike,<br />Threatening Strike | |||
</td> | |||
</tr> | |||
<tr> | |||
<td style="text-align:right;">2</td> | |||
<td>7 (+7)</td> | |||
<td>4 (+4)</td> | |||
<td style="text-align:left;">Provoke</td> | |||
</tr> | |||
<tr> | |||
<td style="text-align:right;">3</td> | |||
<td>14 (+7)</td> | |||
<td>8 (+4)</td> | |||
<td style="text-align:left;"></td> | |||
</tr> | |||
<tr> | |||
<td style="text-align:right;">4</td> | |||
<td>21 (+7)</td> | |||
<td>12 (+4)</td> | |||
<td style="text-align:left;">Resistant</td> | |||
</tr> | |||
<tr> | |||
<td style="text-align:right;">5</td> | |||
<td>28 (+7)</td> | |||
<td>16 (+4)</td> | |||
<td style="text-align:left;"></td> | |||
</tr> | |||
<tr> | |||
<td style="text-align:right;">6</td> | |||
<td>35 (+7)</td> | |||
<td>20 (+4)</td> | |||
<td style="text-align:left;"></td> | |||
</tr> | |||
</table> | |||
</div> | |||
</div> |
Latest revision as of 18:27, 9 November 2022
Overview
This template uses the module:Role Advancement Table to generate a wikitable from the parameters provided. It it intended to take the maual work out of formatting the table which can be over 40 rows of data.
See the Defender stats dialogue below for an example of where to get the values for most of these parameters.
Parameter | Required | Notes |
---|---|---|
aw | Optional, but recommended | Armour Weight range, as seen on the role stats dialogue but replace the ' to ' with a dash/hyphen. This will be something like '0-25'. Enter it exactly like that. The module will break it up and calculate the increments for each level. If omitted this column will not be filled. |
hp | Optional, but recommended | Health Points range, as seen on the role stats dialogue but replace the ' to ' with a dash/hyphen. This will be something like '0-25'. Enter it exactly like that. The module will break it up and calculate the increments for each level. If omitted this column will not be filled. |
name | Optional | Name to use in the table caption. If not provided it will use the title of the page. |
start | Optional | The number used to start the level count at. Defaults to 1, if this AND type are not provided. |
type | Optional, but recommended. | Either 'base' or 'spec'. Using this tells the table whether to start at row 1 or 6, amongst other possible default values. NOTE If those parameters are manually entered (i.e. start=10) then the manual value will be used. |
Sample Output for
{{Role Advancement Table|skills=Strike,Threatening Strike{{!}}Provoke{{!}}{{!}}Resistant{{!}}{{!}}|type=base|hp=0-35|aw=25-45|name=Defender}}
Level | Health Total (increment) |
A.W. Total (increment) |
Skills |
---|---|---|---|
1 | 0 (+0) | 0 (+0) | Strike, Threatening Strike |
2 | 7 (+7) | 4 (+4) | Provoke |
3 | 14 (+7) | 8 (+4) | |
4 | 21 (+7) | 12 (+4) | Resistant |
5 | 28 (+7) | 16 (+4) | |
6 | 35 (+7) | 20 (+4) |