Template:Sandbox/MoonOverMira/class attributes/doc: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
m (Vinifera7 moved page Template:Class attributes/doc to Template:Sandbox/MoonOverMira/class attributes/doc without leaving a redirect)
No edit summary
Line 43: Line 43:


|<pre>
|<pre>
{{Class attributes
{{Sandbox/MoonOverMira/class attributes
|cols=str,dex,int
|cols=str,dex,int
|show_total=true
|show_total=true
Line 49: Line 49:
</pre>
</pre>


|{{Class attributes
|{{Sandbox/MoonOverMira/class attributes
|cols=str,dex,int
|cols=str,dex,int
|show_total=true
|show_total=true
Line 59: Line 59:


|<pre>
|<pre>
{{Class attributes
{{Sandbox/MoonOverMira/class attributes
|cols=str
|cols=str
|sort_col=str
|sort_col=str
Line 66: Line 66:
</pre>
</pre>


|{{Class attributes
|{{Sandbox/MoonOverMira/class attributes
|cols=str
|cols=str
|sort_col=str
|sort_col=str
Line 77: Line 77:
{{Documentation categories|
{{Documentation categories|
<!-- Categories and interwikis go here. -->
<!-- Categories and interwikis go here. -->
[[Category:Templates]]
 
}}
}}

Revision as of 20:51, 9 March 2023

This subpage provides documentation for Template:Sandbox/MoonOverMira/class attributes.

Lua logo

This template uses the following modules:

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
}}
ClassStrength Str.Dexterity Dex.Intelligence Int.Total
Witch14143260
Shadow14232360
Ranger14321460
Duelist23231460
Marauder32141460
Templar23142360
Scion20202060
A single attribute, sorted from greatest to least
{{Sandbox/MoonOverMira/class attributes
|cols=str
|sort_col=str
|reverse_sort=true
}}
ClassStrength Str.
Marauder32
Duelist23
Templar23
Scion20
Ranger14
Shadow14
Witch14