Template:Passive skill/doc: Difference between revisions
Tag: Undo |
(→Cargo) |
||
(One intermediate revision by the same user not shown) | |||
Line 202: | Line 202: | ||
|} | |} | ||
==Cargo | ==Cargo== | ||
{| class="wikitable" | |||
{|class="wikitable" | ! Table !! Declared by !! Attached by !! Data | ||
! | |- | ||
! | | [[Special:CargoTables/passive_skills|passive_skills]] | ||
|- | | {{tl|Passive skill/cargo/passive skills/declare}} | ||
| passive_skills | | {{tl|Passive skill/cargo/passive skills/attach}} | ||
| {{ | | rowspan="2" | Pages in [[:Category:Passive skill data]] | ||
|- | |- | ||
| passive_skill_stats | | [[Special:CargoTables/passive_skill_stats|passive_skill_stats]] | ||
| {{ | | {{tl|Passive skill/cargo/passive skill stats/declare}} | ||
| {{tl|Passive skill/cargo/passive skill stats/attach}} | |||
|} | |} | ||
Latest revision as of 21:00, 29 May 2024
This subpage provides documentation for Template:Passive skill.
The Passive skill template is used to submit passive data to the cargo data base. It should only be used from the Passive Skill: 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 passive
is responsible for handling the export.
Example for exporting by id:
pypoe_exporter wiki passive id --wiki --wiki-user <username> --wiki-password <bot_password> <id_of_the_mod1> [id_of_the_mod2] [...] [id_of_the_mod3]
Parameters
General
Parameter | Type | PyPoE Export |
Required | Field | Description | Default |
---|---|---|---|---|---|---|
id | str (unique) | ✓
|
✓
|
passive_skills.id | Internal Id of the passive skill. | N/A |
int_id | integer (unique) | ✓
|
✓
|
passive_skills.int_id | Internal Id of the passive skill. | N/A |
name | str | ✓
|
✗
|
passive_skills.name | Name of the passive as shown in game. | N/A |
main_page | str | ✗
|
✗
|
passive_skills.main_page | Name of the main article for this passive skill in the wiki.
This is used for linking to articles; if left empty, the name will be used instead. |
N/A |
flavour_text | str | ✓
|
✗
|
passive_skills.flavour_text | Flavour text of the passive skill | N/A |
reminder_text | str | ✓
|
✗
|
passive_skills.reminder_text | Reminder text for the stat description (hints in grey text explaining what the stats mean) | N/A |
buff_id | str | ✓
|
✗
|
passive_skills.buff_id | Id of the buff granted by the passive skill if any | N/A |
skill_points | int | ✓
|
✗
|
passive_skills.skill_points | How many skill points the passive grants upon allocation (used for certain scion ascendancy passives for example) | 0 |
icon | wikipage | ✓
|
✗
|
passive_skills.icon | N/A | |
ascendancy_class | string | ✓
|
✗
|
passive_skills.ascendancy_class | Name of the ascendancy class which can allocate this passive. Should be empty for regular passives. | N/A |
is_keystone | boolean | ✓
|
✗
|
passive_skills.is_keystone | Whether this passive skill is a keystone | false |
is_notable | boolean | ✓
|
✗
|
passive_skills.is_notable | Whether this passive skill is a notable | false |
is_multiple_choice_option | boolean | ✓
|
✗
|
passive_skills.is_multiple_choice_option | Whether this passive skill is a multiple choice option (e.x. the 3 individual ascendancy class nodes for each character class in the ascendant tree are multiple choice options) | false |
is_multiple_choice | boolean | ✓
|
✗
|
passive_skills.is_multiple_choice | Whether this passive skill is a multiple choice option (e.x. the passive node in the ascendant tree where you select from multiple classes is a multiple choice passive) | false |
is_icon_only | boolean | ✓
|
✗
|
passive_skills.is_icon_only | Whether this passive skill is a just an icon (e.x. used for the icons in the middle of circles) | false |
is_jewel_socket | boolean | ✓
|
✗
|
passive_skills.is_jewel socket | Whether this passive skill is a Jewel socket | false |
is_ascendancy_starting_node | boolean | ✓
|
✗
|
passive_skills.is_ascendancy_starting_node | Whether this node is a starting location for an ascendancy class tree | false |
stat_text | string | ✓
|
✗
|
passive_skills.stat_text | Complete stat description from the stats of this passive skill | 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 | passive_skill_stats.id | Internal id of the stat |
stat<N>_value | int | passive_skill_stats.value | Value of the stat |
Cargo
Table | Declared by | Attached by | Data |
---|---|---|---|
passive_skills | {{Passive skill/cargo/passive skills/declare}} | {{Passive skill/cargo/passive skills/attach}} | Pages in Category:Passive skill data |
passive_skill_stats | {{Passive skill/cargo/passive skill stats/declare}} | {{Passive skill/cargo/passive skill stats/attach}} |