Modul:Message box/configuration

Permanently protected module
IMT HilfeWiki - das Wiki
< Modul:Message box
Version vom 7. September 2015, 14:33 Uhr von 127.0.0.1 (Diskussion) (Schützte „Modul:Message box/configuration“ ([Bearbeiten=Nur Administratoren erlauben] (unbeschränkt) [Verschieben=Nur Administratoren erlauben] (unbeschränkt)))
Documentation icon Module documentation
Das TemplateStyles-Attribut src darf nicht leer sein.

local ambox = {
	types = {
		speedy = {
			class = 'ambox-speedy',
			image = 'Mbox deletion.png'
		},
		delete = {
			class = 'ambox-delete',
			image = 'Mbox deletion.png'
		},
		content = {
			class = 'ambox-content',
			image = 'Mbox content.png'
		},
		style = {
			class = 'ambox-style',
			image = 'Mbox style.png'
		},
		move = {
			class = 'ambox-move',
			image = 'Mbox move.png'
		},
		protection = {
			class = 'ambox-protection',
			image = 'Padlock-silver.png'
		},
		notice = {
			class = 'ambox-notice',
			image = 'Mbox notice.png'
		}
	},
	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              = '20x20px',
	imageCellDiv                = true,
	useCollapsibleTextFields    = true,
	imageRightNone              = true,
	sectionDefault              = 'article',
	allowMainspaceCategories    = true,
--	templateCategory            = '', -- 'Article message templates',
--	templateCategoryRequireName = false,
--	templateErrorCategory       = '', --'Article message templates with missing parameters',
--	templateErrorParamsToCheck  = {} -- {'issue', 'fixed', 'subst'}
}

local cmbox = {
	types = {
		speedy = {
			class = 'cmbox-speedy',
			image = 'Mbox deletion.png'
		},
		delete = {
			class = 'cmbox-delete',
			image = 'Mbox deletion.png'
		},
		content = {
			class = 'cmbox-content',
			image = 'Mbox content.png'
		},
		style = {
			class = 'cmbox-style',
			image = 'Mbox style.png'
		},
		move = {
			class = 'cmbox-move',
			image = 'Mbox move.png'
		},
		protection = {
			class = 'cmbox-protection',
			image = 'Padlock-silver.png'
		},
		notice = {
			class = 'cmbox-notice',
			image = 'Mbox notice.png'
		}
	},
	default              = 'notice',
	showInvalidTypeError = true,
	classes              = {'plainlinks', 'cmbox'},
	imageEmptyCell       = true
}

local fmbox = {
	types = {
		warning = {
			class = 'fmbox-warning',
			image = 'Mbox deletion.png'
		},
		editnotice = {
			class = 'fmbox-editnotice',
			image = 'Mbox notice.png'
		},
		system = {
			class = 'fmbox-system',
			image = 'Mbox notice.png'
		}
	},
	default              = 'system',
	showInvalidTypeError = true,
	allowId                = true,
	classes              = {'plainlinks', 'fmbox'},
	imageEmptyCell       = false,
	imageRightNone       = false
}

local imbox = {
	types = {
		speedy = {
			class = 'imbox-speedy',
			image = 'Mbox deletion.png'
		},
		delete = {
			class = 'imbox-delete',
			image = 'Mbox deletion.png'
		},
		content = {
			class = 'imbox-content',
			image = 'Mbox content.png'
		},
		style = {
			class = 'imbox-style',
			image = 'Mbox style.png'
		},
		move = {
			class = 'imbox-move',
			image = 'Mbox move.png'
		},
		protection = {
			class = 'imbox-protection',
			image = 'Padlock-silver.png'
		},
		license = {
			class = 'imbox-license',
			image = 'Mbox license.png'
		},
		featured = {
			class = 'imbox-featured',
			image = 'Mbox featured.png'
		},
		notice = {
			class = 'imbox-notice',
			image = 'Mbox notice.png'
		}
	},
	default              = 'notice',
	showInvalidTypeError = true,
	classes              = {'imbox'},
	usePlainlinksParam   = true,
	imageEmptyCell       = true,
	below                = true
--	templateCategory     = 'File message boxes'
}

local ombox = {
	types = {
		speedy = {
			class = 'ombox-speedy',
			image = 'Mbox deletion.png'
		},
		delete = {
			class = 'ombox-delete',
			image = 'Mbox deletion.png'
		},
		content = {
			class = 'ombox-content',
			image = 'Mbox content.png'
		},
		style = {
			class = 'ombox-style',
			image = 'Mbox style.png'
		},
		move = {
			class = 'ombox-move',
			image = 'Mbox move.png'
		},
		protection = {
			class = 'ombox-protection',
			image = 'Padlock-silver.png'
		},
		notice = {
			class = 'ombox-notice',
			image = 'Mbox notice.png'
		}
	},
	default              = 'notice',
	showInvalidTypeError = true,
	classes              = {'plainlinks', 'ombox'},
	allowSmall           = true,
	imageEmptyCell       = true,
	imageRightNone       = true
}

local tmbox = {
	types = {
		speedy = {
			class = 'tmbox-speedy',
			image = 'Mbox deletion.png'
		},
		delete = {
			class = 'tmbox-delete',
			image = 'Mbox deletion.png'
		},
		content = {
			class = 'tmbox-content',
			image = 'Mbox content.png'
		},
		style = {
			class = 'tmbox-style',
			image = 'Mbox style.png'
		},
		move = {
			class = 'tmbox-move',
			image = 'Mbox move.png'
		},
		protection = {
			class = 'tmbox-protection',
			image = 'Padlock-silver.png'
		},
		notice = {
			class = 'tmbox-notice',
			image = 'Mbox notice.png'
		}
	},
	default              = 'notice',
	showInvalidTypeError = true,
	classes              = {'plainlinks', 'tmbox'},
	allowId              = true,
	allowSmall           = true,
	imageRightNone       = true,
	imageEmptyCell       = true,
	imageEmptyCellStyle  = true,
	templateCategory     = '' -- 'Talk message boxes'
}

return {
	ambox = ambox,
	cmbox = cmbox,
	fmbox = fmbox,
	imbox = imbox,
	ombox = ombox,
	tmbox = tmbox
}
Cookies helfen uns bei der Bereitstellung des IMT HilfeWikis. Bei der Nutzung vom IMT HilfeWiki werden die in der Datenschutzerklärung beschriebenen Cookies gespeichert.