وحدة:Message box/configuration
توثيق الوحدة [أنشئ] [محو الاختزان][استخدامات] [قوالب]
--------------------------------------------------------------------------------
-- Message box configuration --
-- --
-- This module contains configuration data for [[Module:Message box]]. --
--------------------------------------------------------------------------------
return {
ambox = {
types = {
speedy = {
class = 'ambox-speedy',
image = 'Commons-emblem-speedy.svg'
},
delete = {
class = 'ambox-delete',
image = 'Gnome-emblem-important.svg'
},
content = {
class = 'ambox-content',
image = 'Commons-emblem-issue.svg'
},
style = {
class = 'ambox-style',
image = 'Commons-emblem-copyedit.svg'
},
move = {
class = 'ambox-move',
image = 'Commons-emblem-merge.svg'
},
protection = {
class = 'ambox-protection',
image = 'Commons-emblem-padlock.svg'
},
current = {
class = 'ambox-current',
image = 'Appointment red.svg'
},
notice = {
class = 'ambox-notice',
image = 'Commons-emblem-notice.svg'
},
featured = {
class = 'ambox-featured',
image = 'AE candidate.svg'
}
},
default = 'notice',
allowBlankParams = {'talk', 'sect', 'date', 'issue', 'fix', 'subst', 'hidden'},
allowSmall = true,
smallParam = 'يمين',
smallClass = 'mbox-small-right',
substCheck = true,
classes = {'metadata', 'ambox'},
imageEmptyCell = true,
imageCheckBlank = true,
imageSmallSize = '20x20px',
imageCellDiv = true,
useCollapsibleTextFields = true,
imageLeftNone = true,
sectionDefault = 'مقالة',
allowMainspaceCategories = true,
templateCategory = 'قوالب رسائل مقالات',
templateCategoryRequireName = true,
templateErrorCategory = 'قوالب رسائل مقالات بوسائط مفقودة',
templateErrorParamsToCheck = {'issue', 'fix', 'subst'},
removalNotice = '<span style="float:left;">[[ملف:Breezeicons-actions-22-help-about.svg|20px|وصلة=مساعدة:إزالة قوالب الصيانة|تعرَّف على طريقة التعامل مع هذه المسألة من أجل إزالة هذا القالب.]]</span>',
templatestyles = 'Module:Message box/ambox.css'
},
cmbox = {
types = {
speedy = {
class = 'cmbox-speedy',
image = 'Commons-emblem-speedy.svg'
},
delete = {
class = 'cmbox-delete',
image = 'Gnome-emblem-important.svg'
},
content = {
class = 'cmbox-content',
image = 'Commons-emblem-issue.svg'
},
style = {
class = 'cmbox-style',
image = 'Commons-emblem-copyedit.svg'
},
move = {
class = 'cmbox-move',
image = 'Commons-emblem-merge.svg'
},
protection = {
class = 'cmbox-protection',
image = 'Commons-emblem-padlock.svg'
},
notice = {
class = 'cmbox-notice',
image = 'Commons-emblem-notice.svg'
}
},
default = 'notice',
showInvalidTypeError = true,
classes = {'cmbox'},
imageEmptyCell = true,
templatestyles = 'Module:Message box/cmbox.css'
},
fmbox = {
types = {
warning = {
class = 'fmbox-warning',
image = 'Gnome-emblem-important.svg'
},
editnotice = {
class = 'fmbox-editnotice',
image = 'Commons-emblem-notice.svg'
},
system = {
class = 'fmbox-system',
image = 'Commons-emblem-notice.svg'
}
},
default = 'system',
showInvalidTypeError = true,
classes = {'fmbox'},
imageEmptyCell = false,
imageLeftNone = false,
templatestyles = 'Module:Message box/fmbox.css'
},
imbox = {
types = {
speedy = {
class = 'imbox-speedy',
image = 'Commons-emblem-speedy.svg'
},
delete = {
class = 'imbox-delete',
image = 'Gnome-emblem-important.svg'
},
content = {
class = 'imbox-content',
image = 'Commons-emblem-issue.svg'
},
style = {
class = 'imbox-style',
image = 'Commons-emblem-copyedit.svg'
},
move = {
class = 'imbox-move',
image = 'Commons-emblem-merge.svg'
},
protection = {
class = 'imbox-protection',
image = 'Commons-emblem-padlock.svg'
},
license = {
class = 'imbox-license licensetpl',
image = 'Imbox-license.svg'
},
featured = {
class = 'imbox-featured',
image = 'Cscr-featured.svg'
},
notice = {
class = 'imbox-notice',
image = 'Commons-emblem-notice.svg'
}
},
default = 'notice',
showInvalidTypeError = true,
classes = {'imbox'},
imageEmptyCell = true,
below = true,
templateCategory = 'صناديق رسائل ملفات',
templatestyles = 'Module:Message box/imbox.css'
},
ombox = {
types = {
speedy = {
class = 'ombox-speedy',
image = 'Commons-emblem-speedy.svg'
},
delete = {
class = 'ombox-delete',
image = 'Gnome-emblem-important.svg'
},
content = {
class = 'ombox-content',
image = 'Commons-emblem-issue.svg'
},
style = {
class = 'ombox-style',
image = 'Commons-emblem-copyedit.svg'
},
move = {
class = 'ombox-move',
image = 'Commons-emblem-merge.svg'
},
protection = {
class = 'ombox-protection',
image = 'Commons-emblem-padlock.svg'
},
notice = {
class = 'ombox-notice',
image = 'Commons-emblem-notice.svg'
}
},
default = 'notice',
showInvalidTypeError = true,
classes = {'ombox'},
allowSmall = true,
imageEmptyCell = true,
imageLeftNone = true,
templatestyles = 'Module:Message box/ombox.css'
},
tmbox = {
types = {
speedy = {
class = 'tmbox-speedy',
image = 'Commons-emblem-speedy.svg'
},
delete = {
class = 'tmbox-delete',
image = 'Gnome-emblem-important.svg'
},
content = {
class = 'tmbox-content',
image = 'Commons-emblem-issue.svg'
},
style = {
class = 'tmbox-style',
image = 'Commons-emblem-copyedit.svg'
},
move = {
class = 'tmbox-move',
image = 'Commons-emblem-merge.svg'
},
protection = {
class = 'tmbox-protection',
image = 'Commons-emblem-padlock.svg'
},
notice = {
class = 'tmbox-notice',
image = 'Commons-emblem-notice.svg'
}
},
default = 'notice',
showInvalidTypeError = true,
classes = {'tmbox'},
allowSmall = true,
imageLeftNone = true,
imageEmptyCell = true,
templateCategory = 'صناديق رسائل نقاش',
templatestyles = 'Module:Message box/tmbox.css'
}
}