«Модуль:Message box/configuration» и «Модуль:Message box/configuration/песочница»: разница между страницами

(Различия между страницами)
Первая страница
Вторая страница
м (1 версия импортирована)
 
м (1 версия импортирована)
 
Строка 6: Строка 6:


return {
return {
Ambox = {
ambox = {
types = {
types = {
speedy = {
speedy = {
Строка 69: Строка 69:
allowMainspaceCategories    = true,
allowMainspaceCategories    = true,
templateCategory            = 'Шаблоны:Шаблоны-сообщения для статей',
templateCategory            = 'Шаблоны:Шаблоны-сообщения для статей',
templateCategoryRequireName = true,
        templateCategoryRequireName = true,
templateErrorCategory      = 'Шаблоны:Шаблоны-сообщения для статей с пропущенными параметрами',
templateErrorCategory      = 'Шаблоны:Шаблоны-сообщения для статей с пропущенными параметрами',
templateErrorParamsToCheck  = {'issue', 'fix'},
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 = {
cmbox = {
types = {
types = {
speedy = {
speedy = {
Строка 106: Строка 106:
}
}
},
},
default                 = 'notice',
default             = 'notice',
showInvalidTypeError     = true,
showInvalidTypeError = true,
classes                 = {'cmbox'},
classes             = {'cmbox'},
imageEmptyCell           = true,
imageEmptyCell       = true
useCollapsibleTextFields = true
},
},
Fmbox = {
fmbox = {
types = {
types = {
warning = {
warning = {
Строка 128: Строка 127:
}
}
},
},
default                 = 'system',
default             = 'system',
showInvalidTypeError     = true,
showInvalidTypeError = true,
classes                 = {'fmbox'},
classes             = {'fmbox'},
imageEmptyCell           = false,
imageEmptyCell       = false,
imageRightNone           = false,
imageRightNone       = false
useCollapsibleTextFields = true
},
},
Imbox = {
imbox = {
types = {
types = {
speedy = {
notice = {
class = 'imbox-speedy',
class = 'imbox-notice',
image = 'Ambox warning pn.svg'
image = 'Information icon4.svg'
},
},
delete = {
attribution = {
class = 'imbox-delete',
class = 'imbox-attribution',
image = 'Ambox warning pn.svg'
image = 'Green copyright.svg'
},
},
content = {
    FCW = {
class = 'imbox-content',
class = 'imbox-fcw',
image = 'Ambox important.svg'
image = 'CC some rights reserved.svg'
},
style = {
class = 'imbox-style',
image = 'Edit-clear.svg'
},
},
move = {
FU = {
class = 'imbox-move',
class = 'imbox-fu',
image = 'Merge-split-transwiki default.svg'
image = 'Red copyright.svg'
},
},
protection = {
info = {
class = 'imbox-protection',
class = 'imbox-info',
image = 'Padlock-silver-medium.svg'
},
},
license = {
PD = {
class = 'imbox-license licensetpl',
class = 'imbox-pd',
image = 'Imbox license.png' -- @todo We need an SVG version of this
image = 'Файл:PD-icon.svg'
},
},
featured = {
taboo = {
class = 'imbox-featured',
class = 'imbox-taboo',
image = 'Cscr-featured.svg'
image = 'Stop hand.svg'  
},
},
notice = {
warning = {
class = 'imbox-notice',
class = 'imbox-warning',
image = 'Information icon4.svg'
image = 'Nuvola apps important.svg'
}
}
},
},
default                 = 'notice',
default             = 'notice',
showInvalidTypeError     = true,
imageSize            = '62x62px',
classes                 = {'imbox'},
showInvalidTypeError = true,
imageEmptyCell           = true,
classes             = {'imbox'},
below                   = true,
imageEmptyCell       = false,
useCollapsibleTextFields = true,
below               = true,
templateCategory         = 'Шаблоны:Шаблоны-сообщения для файлов'
templateCategory     = 'Шаблоны:Шаблоны-сообщения для файлов'
},
},
Ombox = {
ombox = {
types = {
types = {
speedy = {
speedy = {
class = 'ombox-speedy',
class = 'ombox-speedy',
image = 'OOjs UI icon alert-destructive.svg'
image = 'Ambox warning pn.svg'
},
},
delete = {
delete = {
class = 'ombox-delete',
class = 'ombox-delete',
image = 'OOjs UI icon alert-destructive.svg'
image = 'Ambox warning pn.svg'
},
},
content = {
content = {
class = 'ombox-content',
class = 'ombox-content',
image = 'OOjs UI icon notice-warning.svg'
image = 'Ambox important.svg'
},
},
style = {
style = {
Строка 204: Строка 197:
move = {
move = {
class = 'ombox-move',
class = 'ombox-move',
image = 'Imbox move.png'
image = 'Merge-split-transwiki default.svg'
},
},
protection = {
protection = {
class = 'ombox-protection',
class = 'ombox-protection',
image = 'Imbox protection.png'
image = 'Padlock-silver-medium.svg'
},
},
notice = {
notice = {
class = 'ombox-notice',
class = 'ombox-notice',
image = 'OOjs UI icon info-progressive.svg'
image = 'Information icon4.svg'
}
}
},
},
default                 = 'notice',
default             = 'notice',
showInvalidTypeError     = true,
showInvalidTypeError = true,
classes                 = {'ombox'},
classes             = {'ombox'},
allowSmall               = true,
allowSmall           = true,
imageEmptyCell           = true,
imageEmptyCell       = true,
imageRightNone           = true,
imageRightNone       = true
useCollapsibleTextFields = true
},
},
Tmbox = {
tmbox = {
types = {
types = {
speedy = {
speedy = {
Строка 255: Строка 247:
}
}
},
},
default                 = 'notice',
default             = 'notice',
showInvalidTypeError     = true,
showInvalidTypeError = true,
classes                 = {'tmbox'},
classes             = {'tmbox'},
allowSmall               = true,
allowSmall           = true,
imageRightNone           = true,
imageRightNone       = true,
imageEmptyCell           = true,
imageEmptyCell       = true,
imageEmptyCellStyle     = true,
imageEmptyCellStyle = true,
useCollapsibleTextFields = true,
templateCategory     = 'Шаблоны:Шаблоны-сообщения для страниц обсуждений'
templateCategory         = 'Шаблоны:Шаблоны-сообщения для страниц обсуждений'
}
}
}
}