Template:Sandbox/MoonOverMira/class attributes
Jump to navigation
Jump to search
Overview
Creates a table of classes and their base attributes. This data comes from Module:Game, though similar information can be found in Special:CargoTables/character_classes.
Parameters
The only required parameter is cols.
Parameter | Value | Description |
---|---|---|
cols | str | A comma-separated list of the attributes to include as columns. Valid attributes are str , dex , and int .
|
show_total | bool | Whether to include the total of the attributes as a column at the end. |
sort_col | str | An attribute to sort the table by. Only one of the valid attributes should be given. |
reverse_sort | bool | Whether to sort the attribute column given by sort_col from greatest to least instead of from least to greatest.
|
Examples
Description | Usage | Result |
---|---|---|
All attributes and a total | {{Sandbox/MoonOverMira/class attributes |cols=str,dex,int |show_total=true }} |
Script error: No such module "Class attributes". |
A single attribute, sorted from greatest to least | {{Sandbox/MoonOverMira/class attributes |cols=str |sort_col=str |reverse_sort=true }} |
Script error: No such module "Class attributes". |
The above documentation is transcluded from Template:Sandbox/MoonOverMira/class attributes/doc.
Editors can experiment in this template's sandbox and testcases pages.
Please add categories to the /doc subpage. Subpages of this template.
Editors can experiment in this template's sandbox and testcases pages.
Please add categories to the /doc subpage. Subpages of this template.