Template:Role Advancement Table/doc: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 35: | Line 35: | ||
<nowiki>{{Role Advancement Table|skills=Strike,Threatening Strike{{!}}Provoke{{!}}{{!}}Resistant{{!}}{{!}}|type=base|hp=0-35|aw=25-45|name=Defender}}</nowiki> | <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;"> | <div id="mw-content-text" class="mw-body-content mw-content-ltr" lang="en-GB" dir="ltr"> | ||
<caption>Defender's Level Advancement | <div class="mw-parser-output"> | ||
</caption> | <table class="wikitable" style="text-align: center;"> | ||
<tbody><tr> | <caption>Defender's Level Advancement</caption> | ||
<th>Level | <tbody> | ||
</th> | <tr> | ||
<th><a href="/index.php?title=Health&action=edit&redlink=1" class="new" title="Health (page does not exist)">Health</a><br />Total (increment) | <th>Level</th> | ||
</th> | <th><a href="/index.php?title=Health&action=edit&redlink=1" class="new" title="Health (page does not exist)">Health</a><br />Total (increment)</th> | ||
<th><a href="/index.php?title=Armor_Weight&action=edit&redlink=1" class="new" title="Armor Weight (page does not exist)">A.W.</a><br />Total (increment) | <th><a href="/index.php?title=Armor_Weight&action=edit&redlink=1" class="new" title="Armor Weight (page does not exist)">A.W.</a><br />Total (increment)</th> | ||
<th><a href="/index.php?title=Skills&action=edit&redlink=1" class="new" title="Skills (page does not exist)">Skills</a> | |||
</th> | </th> | ||
</tr> | |||
<tr> | <tr> | ||
<td style="text-align:right;">1 | <td style="text-align:right;">1</td> | ||
</td> | <td>0 (+0)</td> | ||
<td>0 (+0) | <td>0 (+0)</td> | ||
</td> | |||
<td>0 (+0) | |||
</td> | |||
<td style="text-align:left;"><a href="/index.php?title=Strike&action=edit&redlink=1" class="new" title="Strike (page does not exist)">Strike</a><br /> | <td style="text-align:left;"><a href="/index.php?title=Strike&action=edit&redlink=1" class="new" title="Strike (page does not exist)">Strike</a><br /> | ||
<p><a href="/index.php?title=Threatening_Strike&action=edit&redlink=1" class="new" title="Threatening Strike (page does not exist)">Threatening Strike</a> | <p><a href="/index.php?title=Threatening_Strike&action=edit&redlink=1" class="new" title="Threatening Strike (page does not exist)">Threatening Strike</a> | ||
</p> | </p> | ||
</td></tr> | </td> | ||
</tr> | |||
<tr> | <tr> | ||
<td style="text-align:right;">2 | <td style="text-align:right;">2</td> | ||
</td> | <td>7 (+7)</td> | ||
<td>7 (+7) | <td>4 (+4)</td> | ||
</td> | <td style="text-align:left;"><a href="/index.php?title=Provoke&action=edit&redlink=1" class="new" title="Provoke (page does not exist)">Provoke</a></td> | ||
<td>4 (+4) | </tr> | ||
</td> | |||
<td style="text-align:left;"><a href="/index.php?title=Provoke&action=edit&redlink=1" class="new" title="Provoke (page does not exist)">Provoke</a> | |||
</td></tr> | |||
<tr> | <tr> | ||
<td style="text-align:right;">3 | <td style="text-align:right;">3</td> | ||
</td> | <td>14 (+7)</td> | ||
<td>14 (+7) | <td>8 (+4)</td> | ||
</td> | <td style="text-align:left;"></td> | ||
<td>8 (+4) | </tr> | ||
</td> | |||
<td style="text-align:left;"> | |||
</td></tr> | |||
<tr> | <tr> | ||
<td style="text-align:right;">4 | <td style="text-align:right;">4</td> | ||
</td> | <td>21 (+7)</td> | ||
<td>21 (+7) | <td>12 (+4)</td> | ||
</td> | <td style="text-align:left;"><a href="/index.php?title=Resistant&action=edit&redlink=1" class="new" title="Resistant (page does not exist)">Resistant</a></td> | ||
<td>12 (+4) | </tr> | ||
</td> | |||
<td style="text-align:left;"><a href="/index.php?title=Resistant&action=edit&redlink=1" class="new" title="Resistant (page does not exist)">Resistant</a> | |||
</td></tr> | |||
<tr> | <tr> | ||
<td style="text-align:right;">5 | <td style="text-align:right;">5</td> | ||
</td> | <td>28 (+7)</td> | ||
<td>28 (+7) | <td>16 (+4)</td> | ||
</td> | <td style="text-align:left;"></td> | ||
<td>16 (+4) | </tr> | ||
</td> | |||
<td style="text-align:left;"> | |||
</td></tr> | |||
<tr> | <tr> | ||
<td style="text-align:right;">6 | <td style="text-align:right;">6</td> | ||
</td> | <td>35 (+7)</td> | ||
<td>35 (+7) | <td>20 (+4)</td> | ||
</td> | <td style="text-align:left;"></td> | ||
<td>20 (+4) | </tr> | ||
</td> | </tbody> | ||
<td style="text-align:left;"> | </table> | ||
</td></tr></tbody></table> | </div> | ||
</div></div> | </div> |
Revision as of 18:22, 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}}
<tbody>
</tbody>
Level | <a href="/index.php?title=Health&action=edit&redlink=1" class="new" title="Health (page does not exist)">Health</a> Total (increment) |
<a href="/index.php?title=Armor_Weight&action=edit&redlink=1" class="new" title="Armor Weight (page does not exist)">A.W.</a> Total (increment) |
<a href="/index.php?title=Skills&action=edit&redlink=1" class="new" title="Skills (page does not exist)">Skills</a> |
---|---|---|---|
1 | 0 (+0) | 0 (+0) | <a href="/index.php?title=Strike&action=edit&redlink=1" class="new" title="Strike (page does not exist)">Strike</a> <a href="/index.php?title=Threatening_Strike&action=edit&redlink=1" class="new" title="Threatening Strike (page does not exist)">Threatening Strike</a> |
2 | 7 (+7) | 4 (+4) | <a href="/index.php?title=Provoke&action=edit&redlink=1" class="new" title="Provoke (page does not exist)">Provoke</a> |
3 | 14 (+7) | 8 (+4) | |
4 | 21 (+7) | 12 (+4) | <a href="/index.php?title=Resistant&action=edit&redlink=1" class="new" title="Resistant (page does not exist)">Resistant</a> |
5 | 28 (+7) | 16 (+4) | |
6 | 35 (+7) | 20 (+4) |