Module:Item class/config/sandbox: Difference between revisions
< Module:Item class | config
(Create sandbox version of Module:Item class/config) |
No edit summary |
||
Line 12: | Line 12: | ||
cfg.i18n = {} | cfg.i18n = {} | ||
cfg.i18n.list = { | |||
item_class = 'Item class', | |||
item_class_id = 'Internal ID', | |||
item_class_category = 'Category', | |||
} | |||
cfg.i18n.infocard = { | cfg.i18n.infocard = { |
Revision as of 02:53, 26 May 2022
![](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7b/Edit_In_Sandbox_Icon_-_Color.svg/45px-Edit_In_Sandbox_Icon_-_Color.svg.png)
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 cfg = {}
-- ----------------------------------------------------------------------------
-- i18n
-- ----------------------------------------------------------------------------
cfg.i18n = {}
cfg.i18n.list = {
item_class = 'Item class',
item_class_id = 'Internal ID',
item_class_category = 'Category',
}
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