Module:Wn/cdo/Message box/configuration
Appearance
Documentation for this module may be created at Module:Wn/cdo/Message box/configuration/doc
local ambox = {
types = {
speedy = {
class = 'ambox-speedy',
image = 'No_image_wide.svg'
},
delete = {
class = 'ambox-delete',
image = 'No_image_wide.svg'
},
content = {
class = 'ambox-content',
image = 'No_image_wide.svg'
},
style = {
class = 'ambox-style',
image = 'No_image_wide.svg'
},
move = {
class = 'ambox-move',
image = 'No_image_wide.svg'
},
protection = {
class = 'ambox-protection',
image = 'No_image_wide.svg'
},
notice = {
class = 'ambox-notice',
image = 'No_image_wide.svg'
}
},
default = 'notice',
allowBlankParams = {'talk', 'sect', 'date', 'issue', 'fix', 'subst', 'hidden'},
allowSmall = true,
smallParam = 'left',
smallClass = 'mbox-small-left',
substCheck = true,
classes = {'metadata', 'plainlinks', 'ambox'},
imageEmptyCell = true,
imageCheckBlank = true,
imageSmallSize = '3000x3000px',
imageCellDiv = true,
useCollapsibleTextFields = true,
imageRightNone = true,
sectionDefault = '條目',
allowMainspaceCategories = true,
templateCategory = '條目信息模板',
templateCategoryRequireName = true,
templateErrorCategory = '缺少參數其條目信息模板',
templateErrorParamsToCheck = {'issue', 'fix', 'subst'}
}
local cmbox = {
types = {
speedy = {
class = 'cmbox-speedy',
image = 'No_image_wide.svg'
},
delete = {
class = 'cmbox-delete',
image = 'No_image_wide.svg'
},
content = {
class = 'cmbox-content',
image = 'No_image_wide.svg'
},
style = {
class = 'cmbox-style',
image = 'No_image_wide.svg'
},
move = {
class = 'cmbox-move',
image = 'No_image_wide.svg'
},
protection = {
class = 'cmbox-protection',
image = 'No_image_wide.svg'
},
notice = {
class = 'cmbox-notice',
image = 'No_image_wide.svg'
}
},
default = 'notice',
showInvalidTypeError = true,
classes = {'plainlinks', 'cmbox'},
imageEmptyCell = true
}
local fmbox = {
types = {
warning = {
class = 'fmbox-warning',
image = 'No_image_wide.svg'
},
editnotice = {
class = 'fmbox-editnotice',
image = 'No_image_wide.svg'
},
system = {
class = 'fmbox-system',
image = 'No_image_wide.svg'
}
},
default = 'system',
showInvalidTypeError = true,
allowId = true,
classes = {'plainlinks', 'fmbox'},
imageEmptyCell = false,
imageRightNone = false
}
local imbox = {
types = {
speedy = {
class = 'imbox-speedy',
image = 'No_image_wide.svg'
},
delete = {
class = 'imbox-delete',
image = 'No_image_wide.svg'
},
content = {
class = 'imbox-content',
image = 'No_image_wide.svg'
},
style = {
class = 'imbox-style',
image = 'No_image_wide.svg'
},
move = {
class = 'imbox-move',
image = 'No_image_wide.svg'
},
protection = {
class = 'imbox-protection',
image = 'No_image_wide.svg'
},
license = {
class = 'imbox-license',
image = 'No_image_wide.svg'
},
featured = {
class = 'imbox-featured',
image = 'No_image_wide.svg'
},
notice = {
class = 'imbox-notice',
image = 'No_image_wide.svg'
}
},
default = 'notice',
showInvalidTypeError = true,
classes = {'imbox'},
usePlainlinksParam = true,
imageEmptyCell = true,
below = true,
templateCategory = '文件信息模板'
}
local ombox = {
types = {
speedy = {
class = 'ombox-speedy',
image = 'No_image_wide.svg'
},
delete = {
class = 'ombox-delete',
image = 'No_image_wide.svg'
},
content = {
class = 'ombox-content',
image = 'No_image_wide.svg'
},
style = {
class = 'ombox-style',
image = 'No_image_wide.svg'
},
move = {
class = 'ombox-move',
image = 'No_image_wide.svg'
},
protection = {
class = 'ombox-protection',
image = 'No_image_wide.svg'
},
notice = {
class = 'ombox-notice',
image = 'No_image_wide.svg'
}
},
default = 'notice',
showInvalidTypeError = true,
classes = {'plainlinks', 'ombox'},
allowSmall = true,
imageEmptyCell = true,
imageRightNone = true
}
local tmbox = {
types = {
speedy = {
class = 'tmbox-speedy',
image = 'No_image_wide.svg'
},
delete = {
class = 'tmbox-delete',
image = 'No_image_wide.svg'
},
content = {
class = 'tmbox-content',
image = 'No_image_wide.svg'
},
style = {
class = 'tmbox-style',
image = 'No_image_wide.svg '
},
move = {
class = 'tmbox-move',
image = 'No_image_wide.svg'
},
protection = {
class = 'tmbox-protection',
image = 'No_image_wide.svg'
},
notice = {
class = 'tmbox-notice',
image = 'No_image_wide.svg'
}
},
default = 'notice',
showInvalidTypeError = true,
classes = {'plainlinks', 'tmbox'},
allowId = true,
allowSmall = true,
imageRightNone = true,
imageEmptyCell = true,
imageEmptyCellStyle = true,
templateCategory = '討論信息模板'
}
return {
ambox = ambox,
cmbox = cmbox,
fmbox = fmbox,
imbox = imbox,
ombox = ombox,
tmbox = tmbox
}