Module:Area/config
Jump to navigation
Jump to search
You might want to create a documentation page for this module.
Editors can experiment in this module's sandbox and testcases pages.
Please add categories to the /doc subpage. Subpages of this module.
Editors can experiment in this module's sandbox and testcases pages.
Please add categories to the /doc subpage. Subpages of this module.
-------------------------------------------------------------------------------
--
-- Configuration for Module:Area
--
-------------------------------------------------------------------------------
local m_util = require('Module:Util')
local cfg = {}
-- ----------------------------------------------------------------------------
-- i18n
-- ----------------------------------------------------------------------------
cfg.i18n = {}
cfg.i18n.categories = {
area_data = 'Area data',
}
cfg.i18n.templates = {
attach_template = 'Template:Area/cargo/areas/attach',
}
cfg.i18n.images = {
waypoint_no = '[[File:No waypoint area icon.png|link=|No Waypoint]]',
waypoint_yes = '[[File:Waypoint area icon.png|link=|No Waypoint]]',
waypoint_town = '[[File:Town area icon.png|link=|Town Hub]]',
loading_screen = 'File:%s loading screen.png',
loading_screen_infobox = '[[File:%s loading screen.png|250px]]',
screenshot = 'File:%s area screenshot.%s',
screenshot_infobox = '[[File:%s area screenshot.%s|250px]]',
}
cfg.i18n.errors = {
invalid_tag = '%s is not a valid tag',
main_page_is_invalid = 'main_page argument got "%s" which is not a valid wiki page',
main_page_does_not_exist = 'main_page argument requires the specified page "%s" to exist in the main wiki namespace',
}
cfg.i18n.intro = {
text_with_name = "'''%s''' is the internal id for the [[%s|%s]] [[area]]. ",
text_without_name = "'''%s''' is the internal id of an unnamed [[area]]. ",
connections = 'It is connected to the following areas:',
}
cfg.i18n.tooltips = {
-- boolean tooltips. Use singular form here, categories makes these plural.
is_map_area = 'Map area',
is_unique_map_area = 'Unique Map area',
is_town_area = 'Town area',
is_hideout_area = 'Hideout area',
is_vaal_area = 'Vaal side area',
is_labyrinth_area = 'Labyrinth area',
is_labyrinth_airlock_area = 'Labyrinth airlock area',
is_labyrinth_boss_area = 'Labyrinth boss area',
area = 'area',
--
entry_message = '%s: %s',
}
cfg.i18n.headers = {
id = 'Id',
act = 'Act',
area_level = m_util.html.abbr('Area level', 'May be overriden on areas created by items such as maps'),
level_restriction_max = m_util.html.abbr('Max level', 'Characters above this level can not enter this zone.'),
area_type_tags = 'Area type tags',
tags = 'Tags',
parent_area = m_util.html.abbr('Parent Town', 'Portals will lead to the parent town'),
connections = 'Connections',
-- monsters
boss_monster_ids = 'Bosses',
vaal_areas = 'Vaal Side Areas',
vaal_spawn_areas = 'Spawnable in'
}
-- ----------------------------------------------------------------------------
-- Constants
-- ----------------------------------------------------------------------------
-- Wrapper templates
cfg.wrappers = {
area = {
'Template:Area',
},
query_area_info = {
'Template:Query area infoboxes',
},
}
-- Legacy map area id patterns
cfg.legacy_map_area_id_patterns = {
'^MapAtlas.+',
'^Map2Tier.+',
'^MapTier.+',
}
return cfg