◆少前百科是非盈利性、非官方的少女前线维基百科。
◆如果您发现某些内容错误/空缺,请勇于修正/添加!参与进来其实很容易!点这里 加入少前百科
◆有任何意见、建议、纠错,欢迎在 GFwiki:反馈与建议 提出和讨论。编辑事务讨论QQ群:597764980,微博@GFwiki少前百科
◆To foreigners,You can use twitter to contact us.
Icon Nyto Silver.png

模块:Message box/configuration

来自少前百科GFwiki
跳转至: 导航搜索

此模块的文档可以在模块:Message box/configuration/doc创建

local ambox = {
	types = {
		speedy = {
			class = 'ambox-speedy',
			image = 'No_image_wide.svg'
		},
		delete = {
			class = 'ambox-delete',
			image = 'No_image_wide.svg'
		},
		content = {
			class = 'ambox-content',
			image = 'No_image_wide.svg'
		},
		style = {
			class = 'ambox-style',
			image = 'No_image_wide.svg'
		},
		move = {
			class = 'ambox-move',
			image = 'No_image_wide.svg'
		},
		protection = {
			class = 'ambox-protection',
			image = 'No_image_wide.svg'
		},
		notice = {
			class = 'ambox-notice',
			image = 'No_image_wide.svg'
		}
	},
	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              = '3000x3000px',
	imageCellDiv                = true,
	useCollapsibleTextFields    = true,
	imageRightNone              = true,
	sectionDefault              = '條目',
	allowMainspaceCategories    = true,
	templateCategory            = '條目訊息模板',
        templateCategoryRequireName = true,
	templateErrorCategory       = '缺少參數的條目訊息模板',
	templateErrorParamsToCheck  = {'issue', 'fix', 'subst'}
}

local cmbox = {
	types = {
		speedy = {
			class = 'cmbox-speedy',
			image = 'No_image_wide.svg'
		},
		delete = {
			class = 'cmbox-delete',
			image = 'No_image_wide.svg'
		},
		content = {
			class = 'cmbox-content',
			image = 'No_image_wide.svg'
		},
		style = {
			class = 'cmbox-style',
			image = 'No_image_wide.svg'
		},
		move = {
			class = 'cmbox-move',
			image = 'No_image_wide.svg'
		},
		protection = {
			class = 'cmbox-protection',
			image = 'No_image_wide.svg'
		},
		notice = {
			class = 'cmbox-notice',
			image = 'No_image_wide.svg'
		}
	},
	default              = 'notice',
	showInvalidTypeError = true,
	classes              = {'plainlinks', 'cmbox'},
	imageEmptyCell       = true
}

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

local imbox = {
	types = {
		speedy = {
			class = 'imbox-speedy',
			image = 'No_image_wide.svg'
		},
		delete = {
			class = 'imbox-delete',
			image = 'No_image_wide.svg'
		},
		content = {
			class = 'imbox-content',
			image = 'No_image_wide.svg'
		},
		style = {
			class = 'imbox-style',
			image = 'No_image_wide.svg'
		},
		move = {
			class = 'imbox-move',
			image = 'No_image_wide.svg'
		},
		protection = {
			class = 'imbox-protection',
			image = 'No_image_wide.svg'
		},
		license = {
			class = 'imbox-license',
			image = 'No_image_wide.svg'
		},
		featured = {
			class = 'imbox-featured',
			image = 'No_image_wide.svg'
		},
		notice = {
			class = 'imbox-notice',
			image = 'No_image_wide.svg'
		}
	},
	default              = 'notice',
	showInvalidTypeError = true,
	classes              = {'imbox'},
	usePlainlinksParam   = true,
	imageEmptyCell       = true,
	below                = true,
	templateCategory     = '檔案訊息模板'
}

local ombox = {
	types = {
		speedy = {
			class = 'ombox-speedy',
			image = 'No_image_wide.svg'
		},
		delete = {
			class = 'ombox-delete',
			image = 'No_image_wide.svg'
		},
		content = {
			class = 'ombox-content',
			image = 'No_image_wide.svg'
		},
		style = {
			class = 'ombox-style',
			image = 'No_image_wide.svg'
		},
		move = {
			class = 'ombox-move',
			image = 'No_image_wide.svg'
		},
		protection = {
			class = 'ombox-protection',
			image = 'No_image_wide.svg'
		},
		notice = {
			class = 'ombox-notice',
			image = 'No_image_wide.svg'
		}
	},
	default              = 'notice',
	showInvalidTypeError = true,
	classes              = {'plainlinks', 'ombox'},
	allowSmall           = true,
	imageEmptyCell       = true,
	imageRightNone       = true
}

local tmbox = {
	types = {
		speedy = {
			class = 'tmbox-speedy',
			image = 'No_image_wide.svg'
		},
		delete = {
			class = 'tmbox-delete',
			image = 'No_image_wide.svg'
		},
		content = {
			class = 'tmbox-content',
			image = 'No_image_wide.svg'
		},
		style = {
			class = 'tmbox-style',
			image = 'No_image_wide.svg '
		},
		move = {
			class = 'tmbox-move',
			image = 'No_image_wide.svg'
		},
		protection = {
			class = 'tmbox-protection',
			image = 'No_image_wide.svg'
		},
		notice = {
			class = 'tmbox-notice',
			image = 'No_image_wide.svg'
		}
	},
	default              = 'notice',
	showInvalidTypeError = true,
	classes              = {'plainlinks', 'tmbox'},
	allowId              = true,
	allowSmall           = true,
	imageRightNone       = true,
	imageEmptyCell       = true,
	imageEmptyCellStyle  = true,
	templateCategory     = '討論訊息模板'
}

return {
	ambox = ambox,
	cmbox = cmbox,
	fmbox = fmbox,
	imbox = imbox,
	ombox = ombox,
	tmbox = tmbox
}