Documentation for this module may be created at Module:Message box/configuration/doc

  1. --------------------------------------------------------------------------------
  2. -- Message box configuration --
  3. -- --
  4. -- This module contains configuration data for [[Module:Message box]]. --
  5. --------------------------------------------------------------------------------
  6.  
  7. return {
  8. ambox = {
  9. types = {
  10. speedy = {
  11. class = 'ambox-speedy',
  12. image = 'Ambox warning pn.svg'
  13. },
  14. delete = {
  15. class = 'ambox-delete',
  16. image = 'Ambox warning pn.svg'
  17. },
  18. content = {
  19. class = 'ambox-content',
  20. image = 'Ambox important.svg'
  21. },
  22. style = {
  23. class = 'ambox-style',
  24. image = 'Edit-clear.svg'
  25. },
  26. move = {
  27. class = 'ambox-move',
  28. image = 'Merge-split-transwiki default.svg'
  29. },
  30. protection = {
  31. class = 'ambox-protection',
  32. image = 'Padlock-silver-medium.svg'
  33. },
  34. notice = {
  35. class = 'ambox-notice',
  36. image = 'Information icon4.svg'
  37. }
  38. },
  39. default = 'notice',
  40. allowBlankParams = {'talk', 'sect', 'date', 'issue', 'fix', 'subst', 'hidden'},
  41. allowSmall = true,
  42. smallParam = 'left',
  43. smallClass = 'mbox-small-left',
  44. substCheck = true,
  45. classes = {'metadata', 'plainlinks', 'ambox'},
  46. imageEmptyCell = true,
  47. imageCheckBlank = true,
  48. imageSmallSize = '20x20px',
  49. imageCellDiv = true,
  50. useCollapsibleTextFields = true,
  51. imageRightNone = true,
  52. sectionDefault = 'article',
  53. allowMainspaceCategories = true,
  54. templateCategory = 'Article message templates',
  55. templateCategoryRequireName = true,
  56. templateErrorCategory = 'Article message templates with missing parameters',
  57. templateErrorParamsToCheck = {'issue', 'fix', 'subst'}
  58. },
  59. cmbox = {
  60. types = {
  61. speedy = {
  62. class = 'cmbox-speedy',
  63. image = 'Ambox warning pn.svg'
  64. },
  65. delete = {
  66. class = 'cmbox-delete',
  67. image = 'Ambox warning pn.svg'
  68. },
  69. content = {
  70. class = 'cmbox-content',
  71. image = 'Ambox important.svg'
  72. },
  73. style = {
  74. class = 'cmbox-style',
  75. image = 'Edit-clear.svg'
  76. },
  77. move = {
  78. class = 'cmbox-move',
  79. image = 'Merge-split-transwiki default.svg'
  80. },
  81. protection = {
  82. class = 'cmbox-protection',
  83. image = 'Padlock-silver-medium.svg'
  84. },
  85. notice = {
  86. class = 'cmbox-notice',
  87. image = 'Information icon4.svg'
  88. }
  89. },
  90. default = 'notice',
  91. showInvalidTypeError = true,
  92. classes = {'plainlinks', 'cmbox'},
  93. imageEmptyCell = true
  94. },
  95. fmbox = {
  96. types = {
  97. warning = {
  98. class = 'fmbox-warning',
  99. image = 'Ambox warning pn.svg'
  100. },
  101. editnotice = {
  102. class = 'fmbox-editnotice',
  103. image = 'Information icon4.svg'
  104. },
  105. system = {
  106. class = 'fmbox-system',
  107. image = 'Information icon4.svg'
  108. }
  109. },
  110. default = 'system',
  111. showInvalidTypeError = true,
  112. classes = {'plainlinks', 'fmbox'},
  113. imageEmptyCell = false,
  114. imageRightNone = false
  115. },
  116. imbox = {
  117. types = {
  118. speedy = {
  119. class = 'imbox-speedy',
  120. image = 'Ambox warning pn.svg'
  121. },
  122. delete = {
  123. class = 'imbox-delete',
  124. image = 'Ambox warning pn.svg'
  125. },
  126. content = {
  127. class = 'imbox-content',
  128. image = 'Ambox important.svg'
  129. },
  130. style = {
  131. class = 'imbox-style',
  132. image = 'Edit-clear.svg'
  133. },
  134. move = {
  135. class = 'imbox-move',
  136. image = 'Merge-split-transwiki default.svg'
  137. },
  138. protection = {
  139. class = 'imbox-protection',
  140. image = 'Padlock-silver-medium.svg'
  141. },
  142. license = {
  143. class = 'imbox-license licensetpl',
  144. image = 'Imbox license.png' -- @todo We need an SVG version of this
  145. },
  146. featured = {
  147. class = 'imbox-featured',
  148. image = 'Cscr-featured.svg'
  149. },
  150. notice = {
  151. class = 'imbox-notice',
  152. image = 'Information icon4.svg'
  153. }
  154. },
  155. default = 'notice',
  156. showInvalidTypeError = true,
  157. classes = {'imbox'},
  158. usePlainlinksParam = true,
  159. imageEmptyCell = true,
  160. below = true,
  161. templateCategory = 'File message boxes'
  162. },
  163. ombox = {
  164. types = {
  165. speedy = {
  166. class = 'ombox-speedy',
  167. image = 'Ambox warning pn.svg'
  168. },
  169. delete = {
  170. class = 'ombox-delete',
  171. image = 'Ambox warning pn.svg'
  172. },
  173. content = {
  174. class = 'ombox-content',
  175. image = 'Ambox important.svg'
  176. },
  177. style = {
  178. class = 'ombox-style',
  179. image = 'Edit-clear.svg'
  180. },
  181. move = {
  182. class = 'ombox-move',
  183. image = 'Merge-split-transwiki default.svg'
  184. },
  185. protection = {
  186. class = 'ombox-protection',
  187. image = 'Padlock-silver-medium.svg'
  188. },
  189. notice = {
  190. class = 'ombox-notice',
  191. image = 'Information icon4.svg'
  192. }
  193. },
  194. default = 'notice',
  195. showInvalidTypeError = true,
  196. classes = {'plainlinks', 'ombox'},
  197. allowSmall = true,
  198. imageEmptyCell = true,
  199. imageRightNone = true
  200. },
  201. tmbox = {
  202. types = {
  203. speedy = {
  204. class = 'tmbox-speedy',
  205. image = 'Ambox warning pn.svg'
  206. },
  207. delete = {
  208. class = 'tmbox-delete',
  209. image = 'Ambox warning pn.svg'
  210. },
  211. content = {
  212. class = 'tmbox-content',
  213. image = 'Ambox important.svg'
  214. },
  215. style = {
  216. class = 'tmbox-style',
  217. image = 'Edit-clear.svg'
  218. },
  219. move = {
  220. class = 'tmbox-move',
  221. image = 'Merge-split-transwiki default.svg'
  222. },
  223. protection = {
  224. class = 'tmbox-protection',
  225. image = 'Padlock-silver-medium.svg'
  226. },
  227. notice = {
  228. class = 'tmbox-notice',
  229. image = 'Information icon4.svg'
  230. }
  231. },
  232. default = 'notice',
  233. showInvalidTypeError = true,
  234. classes = {'plainlinks', 'tmbox'},
  235. allowSmall = true,
  236. imageRightNone = true,
  237. imageEmptyCell = true,
  238. imageEmptyCellStyle = true,
  239. templateCategory = 'Talk message boxes'
  240. }
  241. }