Permanently protected module

Module:Message box/config: Difference between revisions

From HIBIKIFORUM
Jump to navigation Jump to search
mNo edit summary
m (Changed protection settings for "Module:Message box/config" ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite)))
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--                          Message box configuration                        --
--                          Message box Config                    --
--                                                                            --
--                                                                            --
-- This module contains configuration data for [[Module:Message box]].        --
-- This module contains configuration data for [[Module:Message box]].        --
Line 26: Line 26:
move = {
move = {
class = 'ambox-move',
class = 'ambox-move',
image = 'Merge-split-transwiki default.svg'
image = 'Move.png'
},
},
protection = {
protection = {
Line 56: Line 56:
templateErrorCategory      = 'Article message templates with missing parameters',
templateErrorCategory      = 'Article message templates with missing parameters',
templateErrorParamsToCheck  = {'issue', 'fix', 'subst'},
templateErrorParamsToCheck  = {'issue', 'fix', 'subst'},
removalNotice              = '[[Help:Maintenance template removal|Learn how and when to remove this template message]]'
removalNotice              = '<small>[[Help:Maintenance template removal|Learn how and when to remove this template message]]</small>',
templatestyles              = 'Module:Message box/ambox.css'
},
},
Line 79: Line 80:
move = {
move = {
class = 'cmbox-move',
class = 'cmbox-move',
image = 'Merge-split-transwiki default.svg'
image = 'Move.png'
},
},
protection = {
protection = {
Line 93: Line 94:
showInvalidTypeError = true,
showInvalidTypeError = true,
classes              = {'cmbox'},
classes              = {'cmbox'},
imageEmptyCell      = true
imageEmptyCell      = true,
templatestyles      = 'Module:Message box/cmbox.css'
},
},
Line 115: Line 117:
classes              = {'fmbox'},
classes              = {'fmbox'},
imageEmptyCell      = false,
imageEmptyCell      = false,
imageRightNone      = false
imageRightNone      = false,
templatestyles      = 'Module:Message box/fmbox.css'
},
},
Line 138: Line 141:
move = {
move = {
class = 'imbox-move',
class = 'imbox-move',
image = 'Merge-split-transwiki default.svg'
image = 'Move.png'
},
},
protection = {
protection = {
class = 'imbox-protection',
class = 'imbox-protection',
image = 'Lock.png'
image = 'Lock.png'
},
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 = {
notice = {
Line 162: Line 157:
imageEmptyCell      = true,
imageEmptyCell      = true,
below                = true,
below                = true,
templateCategory    = 'File message boxes'
templateCategory    = 'File message boxes',
templatestyles      = 'Module:Message box/imbox.css'
},
},
Line 185: Line 181:
move = {
move = {
class = 'ombox-move',
class = 'ombox-move',
image = 'Merge-split-transwiki default.svg'
image = 'Move.png'
},
},
protection = {
protection = {
Line 201: Line 197:
allowSmall          = true,
allowSmall          = true,
imageEmptyCell      = true,
imageEmptyCell      = true,
imageRightNone      = true
imageRightNone      = true,
templatestyles      = 'Module:Message box/ombox.css'
},
},
Line 224: Line 221:
move = {
move = {
class = 'tmbox-move',
class = 'tmbox-move',
image = 'Merge-split-transwiki default.svg'
image = 'Move.png'
},
},
protection = {
protection = {
Line 242: Line 239:
imageEmptyCell      = true,
imageEmptyCell      = true,
imageEmptyCellStyle  = true,
imageEmptyCellStyle  = true,
templateCategory    = 'Talk message boxes'
templateCategory    = 'Talk message boxes',
templatestyles      = 'Module:Message box/tmbox.css'
}
}
}
}

Latest revision as of 05:25, 19 June 2023


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

