«Модуль:Message box/configuration» и «Модуль:Message box/configuration/песочница»: разница между страницами
(Различия между страницами)
Импортёр (обсуждение | вклад) м (1 версия импортирована) |
Импортёр (обсуждение | вклад) м (1 версия импортирована) |
||
Строка 6: | Строка 6: | ||
return { | return { | ||
ambox = { | |||
types = { | types = { | ||
speedy = { | speedy = { | ||
Строка 69: | Строка 69: | ||
allowMainspaceCategories = true, | allowMainspaceCategories = true, | ||
templateCategory = 'Шаблоны:Шаблоны-сообщения для статей', | templateCategory = 'Шаблоны:Шаблоны-сообщения для статей', | ||
templateCategoryRequireName = true, | |||
templateErrorCategory = 'Шаблоны:Шаблоны-сообщения для статей с пропущенными параметрами', | templateErrorCategory = 'Шаблоны:Шаблоны-сообщения для статей с пропущенными параметрами', | ||
templateErrorParamsToCheck = {' | templateErrorParamsToCheck = {'text', 'type'}, | ||
removalNotice = '[[Help:Maintenance template removal|Learn how and when to remove this template message]]' | removalNotice = '[[Help:Maintenance template removal|Learn how and when to remove this template message]]' | ||
}, | }, | ||
cmbox = { | |||
types = { | types = { | ||
speedy = { | speedy = { | ||
Строка 106: | Строка 106: | ||
} | } | ||
}, | }, | ||
default | default = 'notice', | ||
showInvalidTypeError | showInvalidTypeError = true, | ||
classes | classes = {'cmbox'}, | ||
imageEmptyCell | imageEmptyCell = true | ||
}, | }, | ||
fmbox = { | |||
types = { | types = { | ||
warning = { | warning = { | ||
Строка 128: | Строка 127: | ||
} | } | ||
}, | }, | ||
default | default = 'system', | ||
showInvalidTypeError | showInvalidTypeError = true, | ||
classes | classes = {'fmbox'}, | ||
imageEmptyCell | imageEmptyCell = false, | ||
imageRightNone | imageRightNone = false | ||
}, | }, | ||
imbox = { | |||
types = { | types = { | ||
notice = { | |||
class = 'imbox- | class = 'imbox-notice', | ||
image = ' | image = 'Information icon4.svg' | ||
}, | }, | ||
attribution = { | |||
class = 'imbox- | class = 'imbox-attribution', | ||
image = ' | image = 'Green copyright.svg' | ||
}, | }, | ||
FCW = { | |||
class = 'imbox- | class = 'imbox-fcw', | ||
image = ' | image = 'CC some rights reserved.svg' | ||
}, | }, | ||
FU = { | |||
class = 'imbox- | class = 'imbox-fu', | ||
image = ' | image = 'Red copyright.svg' | ||
}, | }, | ||
info = { | |||
class = 'imbox- | class = 'imbox-info', | ||
}, | }, | ||
PD = { | |||
class = 'imbox- | class = 'imbox-pd', | ||
image = ' | image = 'Файл:PD-icon.svg' | ||
}, | }, | ||
taboo = { | |||
class = 'imbox- | class = 'imbox-taboo', | ||
image = ' | image = 'Stop hand.svg' | ||
}, | }, | ||
warning = { | |||
class = 'imbox- | class = 'imbox-warning', | ||
image = ' | image = 'Nuvola apps important.svg' | ||
} | } | ||
}, | }, | ||
default | default = 'notice', | ||
showInvalidTypeError | imageSize = '62x62px', | ||
classes | showInvalidTypeError = true, | ||
imageEmptyCell | classes = {'imbox'}, | ||
below | imageEmptyCell = false, | ||
below = true, | |||
templateCategory | templateCategory = 'Шаблоны:Шаблоны-сообщения для файлов' | ||
}, | }, | ||
ombox = { | |||
types = { | types = { | ||
speedy = { | speedy = { | ||
class = 'ombox-speedy', | class = 'ombox-speedy', | ||
image = ' | image = 'Ambox warning pn.svg' | ||
}, | }, | ||
delete = { | delete = { | ||
class = 'ombox-delete', | class = 'ombox-delete', | ||
image = ' | image = 'Ambox warning pn.svg' | ||
}, | }, | ||
content = { | content = { | ||
class = 'ombox-content', | class = 'ombox-content', | ||
image = ' | image = 'Ambox important.svg' | ||
}, | }, | ||
style = { | style = { | ||
Строка 204: | Строка 197: | ||
move = { | move = { | ||
class = 'ombox-move', | class = 'ombox-move', | ||
image = ' | image = 'Merge-split-transwiki default.svg' | ||
}, | }, | ||
protection = { | protection = { | ||
class = 'ombox-protection', | class = 'ombox-protection', | ||
image = ' | image = 'Padlock-silver-medium.svg' | ||
}, | }, | ||
notice = { | notice = { | ||
class = 'ombox-notice', | class = 'ombox-notice', | ||
image = ' | image = 'Information icon4.svg' | ||
} | } | ||
}, | }, | ||
default | default = 'notice', | ||
showInvalidTypeError | showInvalidTypeError = true, | ||
classes | classes = {'ombox'}, | ||
allowSmall | allowSmall = true, | ||
imageEmptyCell | imageEmptyCell = true, | ||
imageRightNone | imageRightNone = true | ||
}, | }, | ||
tmbox = { | |||
types = { | types = { | ||
speedy = { | speedy = { | ||
Строка 255: | Строка 247: | ||
} | } | ||
}, | }, | ||
default | default = 'notice', | ||
showInvalidTypeError | showInvalidTypeError = true, | ||
classes | classes = {'tmbox'}, | ||
allowSmall | allowSmall = true, | ||
imageRightNone | imageRightNone = true, | ||
imageEmptyCell | imageEmptyCell = true, | ||
imageEmptyCellStyle | imageEmptyCellStyle = true, | ||
templateCategory = 'Шаблоны:Шаблоны-сообщения для страниц обсуждений' | |||
templateCategory | |||
} | } | ||
} | } |