Difference between revisions of "Module:Class/configuration"
Jump to navigation
Jump to search
en>Nihiltres m (Changed protection settings for "Module:Class/configuration": To match cascading protection on parent Template:Class ([Edit=Require administrator access] (indefinite) [Move=Require administrator access] (indefinite))) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 14:01, 4 October 2022
Documentation for this module may be created at Module:Class/configuration/doc
local p = {} p.definitions = mw.text.jsonDecode( mw.title.new('Class/definition.json', 'Module'):getContent() ) p.messages = { defaultCode = 'DEFAULT', classPrefix = 'assess-', globalClass = 'assess', defaultClassSuffix = 'default', unboldClassSuffix = 'unbold', catRootFormat = '%s %s', catTopicFormat = '%s %s articles', catBasicFormat = '%s articles', categoryFormat = '[[:Category:%s|%s]]', templateLocation = 'Template:Class', iconTemplateLocation = 'Template:Class/icon', colourTemplateLocation = 'Template:Class/colour', stylesLocation = 'Module:Class/styles.css', baseColourPath = {'colour', 'base'}, iconPath = {"icon", "file"}, iconDefaultPath = {"icon", "default"}, iconAttribPath = {"icon", "requiresAttribution"}, fullLabelPath = {"labels", "full"}, shortLabelPath = {"labels", "short"}, categoryRootPath = {"categoryRoot"}, tooltipPath = {"labels", "tooltip"}, yes = "yes", no = "no", argumentNames = { class = "class", style = "style" }, getOptions = { --First item is localized argument name, second is case-sensitivity bold = {"bold", false}, header = {"header", false}, image = {"image", false}, rowspan = {"rowspan", false}, fullcategory = {"fullcategory", true}, category = {"category", true}, topic = {"topic", true} } } return p