return {
	ambox = {
		types = {
			speedy = {
				class = 'ambox-speedy',
				image = 'Warning.png'
			},
			delete = {
				class = 'ambox-delete',
				image = 'Warning.png'
			},
			content = {
				class = 'ambox-content',
				image = 'Content.png'
			},
			style = {
				class = 'ambox-style',
				image = 'Cleanup.png'
			},
			move = {
				class = 'ambox-move',
				image = 'Move.png'
			},
			protection = {
				class = 'ambox-protection',
				image = 'Lock.png'
			},
			notice = {
				class = 'ambox-notice',
				image = '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 template message]]</small>',
		templatestyles              = 'Module:Message box/ambox.css'
	},
	
	cmbox = {
		types = {
			speedy = {
				class = 'cmbox-speedy',
				image = 'Warning.png'
			},
			delete = {
				class = 'cmbox-delete',
				image = 'Warning.png'
			},
			content = {
				class = 'cmbox-content',
				image = 'Content.png'
			},
			style = {
				class = 'cmbox-style',
				image = 'Cleanup.png'
			},
			move = {
				class = 'cmbox-move',
				image = 'Move.png'
			},
			protection = {
				class = 'cmbox-protection',
				image = 'Lock.png'
			},
			notice = {
				class = 'cmbox-notice',
				image = 'Info.png'
			}
		},
		default              = 'notice',
		showInvalidTypeError = true,
		classes              = {'cmbox'},
		imageEmptyCell       = true,
		templatestyles       = 'Module:Message box/cmbox.css'
	},
	
	fmbox = {
		types = {
			warning = {
				class = 'fmbox-warning',
				image = 'Warning.png'
			},
			editnotice = {
				class = 'fmbox-editnotice',
				image = 'Content.png'
			},
			system = {
				class = 'fmbox-system',
				image = 'Info.png'
			}
		},
		default              = 'system',
		showInvalidTypeError = true,
		classes              = {'fmbox'},
		imageEmptyCell       = false,
		imageRightNone       = false,
		templatestyles       = 'Module:Message box/fmbox.css'
	},
	
	imbox = {
		types = {
			speedy = {
				class = 'imbox-speedy',
				image = 'Warning.png'
			},
			delete = {
				class = 'imbox-delete',
				image = 'Warning.png'
			},
			content = {
				class = 'imbox-content',
				image = 'Content.png'
			},
			style = {
				class = 'imbox-style',
				image = 'Cleanup.png'
			},
			move = {
				class = 'imbox-move',
				image = 'Move.png'
			},
			protection = {
				class = 'imbox-protection',
				image = 'Lock.png'
			},
			notice = {
				class = 'imbox-notice',
				image = 'Info.png'
			}
		},
		default              = 'notice',
		showInvalidTypeError = true,
		classes              = {'imbox'},
		imageEmptyCell       = true,
		below                = true,
		templateCategory     = 'File message boxes',
		templatestyles       = 'Module:Message box/imbox.css'
	},
	
	ombox = {
		types = {
			speedy = {
				class = 'ombox-speedy',
				image = 'Warning.png'
			},
			delete = {
				class = 'ombox-delete',
				image = 'Warning.png'
			},
			content = {
				class = 'ombox-content',
				image = 'Content.png'
			},
			style = {
				class = 'ombox-style',
				image = 'Cleanup.png'
			},
			move = {
				class = 'ombox-move',
				image = 'Move.png'
			},
			protection = {
				class = 'ombox-protection',
				image = 'Lock.png'
			},
			notice = {
				class = 'ombox-notice',
				image = '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 = 'Warning.png'
			},
			delete = {
				class = 'tmbox-delete',
				image = 'Warning.png'
			},
			content = {
				class = 'tmbox-content',
				image = 'Content.png'
			},
			style = {
				class = 'tmbox-style',
				image = 'Cleanup.png'
			},
			move = {
				class = 'tmbox-move',
				image = 'Move.png'
			},
			protection = {
				class = 'tmbox-protection',
				image = 'Lock.png'
			},
			notice = {
				class = 'tmbox-notice',
				image = 'Info.png'
			}
		},
		default              = 'notice',
		showInvalidTypeError = true,
		classes              = {'tmbox'},
		allowSmall           = true,
		imageRightNone       = true,
		imageEmptyCell       = true,
		imageEmptyCellStyle  = true,
		templateCategory     = 'Talk message boxes',
		templatestyles       = 'Module:Message box/tmbox.css'
	}
}