Template:Mastery effect
The Mastery effect template is used to submit mastery effect data to the cargo data base. It should only be used from the Mastery effect: name space.
Overview
The template will do the following:
- add cargo data to the page
- create a basic infobox showing the data stored
PyPoE export
PyPoE can be used to export this data from the game to the wiki. pypoe_exporter wiki mastery effects
is responsible for handling the export.
Example for exporting by id:
pypoe_exporter wiki mastery effects id --wiki --wiki-user <username> --wiki-password <bot_password> <id_of_the_mastery_effect1> [id_of_the_mastery_effect2] [...] [id_of_the_mastery_effect3]
Parameters
These correspond to fields in the cargo tables.
Each stat will get stored as its own line in mastery_effect_stats
General
Parameter | Type | PyPoE Export |
Required | Field | Description | Default |
---|---|---|---|---|---|---|
id | str (unique) | ✓
|
✓
|
mastery_effects.id | Internal Id of the mastery effect. | N/A |
main_page | str | ✗
|
✗
|
mastery_effects.main_page | Name of the main article for this mastery effect in the wiki.
This is used for linking to articles; if left empty, the name will be used instead. |
N/A |
stat_text | string | ✓
|
✗
|
mastery_effects.stat_text | Complete stat description from the stats of this mastery effect | N/A |
Multiple arguments
Replace <N>
with the number of the argument. Start numbers with 1, and don't leave gaps. The order matters and each parameter must be specified for an individual element of N.
Stats
All values here are exported by PyPoE. For each set of stats, all parameters are required.
Parameter | Type | Field | Description |
---|---|---|---|
stat<N>_id | str | mastery_effect_stats.id | Internal id of the stat |
stat<N>_value | int | mastery_effect_stats.value | Value of the stat |
Cargo
Editors can experiment in this template's sandbox and testcases pages.
Please add categories to the /doc subpage. Subpages of this template.