Module:Passive skill/config: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(Bringing in some changes from poewiki:Module:Passive_skill) |
||
| (4 intermediate revisions by 2 users not shown) | |||
| Line 28: | Line 28: | ||
ascendancy_notable = 'Ascendancy Notable Passive Skill', | ascendancy_notable = 'Ascendancy Notable Passive Skill', | ||
ascendancy_basic = 'Ascendancy Passive Skill', | ascendancy_basic = 'Ascendancy Passive Skill', | ||
atlas_keystone = 'Atlas Keystone', | |||
atlas_notable = 'Atlas Notable Passive Skill', | |||
atlas_basic = 'Atlas Passive Skill', | |||
} | } | ||
cfg.i18n. | cfg.i18n.data_table = { | ||
-- core data | |||
id = 'ID', | |||
flavour_text = 'Flavour Text', | flavour_text = 'Flavour Text', | ||
reminder_text = 'Reminder Text', | reminder_text = 'Reminder Text', | ||
| Line 38: | Line 41: | ||
ascendancy_class = 'Ascendancy Class', | ascendancy_class = 'Ascendancy Class', | ||
connections = 'Connections', | connections = 'Connections', | ||
-- stats | |||
ordinal = '#', | |||
stats = 'Stats', | stats = 'Stats', | ||
stat_id = 'Stat ID', | |||
value = 'Value', | |||
min = 'Minimum', | |||
max = 'Maximum', | |||
} | } | ||
| Line 53: | Line 58: | ||
ascendancy_notable = 'Ascendancy notable passive skills', | ascendancy_notable = 'Ascendancy notable passive skills', | ||
ascendancy_basic = 'Ascendancy basic passive skills', | ascendancy_basic = 'Ascendancy basic passive skills', | ||
atlas_keystone = 'Atlas keystone passive skills', | |||
atlas_notable = 'Atlas notable passive skills', | |||
atlas_basic = 'Atlas basic passive skills', | |||
} | } | ||
Latest revision as of 23:35, 2 March 2026
This is the configuration file for Module:Passive skill. This file can be edited to allow easy translation/porting of the module to other wikis.
The above documentation is transcluded from Module:Passive skill/config/doc.
Editors can experiment in this module's sandbox and testcases pages.
Subpages of this module.
Editors can experiment in this module's sandbox and testcases pages.
Subpages of this module.
-------------------------------------------------------------------------------
--
-- Configuration for Module:Passive skill
--
-------------------------------------------------------------------------------
local cfg = {}
-- ----------------------------------------------------------------------------
-- i18n
-- ----------------------------------------------------------------------------
cfg.i18n = {}
cfg.i18n.images = {
icon_name = 'File:%s passive skill icon.png',
}
cfg.i18n.intro = {
text_with_name = "'''%s''' is the internal id for the [[%s|%s]] [[passive skill]]. ",
text_without_name = "'''%s''' is the internal id of an unnamed [[passive skill]]. ",
}
cfg.i18n.passive_box = {
keystone = 'Keystone',
notable = 'Notable Passive Skill',
basic = 'Passive Skill',
ascendancy_notable = 'Ascendancy Notable Passive Skill',
ascendancy_basic = 'Ascendancy Passive Skill',
atlas_keystone = 'Atlas Keystone',
atlas_notable = 'Atlas Notable Passive Skill',
atlas_basic = 'Atlas Passive Skill',
}
cfg.i18n.data_table = {
-- core data
id = 'ID',
flavour_text = 'Flavour Text',
reminder_text = 'Reminder Text',
skill_points = 'Skill Points Granted',
ascendancy_class = 'Ascendancy Class',
connections = 'Connections',
-- stats
ordinal = '#',
stats = 'Stats',
stat_id = 'Stat ID',
value = 'Value',
min = 'Minimum',
max = 'Maximum',
}
cfg.i18n.categories = {
data = 'Passive skill data',
keystone = 'Keystone passive skills',
notable = 'Notable passive skills',
basic = 'Basic passive skills',
ascendancy_notable = 'Ascendancy notable passive skills',
ascendancy_basic = 'Ascendancy basic passive skills',
atlas_keystone = 'Atlas keystone passive skills',
atlas_notable = 'Atlas notable passive skills',
atlas_basic = 'Atlas basic passive skills',
}
cfg.i18n.errors = {
no_passives_found = 'No passive skills with the given name found',
}
-- ----------------------------------------------------------------------------
-- Constants
-- ----------------------------------------------------------------------------
-- Wrapper templates
cfg.wrappers = {
passive_skill = {
'Template:Passive skill',
},
passive_skill_box = {
'Template:Passive skill box',
},
}
-- Attach templates
cfg.attach_templates = {
passive_skills = 'Template:Passive skill/cargo/passive skills/attach',
passive_skill_stats = 'Template:Passive skill/cargo/passive skill stats/attach',
main_pages = 'Template:Cargo/main_pages/attach',
}
return cfg