Module:Item class/config/sandbox
< Module:Item class | config
This is the module sandbox page for Module:Item class/config (diff).
This is the configuration file for Module:Item class. This file can be edited to allow easy translation/porting of the module to other wikis.
The above documentation is transcluded from Module:Item class/config/doc.
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:Item class
--
-------------------------------------------------------------------------------
local m_util = require('Module:Util')
local cfg = {}
-- ----------------------------------------------------------------------------
-- i18n
-- ----------------------------------------------------------------------------
cfg.i18n = {}
cfg.i18n.list = {
item_class = 'Item class',
internal_name = m_util.html.abbr('Internal name', 'Item filter rules that specify item classes do so using their internal names.'),
internal_id = m_util.html.abbr('Internal ID', 'The internal ID of the item class. This is provided mainly as a reference to tool developers. Most players do not need to know this.'),
}
cfg.i18n.infocard = {
page = '[[Item class]]',
info = m_util.html.abbr('(?)', 'Item classes categorize items. Classes are often used to restrict items or skill gems to a specific class or by item filters'),
also_referred_to_as = 'Also referred to as: %s',
filterid = 'Item filter ID: %s',
is_removed = "''Removed from the game.''",
long_upper = 'Long uppercase name: %s',
long_lower = 'Long lowercase name: %s',
}
cfg.i18n.infocard.errors = {
invalid_class = 'The item class name "%s" is invalid.',
}
-- ----------------------------------------------------------------------------
-- Constants
-- ----------------------------------------------------------------------------
-- Wrapper templates
cfg.wrappers = {
item_class_list = {
'Template:Item class list',
},
item_class_infocard = {
'Template:Item class infocard',
},
}
return cfg