Module:Message box/configuration

From MEpedia, a crowd-sourced encyclopedia of ME and CFS science and history

Documentation for this module may be created at Module:Message box/configuration/doc

--------------------------------------------------------------------------------
--                          Message box configuration                         --
--                                                                            --
-- This module contains configuration data for [[Module:Message box]].        --
--------------------------------------------------------------------------------

return {
	ambox = {
		types = {
			speedy = {
				class = 'transparent ambox-speedy',
				image = 'Speedy_delete.png'
			},
			delete = {
				class = 'transparent ambox-delete',
				image = 'Ambox warning pn.svg'
			},
			content = {
				class = 'transparent ambox-content',
				image = 'Ambox important.svg'
			},
			style = {
				class = 'transparent ambox-style',
				image = 'Edit-clear.svg'
			},
			move = {
				class = 'transparent ambox-move',
				image = 'Merge-split-transwiki default.svg'
			},
			protection = {
				class = 'transparent ambox-protection',
				image = 'Semi-protection-shackle.svg'
			},
			notice = {
				class = 'transparent ambox-notice',
				image = 'Information icon4.svg'
			}
		},
		default                     = 'notice',
		allowBlankParams            = {'talk', 'sect', 'date', 'issue', 'fix', 'subst', 'hidden'},
		allowSmall                  = true,
		smallParam                  = 'left',
		smallClass                  = 'transparent mbox-small-left',
		substCheck                  = true,
		classes                     = {'metadata', 'ambox'},
		imageEmptyCell              = true,
		imageCheckBlank             = true,
		imageSmallSize              = '20x20px',
		imageCellDiv                = true,
		useCollapsibleTextFields    = true,
		imageRightNone              = true,
		sectionDefault              = 'article',
		allowMainspaceCategories    = true,
		templateCategory            = 'Article message templates',
	        templateCategoryRequireName = true,
		templateErrorCategory       = 'Article message templates with missing parameters',
		templateErrorParamsToCheck  = {'issue', 'fix', 'subst'},
		removalNotice               = '[[Help:Maintenance template removal|Learn how and when to remove this template message]]'
	},
	
	cmbox = {
		types = {
			speedy = {
				class = 'transparent cmbox-speedy',
				image = 'Speedy_delete.png'
			},
			delete = {
				class = 'transparent cmbox-delete',
				image = 'Ambox warning pn.svg'
			},
			content = {
				class = 'transparent cmbox-content',
				image = 'Ambox important.svg'
			},
			style = {
				class = 'transparent cmbox-style',
				image = 'Edit-clear.svg'
			},
			move = {
				class = 'transparent cmbox-move',
				image = 'Merge-split-transwiki default.svg'
			},
			protection = {
				class = 'transparent cmbox-protection',
				image = 'Semi-protection-shackle.svg'
			},
			notice = {
				class = 'transparent cmbox-notice',
				image = 'Information icon4.svg'
			}
		},
		default              = 'notice',
		showInvalidTypeError = true,
		classes              = {'transparent cmbox'},
		imageEmptyCell       = true
	},
	
	fmbox = {
		types = {
			warning = {
				class = 'transparent fmbox-warning',
				image = 'Ambox warning pn.svg'
			},
			editnotice = {
				class = 'transparent fmbox-editnotice',
				image = 'Information icon4.svg'
			},
                  protection = {
				class = 'transparent ombox-protection',
				image = 'Red-protection-padlock.svg'
			},
			system = {
				class = 'transparent fmbox-system',
				image = 'Information icon4.svg'
			}
		},
		default              = 'system',
		showInvalidTypeError = true,
		classes              = {'transparent fmbox'},
		imageEmptyCell       = false,
		imageRightNone       = false
	},
	
	imbox = {
		types = {
			speedy = {
				class = 'transparent imbox-speedy',
				image = 'Speedy_delete.png'
			},
			delete = {
				class = 'transparent imbox-delete',
				image = 'Ambox warning pn.svg'
			},
			content = {
				class = 'transparent imbox-content',
				image = 'Ambox important.svg'
			},
			style = {
				class = 'transparent imbox-style',
				image = 'Edit-clear.svg'
			},
			move = {
				class = 'transparent imbox-move',
				image = 'Merge-split-transwiki default.svg'
			},
			protection = {
				class = 'transparent imbox-protection',
				image = 'Semi-protection-shackle.svg'
			},
			license = {
				class = 'transparent imbox-license licensetpl',
				image = 'Imbox license.png' -- @todo We need an SVG version of this
			},
			featured = {
				class = 'transparent imbox-featured',
				image = 'Cscr-featured.svg'
			},
			notice = {
				class = 'transparent imbox-notice',
				image = 'Information icon4.svg'
			}
		},
		default              = 'notice',
		showInvalidTypeError = true,
		classes              = {'transparent imbox'},
		imageEmptyCell       = true,
		below                = true,
		templateCategory     = 'File message boxes'
	},
	
	ombox = {
		types = {
			speedy = {
				class = 'transparent ombox-speedy',
				image = 'Speedy_delete.png'
			},
			delete = {
				class = 'transparent ombox-delete',
				image = 'Ambox warning pn.svg'
			},
			content = {
				class = 'transparent ombox-content',
				image = 'Ambox important.svg'
			},
			style = {
				class = 'transparent ombox-style',
				image = 'Edit-clear.svg'
			},
			move = {
				class = 'transparent ombox-move',
				image = 'Merge-split-transwiki default.svg'
			},
			protection = {
				class = 'transparent ombox-protection',
				image = 'Semi-protection-shackle.svg'
			},
			notice = {
				class = 'transparent ombox-notice',
				image = 'Information icon4.svg'
			}
		},
		default              = 'notice',
		showInvalidTypeError = true,
		classes              = {'transparent ombox'},
		allowSmall           = true,
		imageEmptyCell       = false,
		imageRightNone       = true
	},
	
	tmbox = {
		types = {
			speedy = {
				class = 'transparent tmbox-speedy',
				image = 'Speedy_delete.png'
			},
			delete = {
				class = 'transparent tmbox-delete',
				image = 'Ambox warning pn.svg'
			},
			content = {
				class = 'transparent tmbox-content',
				image = 'Ambox important.svg'
			},
			style = {
				class = 'transparent tmbox-style',
				image = 'Edit-clear.svg'
			},
			move = {
				class = 'transparent tmbox-move',
				image = 'Merge-split-transwiki default.svg'
			},
			protection = {
				class = 'transparent tmbox-protection',
				image = 'Semi-protection-shackle.svg'
			},
			notice = {
				class = 'transparent tmbox-notice',
				image = 'Information icon4.svg'
			}
		},
		default              = 'notice',
		showInvalidTypeError = true,
		classes              = {'transparent tmbox'},
		allowSmall           = true,
		imageRightNone       = true,
		imageEmptyCell       = true,
		imageEmptyCellStyle  = true,
		templateCategory     = 'Talk message boxes'
	}
}