Jump to content

Mòideal:Message box/configuration/sandbox

O Wiktionary

(deasbaireachd⧼tpt-languages-separator⧽deasaich⧼tpt-languages-separator⧽eachdraidh⧼tpt-languages-separator⧽ceanglaichean⧼tpt-languages-separator⧽doc⧼tpt-languages-separator⧽bogsa-gainmhich⧼tpt-languages-separator⧽cùisean deuchainn)


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

return {
	Ambox = {
		types = {
			speedy = {
				class = 'Ambox-speedy',
				image = 'Ambox warning pn.svg'
			},
			delete = {
				class = 'Ambox-delete',
				image = 'Ambox warning pn.svg'
			},
			content = {
				class = 'Ambox-content',
				image = 'Ambox important.svg'
			},
			style = {
				class = 'Ambox-style',
				image = 'Edit-clear.svg'
			},
			move = {
				class = 'Ambox-move',
				image = 'Merge-split-transwiki default.svg'
			},
			protection = {
				class = 'Ambox-protection',
				image = 'Semi-protection-shackle-keyhole.svg'
			},
			notice = {
				class = 'Ambox-notice',
				image = 'Information icon4.svg'
			}
		},
		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'},
		styles                      = 'Ambox/styles.css',
		removalNotice               = '[[Help:Maintenance template removal|Learn when and how to remove this template message]]'
	},
	
	Cmbox = {
		types = {
			speedy = {
				class = 'Cmbox-speedy',
				image = 'Ambox warning pn.svg'
			},
			delete = {
				class = 'Cmbox-delete',
				image = 'Ambox warning pn.svg'
			},
			content = {
				class = 'Cmbox-content',
				image = 'Ambox important.svg'
			},
			style = {
				class = 'Cmbox-style',
				image = 'Edit-clear.svg'
			},
			move = {
				class = 'Cmbox-move',
				image = 'Merge-split-transwiki default.svg'
			},
			protection = {
				class = 'Cmbox-protection',
				image = 'Semi-protection-shackle-keyhole.svg'
			},
			notice = {
				class = 'Cmbox-notice',
				image = 'Information icon4.svg'
			}
		},
		default              = 'notice',
		showInvalidTypeError = true,
		classes              = {'Cmbox'},
		styles               = 'Cmbox/styles.css',
		imageEmptyCell       = true
	},
	
	Fmbox = {
		types = {
			warning = {
				class = 'Fmbox-warning',
				image = 'Ambox warning pn.svg'
			},
			editnotice = {
				class = 'Fmbox-editnotice',
				image = 'Information icon4.svg'
			},
			system = {
				class = 'Fmbox-system',
				image = 'Information icon4.svg'
			}
		},
		default              = 'system',
		showInvalidTypeError = true,
		classes              = {'Fmbox'},
		imageEmptyCell       = false,
		styles               = 'Fmbox/styles.css',
		imageRightNone       = false
	},
	
	Imbox = {
		types = {
			speedy = {
				class = 'Imbox-speedy',
				image = 'Ambox warning pn.svg'
			},
			delete = {
				class = 'Imbox-delete',
				image = 'Ambox warning pn.svg'
			},
			content = {
				class = 'Imbox-content',
				image = 'Ambox important.svg'
			},
			style = {
				class = 'Imbox-style',
				image = 'Edit-clear.svg'
			},
			move = {
				class = 'Imbox-move',
				image = 'Merge-split-transwiki default.svg'
			},
			protection = {
				class = 'Imbox-protection',
				image = 'Semi-protection-shackle-keyhole.svg'
			},
			license = {
				class = 'Imbox-license licensetpl',
				image = 'Imbox license.png' -- @todo We need an SVG version of this
			},
			featured = {
				class = 'Imbox-featured',
				image = 'Cscr-featured.svg'
			},
			notice = {
				class = 'Imbox-notice',
				image = 'Information icon4.svg'
			}
		},
		default              = 'notice',
		showInvalidTypeError = true,
		classes              = {'Imbox'},
		imageEmptyCell       = true,
		below                = true,
		styles               = 'Imbox/styles.css',
		templateCategory     = 'File message boxes'
	},
	
	Ombox = {
		types = {
			speedy = {
				class = 'Ombox-speedy',
				image = 'Ambox warning pn.svg'
			},
			delete = {
				class = 'Ombox-delete',
				image = 'Ambox warning pn.svg'
			},
			content = {
				class = 'Ombox-content',
				image = 'Ambox important.svg'
			},
			style = {
				class = 'Ombox-style',
				image = 'Edit-clear.svg'
			},
			move = {
				class = 'Ombox-move',
				image = 'Merge-split-transwiki default.svg'
			},
			protection = {
				class = 'Ombox-protection',
				image = 'Semi-protection-shackle-keyhole.svg'
			},
			notice = {
				class = 'Ombox-notice',
				image = 'Information icon4.svg'
			}
		},
		default              = 'notice',
		showInvalidTypeError = true,
		classes              = {'Ombox'},
		allowSmall           = true,
		imageEmptyCell       = true,
		styles               = 'Ombox/styles.css',
		imageRightNone       = true
	},
	
	Tmbox = {
		types = {
			speedy = {
				class = 'Tmbox-speedy',
				image = 'Ambox warning pn.svg'
			},
			delete = {
				class = 'Tmbox-delete',
				image = 'Ambox warning pn.svg'
			},
			content = {
				class = 'Tmbox-content',
				image = 'Ambox important.svg'
			},
			style = {
				class = 'Tmbox-style',
				image = 'Edit-clear.svg'
			},
			move = {
				class = 'Tmbox-move',
				image = 'Merge-split-transwiki default.svg'
			},
			protection = {
				class = 'Tmbox-protection',
				image = 'Semi-protection-shackle-keyhole.svg'
			},
			notice = {
				class = 'Tmbox-notice',
				image = 'Information icon4.svg'
			}
		},
		default              = 'notice',
		showInvalidTypeError = true,
		classes              = {'Tmbox'},
		allowSmall           = true,
		imageRightNone       = true,
		imageEmptyCell       = true,
		imageEmptyCellStyle  = true,
		styles               = 'Tmbox/styles.css',
		templateCategory     = 'Talk message boxes'
	}
}