求真百科歡迎當事人提供第一手真實資料,洗刷冤屈,終結網路霸凌。

變更

前往: 導覽搜尋

模块:Message box/configuration

移除 465 位元組, 5 年前
對所有類型mbox預設啟用plainlinks,相同於舊版本
local ambox = { types = { speedy = { class = 'ambox-speedy', image = 'Ambox warning pn.svg' }, delete = { class = 'ambox-delete', image = 'Ambox warning pn.svg' }, content = { class = 'ambox-content', image = 'Ambox important.svg' }, style = { class = 'ambox-style', image = 'Edit-clear.svg' }, move = { class = 'ambox-move', image = 'Merge-split-transwiki default.svg' }, protection = { class = 'ambox-protection', image = 'Semi-protection-shackle---------------------------------------------------------------------keyhole.svg' },-- Message box configuration -- notice = { class = 'ambox-- --notice',-- This module contains configuration data for [[Module:Message box]] image = 'Information icon4. svg' } }, default = 'notice', allowBlankParams = {'talk', 'sect', 'date', 'issue', 'fix', 'subst', 'hidden'}, allowSmall = true, smallParam = 'left', smallClass = 'mbox-small-left',-------------------------------------------------------------------------------- substCheck = true, classes = {'metadata', 'ambox'}, usePlainlinksParam = true, imageEmptyCell = true, imageCheckBlank = true, imageSmallSize = '20x20px', imageCellDiv = true, useCollapsibleTextFields = true, imageRightNone = true, sectionDefault = '條目', allowMainspaceCategories = true, templateCategory = '條目訊息模板', templateCategoryRequireName = true, templateErrorCategory = '缺少參數的條目訊息模板', templateErrorParamsToCheck = {'issue', 'fix', 'subst'}}
return local cmbox = { ambox types = { types speedy = { speedy = { class = 'amboxcmbox-speedy', image = 'Ambox warning pn.svg' }, delete = { class = 'amboxcmbox-delete', image = 'Ambox warning pn.svg' }, content = { class = 'amboxcmbox-content', image = 'Ambox important.svg' }, style = { class = 'amboxcmbox-style', image = 'Edit-clear.svg' }, move = { class = 'amboxcmbox-move', image = 'Merge-split-transwiki default.svg' }, protection = { class = 'amboxcmbox-protection', image = 'Semi-protection-shackle-keyhole.svg' }, notice = { class = 'ambox-notice', image = 'Information icon4.svg' }
},
default = 'notice', allowBlankParams = {'talk', 'sect', 'date', 'issue', 'fix', 'subst', 'hidden'}, allowSmall = true, smallParam class = 'left', smallClass = 'mboxcmbox-small-leftnotice', substCheck = true, classes image = {'metadata', 'amboxInformation icon4.svg'}, 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 = '[[Help:Maintenance template removal|Learn how and when to remove this template message]]'
},
cmbox = { types = { speedy = { class default = 'cmbox-speedynotice', image showInvalidTypeError = 'Ambox warning pn.svg' }true, delete classes = { class = 'cmbox-delete', image = 'Ambox warning pn.svg' }, content = { class usePlainlinksParam = 'cmbox-content'true, image imageEmptyCell = 'Ambox important.svg'true }, style local fmbox = { class types = 'cmbox-style',{ image = 'Edit-clear.svg' }, move warning = { class = 'cmbox-move', image = 'Merge-split-transwiki default.svg' }, protection = { class = 'cmboxfmbox-protection', image = 'Semi-protection-shackle-keyhole.svgwarning' }, notice = { class = 'cmbox-notice', image = 'Information icon4Ambox warning pn.svg' }
},
default editnotice = { class = 'noticefmbox-editnotice', image = 'Information icon4.svg' showInvalidTypeError = true}, classes system = { class = 'cmboxfmbox-system'}, image = 'Information icon4.svg' imageEmptyCell = true}
},
default = 'system', showInvalidTypeError = true, allowId = true, classes = {'fmbox '}, usePlainlinksParam = true, imageEmptyCell = false, imageRightNone = false} local imbox = { types = { types speedy = { class = 'imbox-speedy', image = 'Ambox warning pn.svg' }, delete = { class = 'fmboximbox-warningdelete', image = 'Ambox warning pn.svg' }, editnotice content = { class = 'fmboximbox-editnoticecontent', image = 'Information icon4Ambox important.svg' }, system style = { class = 'fmboximbox-systemstyle', image = 'Information icon4Edit-clear.svg' }, move = { }class = 'imbox-move', image = 'Merge-split-transwiki default.svg'
},
default protection = { class = 'systemimbox-protection', image = 'Semi-protection-shackle-keyhole.svg' }, showInvalidTypeError license = { class = true'imbox-license', image = 'Imbox license.png' }, classes featured = { class = 'fmboximbox-featured', image = 'Cscr-featured.svg' }, imageEmptyCell notice = { class = false'imbox-notice', image = 'Information icon4.svg' imageRightNone = false}
},
imbox = { types = { speedy = { class default = 'imbox-speedynotice', image showInvalidTypeError = 'Ambox warning pn.svg' }true, delete classes = { class = 'imbox-delete', image = 'Ambox warning pn.svg' }, content = { class usePlainlinksParam = 'imbox-content'true, image imageEmptyCell = 'Ambox important.svg' }true, style = { class below = 'imbox-style'true, image templateCategory = 'Edit-clear.svg檔案訊息模板' }, move local ombox = { class types = 'imbox-move',{ image speedy = 'Merge-split-transwiki default.svg' },{ protection = { class = 'imboxombox-protectionspeedy', image = 'Semi-protection-shackle-keyholeAmbox warning pn.svg' }, license delete = { class = 'imbox-license licensetpl', image = 'Imbox license.png' -- @todo We need an SVG version of this }, featured = { class = 'imboxombox-featureddelete', image = 'Cscr-featured.svg' }, notice = { class = 'imbox-notice', image = 'Information icon4Ambox warning pn.svg' }
},
default content = { class = 'ombox-content', image = 'noticeAmbox important.svg' }, showInvalidTypeError style = { class = true'ombox-style', image = 'Edit-clear.svg' classes }, move = { class = 'ombox-move', image = 'imboxMerge-split-transwiki default.svg' }, imageEmptyCell protection = true{ class = 'ombox-protection', image = 'Semi-protection-shackle-keyhole.svg' }, below notice = { class = true'ombox-notice', templateCategory image = 'File message boxesInformation icon4.svg' }
},
ombox = { types = { speedy = { class default = 'ombox-speedynotice', image showInvalidTypeError = 'Ambox warning pn.svg' }true, delete classes = { class = 'ombox-delete', image = 'Ambox warning pn.svg' }, content usePlainlinksParam = { class = 'ombox-content'true, image allowSmall = 'Ambox important.svg' }true, style = { class imageEmptyCell = 'ombox-style'true, image imageRightNone = 'Edit-clear.svg'true }, move local tmbox = { class types = 'ombox-move',{ image speedy = 'Merge-split-transwiki default.svg' },{ protection = { class = 'omboxtmbox-protection', image = 'Semi-protection-shackle-keyhole.svgspeedy' }, notice = { class = 'ombox-notice', image = 'Information icon4Ambox warning pn.svg' }
},
default delete = { class = 'tmbox-delete', image = 'noticeAmbox warning pn.svg' }, showInvalidTypeError content = { class = true'tmbox-content', image = 'Ambox important.svg' }, classes style = { class = 'omboxtmbox-style', image = 'Edit-clear.svg ' }, allowSmall move = true{ class = 'tmbox-move', image = 'Merge-split-transwiki default.svg' }, imageEmptyCell protection = true{ class = 'tmbox-protection', image = 'Semi-protection-shackle-keyhole.svg' }, imageRightNone notice = true{ class = 'tmbox-notice', image = 'Information icon4.svg' }
},
tmbox = { types = { speedy = { class default = 'tmbox-speedynotice', image showInvalidTypeError = 'Ambox warning pn.svg' }true, delete classes = { class = 'tmbox-delete'}, image usePlainlinksParam = 'Ambox warning pn.svg' }true, content allowId = { class = 'tmbox-content'true, image allowSmall = 'Ambox important.svg' }true, style imageRightNone = { class = 'tmbox-style'true, image imageEmptyCell = 'Edit-clear.svg' }true, move imageEmptyCellStyle = { class = 'tmbox-move'true, image templateCategory = 'Merge-split-transwiki default.svg討論訊息模板' }, protection = return { class ambox = 'tmbox-protection'ambox, image cmbox = 'Semi-protection-shackle-keyhole.svg' }cmbox, notice = { class fmbox = 'tmbox-notice'fmbox, image imbox = 'Information icon4.svg' } }imbox, default ombox = 'notice'ombox, showInvalidTypeError = true, classes tmbox = {'tmbox'}, allowSmall = true, imageRightNone = true, imageEmptyCell = true, imageEmptyCellStyle = true, templateCategory = 'Talk message boxes' }
}
匿名用戶