CURRENT MISSION: Conclude the 2026 soyjak.party hack page, aswell as any pages relating to it, such as the Summer 2026 Crisis page.
Update Quotecord with any relevant info. See the blackboard for more info.

Module:Message box/configuration

From Soyjak Wiki, the free ensoyclopedia
Jump to navigationJump to search

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 = 'ambox-speedy',
				image = 'Red warning.png'
			},
			delete = {
				class = 'ambox-delete',
				image = 'Red warning.png'
			},
			content = {
				class = 'ambox-content',
				image = 'Yellow important.png'
			},
			style = {
				class = 'ambox-style',
				image = 'Broom.gif'
			},
			move = {
				class = 'ambox-move',
				image = 'Doll moving.png'
			},
			protection = {
				class = 'ambox-protection',
				image = 'GoldSwedeLock.png'
			},
			notice = {
				class = 'ambox-notice',
				image = 'Blue_info.png'
			}
		},
		default                     = 'notice',
		allowBlankParams            = {'talk', 'sect', 'date', 'issue', 'fix', 'subst', 'hidden'},
		allowSmall                  = true,
		smallParam                  = 'left',
		smallClass                  = '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               = '<small>[[Help:Maintenance template removal|Learn how and when to remove this message]]</small>',
		templatestyles              = 'Module:Message box/ambox.css'
	},
	
	cmbox = {
		types = {
			speedy = {
				class = 'cmbox-speedy',
				image = 'Red warning.png'
			},
			delete = {
				class = 'cmbox-delete',
				image = 'Red warning.png'
			},
			content = {
				class = 'cmbox-content',
				image = 'Yellow important.png'
			},
			style = {
				class = 'cmbox-style',
				image = 'Broom.gif'
			},
			move = {
				class = 'cmbox-move',
				image = 'Doll moving.png'
			},
			protection = {
				class = 'cmbox-protection',
				image = 'GoldSwedeLock.png'
			},
			notice = {
				class = 'cmbox-notice',
				image = 'Blue_info.png'
			}
		},
		default              = 'notice',
		showInvalidTypeError = true,
		classes              = {'cmbox'},
		imageEmptyCell       = true,
		templatestyles       = 'Module:Message box/cmbox.css',
		div_structure        = true,
	},
	
	fmbox = {
		types = {
			warning = {
				class = 'fmbox-warning',
				image = 'Red warning.png'
			},
			editnotice = {
				class = 'fmbox-editnotice',
				image = 'Blue_info.png'
			},
			system = {
				class = 'fmbox-system',
				image = 'Blue_info.png'
			}
		},
		default              = 'system',
		showInvalidTypeError = true,
		classes              = {'fmbox'},
		imageEmptyCell       = false,
		imageRightNone       = false,
		templatestyles       = 'Module:Message box/fmbox.css',
		div_structure        = true,
	},
	
	imbox = {
		types = {
			speedy = {
				class = 'imbox-speedy',
				image = 'Red warning.png'
			},
			delete = {
				class = 'imbox-delete',
				image = 'Red warning.png'
			},
			content = {
				class = 'imbox-content',
				image = 'Yellow important.png'
			},
			style = {
				class = 'imbox-style',
				image = 'Broom.gif'
			},
			move = {
				class = 'imbox-move',
				image = 'Doll moving.png'
			},
			protection = {
				class = 'imbox-protection',
				image = 'GoldSwedeLock.png'
			},
			license = {
				class = 'imbox-license licensetpl',
				image = 'Imbox-license.svg'
			},
			["license-related"] = {
				class = 'imbox-license',
				image = 'Imbox-license.svg'
			},
			featured = {
				class = 'imbox-featured',
				image = 'Cscr-featured.svg',
				imageNeedsLink = true
			},
			notice = {
				class = 'imbox-notice',
				image = 'Blue_info.png'
			}
		},
		default              = 'notice',
		showInvalidTypeError = true,
		classes              = {'imbox'},
		imageEmptyCell       = true,
		below                = true,
		templateCategory     = 'File message boxes',
		templatestyles       = 'Module:Message box/imbox.css',
		div_structure        = true,
	},
	
	ombox = {
		types = {
			speedy = {
				class = 'ombox-speedy',
				image = 'Red warning.png'
			},
			delete = {
				class = 'ombox-delete',
				image = 'Red warning.png'
			},
			content = {
				class = 'ombox-content',
				image = 'Yellow important.png'
			},
			style = {
				class = 'ombox-style',
				image = 'Broom.gif'
			},
			move = {
				class = 'ombox-move',
				image = 'Doll moving.png'
			},
			protection = {
				class = 'ombox-protection',
				image = 'GoldSwedeLock.png'
			},
			notice = {
				class = 'ombox-notice',
				image = 'Blue_info.png'
			}
		},
		default              = 'notice',
		showInvalidTypeError = true,
		classes              = {'ombox'},
		allowSmall           = true,
		imageEmptyCell       = true,
		imageRightNone       = true,
		templatestyles       = 'Module:Message box/ombox.css'
	},
	
	tmbox = {
		types = {
			speedy = {
				class = 'tmbox-speedy',
				image = 'Red warning.png'
			},
			delete = {
				class = 'tmbox-delete',
				image = 'Red warning.png'
			},
			content = {
				class = 'tmbox-content',
				image = 'Yellow important.png'
			},
			style = {
				class = 'tmbox-style',
				image = 'Broom.gif'
			},
			move = {
				class = 'tmbox-move',
				image = 'Doll moving.png'
			},
			protection = {
				class = 'tmbox-protection',
				image = 'GoldSwedeLock.png'
			},
			notice = {
				class = 'tmbox-notice',
				image = 'Blue_info.png'
			}
		},
		default              = 'notice',
		showInvalidTypeError = true,
		classes              = {'tmbox'},
		allowSmall           = true,
		imageRightNone       = true,
		imageEmptyCell       = true,
		templateCategory     = 'Talk message boxes',
		templatestyles       = 'Module:Message box/tmbox.css'
	}
}