باز کردن منو اصلی

ويکی شيعه β

تغییرات

پودمان:Message box/configuration

۵۹۵ بایت اضافه‌شده، ‏۳ اکتبر ۲۰۱۶، ساعت ۱۱:۰۴
allow all templates to disable the plainlinks class
local ---------------------------------------------------------------------------------- Message box configuration ---- ---- This module contains configuration data for [[Module:Message box]]. ---------------------------------------------------------------------------------- return { ambox = { types = { speedy = { class = 'ambox-speedy', image = 'Ambox speedy deletionwarning pn.pngsvg' }, delete = { class = 'ambox-delete', image = 'Ambox deletionwarning pn.pngsvg' }, content = { class = 'ambox-content', image = 'Ambox contentimportant.pngsvg' }, style = { class = 'ambox-style', image = 'Edit-clear.svg' }, move = { class = 'ambox-move', image = 'Merge-split-transwiki default.svg' }, protection = { class = 'ambox-moveprotection', image = 'Padlock-silver-medium.svg' }, notice = { class = 'ambox-notice', image = 'Ambox moveInformation icon4.pngsvg' }
},
protection default = 'notice', allowBlankParams = {'talk', 'sect', 'date', 'issue', 'fix', 'subst', 'hidden'}, class allowSmall = true, smallParam = 'left', smallClass = 'amboxmbox-small-protectionleft', image substCheck = true, classes = {'metadata', 'Ambox protection.pngambox'}, }imageEmptyCell = true, imageCheckBlank = true, imageSmallSize = '20x20px', imageCellDiv = true, useCollapsibleTextFields = true, imageRightNone = true, sectionDefault = 'article', notice allowMainspaceCategories = {true, class templateCategory = 'ambox-noticeArticle message templates', image templateCategoryRequireName = true, templateErrorCategory = 'Ambox notice.pngArticle message templates with missing parameters', templateErrorParamsToCheck = {'issue', 'fix', 'subst'}, removalNotice = '[[Help:Maintenance template removal|Learn how and when to remove this template message]]'
},
default cmbox = { types = 'notice',{ allowBlankParams speedy = { class = 'talkcmbox-speedy', image = 'sect', 'date', 'issue', 'fix', 'subst', 'hiddenAmbox warning pn.svg' }, allowSmall delete = true,{ smallParam class = 'rightcmbox-delete', smallClass image = 'mbox-small-rightAmbox warning pn.svg' }, substCheck content = true,{ classes class = {'metadatacmbox-content', image = 'plainlinks', 'amboxAmbox important.svg' }, imageEmptyCell style = true,{ imageCheckBlank class = true'cmbox-style', imageSmallSize image = '20x20pxEdit-clear.svg', imageCellDiv = true }, useCollapsibleTextFields move = true,{ imageRightNone = true, sectionDefault class = 'نوشتارcmbox-move', allowMainspaceCategories = true, templateCategory image = 'الگو:پیامی مقاله‌هاMerge-split-transwiki default.svg' }, templateCategoryRequireName protection = true,{ templateErrorCategory class = 'الگو:پیامی مقاله‌ها که برخی پارامترها را ندارندcmbox-protection', templateErrorParamsToCheck image = {'issuePadlock-silver-medium.svg', 'fix', 'subst'} }, local cmbox = { types = { speedy notice = { class = 'cmbox-speedynotice', image = 'Cmbox deletionInformation icon4.pngsvg' }
},
delete = { class default = 'cmbox-deletenotice', image = 'Cmbox deletion.png' }, content = { class showInvalidTypeError = 'cmbox-content'true, image = 'Cmbox content.png' }, style classes = { class = 'cmbox-style', image = 'Edit-clear.svg' }, move = { class imageEmptyCell = 'cmbox-move', image = 'Cmbox move.png' }, protection = { class = 'cmbox-protection', image = 'Cmbox protection.png' }, notice = { class = 'cmbox-notice', image = 'Cmbox notice.png' }true
},
default fmbox = 'notice',{ showInvalidTypeError types = true,{ classes warning = { class = 'plainlinksfmbox-warning', image = 'cmboxAmbox warning pn.svg' }, imageEmptyCell editnotice = true{} class = 'fmbox-editnotice', local fmbox image = {'Information icon4.svg' types = { }, warning system = { class = 'fmbox-warningsystem', image = 'Cmbox deletionInformation icon4.pngsvg' }
},
editnotice = { class default = 'fmbox-editnoticesystem', image showInvalidTypeError = 'Imbox notice.png' }true, system classes = { class = 'fmbox-system'}, image imageEmptyCell = 'Imbox notice.png'false, }imageRightNone = false
},
default imbox = { types = { speedy = { class = 'systemimbox-speedy', showInvalidTypeError image = true'Ambox warning pn.svg' }, allowId delete = true,{ classes class = {'plainlinksimbox-delete', image = 'fmboxAmbox warning pn.svg' }, imageEmptyCell content = { class = false'imbox-content', imageRightNone image = false'Ambox important.svg' }, style = {local class = 'imbox -style', image = {'Edit-clear.svg' types = { }, speedy move = { class = 'imbox-speedymove', image = 'Imbox speedy deletionMerge-split-transwiki default.pngsvg' }, delete protection = { class = 'imbox-deleteprotection', image = 'Imbox deletionPadlock-silver-medium.pngsvg' }, content license = { class = 'imbox-contentlicense licensetpl', image = 'Imbox contentlicense.png'-- @todo We need an SVG version of this }, style featured = { class = 'imbox-stylefeatured', image = 'EditCscr-clearfeatured.svg' }, move notice = { class = 'imbox-movenotice', image = 'Imbox moveInformation icon4.pngsvg' }
},
protection = { class default = 'imbox-protectionnotice', image showInvalidTypeError = 'Imbox protection.png' }true, license classes = { class = 'imbox-license licensetpl', image = 'Imbox license.png' }, featured = { class imageEmptyCell = 'imbox-featured'true, image below = 'Imbox featured.png' }true, notice = { class templateCategory = 'imbox-notice', image = File message boxes'Imbox notice.png' }
},
default ombox = { types = { speedy = { class = 'noticeombox-speedy', showInvalidTypeError image = true'Ambox warning pn.svg' }, classes delete = { class = 'ombox-delete', image = 'imboxAmbox warning pn.svg' }, usePlainlinksParam content = { class = true'ombox-content', imageEmptyCell image = true'Ambox important.svg' }, below style = { class = true'ombox-style', templateCategory image = 'الگو:پیامی پروندهEdit-clear.svg' }, move = {local class = 'ombox -move', image = {'Merge-split-transwiki default.svg' types = { }, speedy protection = { class = 'ombox-speedyprotection', image = 'Imbox speedy deletionPadlock-silver-medium.pngsvg' }, delete notice = { class = 'ombox-deletenotice', image = 'Imbox deletionInformation icon4.pngsvg' }
},
content = { class default = 'ombox-contentnotice', image showInvalidTypeError = 'Imbox content.png' }true, style classes = { class = 'ombox-style', image = 'Edit-clear.svg' }, move = { class allowSmall = 'ombox-move'true, image = 'Imbox move.png' }, protection = { class = 'ombox-protection', image imageEmptyCell = 'Imbox protection.png' }true, notice = { class = 'ombox-notice', image imageRightNone = 'Imbox notice.png' }true
},
default tmbox = { types = { speedy = { class = 'noticetmbox-speedy', showInvalidTypeError image = true'Ambox warning pn.svg' }, classes delete = { class = 'plainlinkstmbox-delete', image = 'omboxAmbox warning pn.svg' }, allowSmall content = { class = 'tmbox-content', image = true'Ambox important.svg' }, imageEmptyCell style = { class = true'tmbox-style', imageRightNone image = true'Edit-clear.svg' }, move = {local class = 'tmbox -move', image = 'Merge-split-transwiki default.svg' }, protection = { types class = 'tmbox-protection', image = {'Padlock-silver-medium.svg' }, speedy notice = { class = 'tmbox-speedynotice', image = 'Imbox speedy deletionInformation icon4.pngsvg' }
},
delete = { class = 'tmbox-delete', image = 'Imbox deletion.png' }, content = { class = 'tmbox-content', image = 'Imbox content.png' }, style = { class = 'tmbox-style', image = 'Edit-clear.svg ' }, move = { class = 'tmbox-move', image = 'Imbox move.png' }, protection = { class = 'tmbox-protection', image = 'Imbox protection.png' }, notice = { class = 'tmbox-notice', image = 'Imbox 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
}
کاربر گمنام