Module:Message box/configuration

From WikiProjectMed
Jump to navigation Jump to search

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 = 'Semi-protection-shackle-keyhole.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', '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 		removalNotice               = '[[Help:Maintenance template removal|Learn how and when to remove this template message]]'
 59 	},
 60 	
 61 	cmbox = {
 62 		types = {
 63 			speedy = {
 64 				class = 'cmbox-speedy',
 65 				image = 'Ambox warning pn.svg'
 66 			},
 67 			delete = {
 68 				class = 'cmbox-delete',
 69 				image = 'Ambox warning pn.svg'
 70 			},
 71 			content = {
 72 				class = 'cmbox-content',
 73 				image = 'Ambox important.svg'
 74 			},
 75 			style = {
 76 				class = 'cmbox-style',
 77 				image = 'Edit-clear.svg'
 78 			},
 79 			move = {
 80 				class = 'cmbox-move',
 81 				image = 'Merge-split-transwiki default.svg'
 82 			},
 83 			protection = {
 84 				class = 'cmbox-protection',
 85 				image = 'Semi-protection-shackle-keyhole.svg'
 86 			},
 87 			notice = {
 88 				class = 'cmbox-notice',
 89 				image = 'Information icon4.svg'
 90 			}
 91 		},
 92 		default              = 'notice',
 93 		showInvalidTypeError = true,
 94 		classes              = {'cmbox'},
 95 		imageEmptyCell       = true
 96 	},
 97 	
 98 	fmbox = {
 99 		types = {
100 			warning = {
101 				class = 'fmbox-warning',
102 				image = 'Ambox warning pn.svg'
103 			},
104 			editnotice = {
105 				class = 'fmbox-editnotice',
106 				image = 'Information icon4.svg'
107 			},
108 			system = {
109 				class = 'fmbox-system',
110 				image = 'Information icon4.svg'
111 			}
112 		},
113 		default              = 'system',
114 		showInvalidTypeError = true,
115 		classes              = {'fmbox'},
116 		imageEmptyCell       = false,
117 		imageRightNone       = false
118 	},
119 	
120 	imbox = {
121 		types = {
122 			speedy = {
123 				class = 'imbox-speedy',
124 				image = 'Ambox warning pn.svg'
125 			},
126 			delete = {
127 				class = 'imbox-delete',
128 				image = 'Ambox warning pn.svg'
129 			},
130 			content = {
131 				class = 'imbox-content',
132 				image = 'Ambox important.svg'
133 			},
134 			style = {
135 				class = 'imbox-style',
136 				image = 'Edit-clear.svg'
137 			},
138 			move = {
139 				class = 'imbox-move',
140 				image = 'Merge-split-transwiki default.svg'
141 			},
142 			protection = {
143 				class = 'imbox-protection',
144 				image = 'Semi-protection-shackle-keyhole.svg'
145 			},
146 			license = {
147 				class = 'imbox-license licensetpl',
148 				image = 'Imbox license.png' -- @todo We need an SVG version of this
149 			},
150 			featured = {
151 				class = 'imbox-featured',
152 				image = 'Cscr-featured.svg'
153 			},
154 			notice = {
155 				class = 'imbox-notice',
156 				image = 'Information icon4.svg'
157 			}
158 		},
159 		default              = 'notice',
160 		showInvalidTypeError = true,
161 		classes              = {'imbox'},
162 		imageEmptyCell       = true,
163 		below                = true,
164 		templateCategory     = 'File message boxes'
165 	},
166 	
167 	ombox = {
168 		types = {
169 			speedy = {
170 				class = 'ombox-speedy',
171 				image = 'Ambox warning pn.svg'
172 			},
173 			delete = {
174 				class = 'ombox-delete',
175 				image = 'Ambox warning pn.svg'
176 			},
177 			content = {
178 				class = 'ombox-content',
179 				image = 'Ambox important.svg'
180 			},
181 			style = {
182 				class = 'ombox-style',
183 				image = 'Edit-clear.svg'
184 			},
185 			move = {
186 				class = 'ombox-move',
187 				image = 'Merge-split-transwiki default.svg'
188 			},
189 			protection = {
190 				class = 'ombox-protection',
191 				image = 'Semi-protection-shackle-keyhole.svg'
192 			},
193 			notice = {
194 				class = 'ombox-notice',
195 				image = 'Information icon4.svg'
196 			}
197 		},
198 		default              = 'notice',
199 		showInvalidTypeError = true,
200 		classes              = {'ombox'},
201 		allowSmall           = true,
202 		imageEmptyCell       = true,
203 		imageRightNone       = true
204 	},
205 	
206 	tmbox = {
207 		types = {
208 			speedy = {
209 				class = 'tmbox-speedy',
210 				image = 'Ambox warning pn.svg'
211 			},
212 			delete = {
213 				class = 'tmbox-delete',
214 				image = 'Ambox warning pn.svg'
215 			},
216 			content = {
217 				class = 'tmbox-content',
218 				image = 'Ambox important.svg'
219 			},
220 			style = {
221 				class = 'tmbox-style',
222 				image = 'Edit-clear.svg'
223 			},
224 			move = {
225 				class = 'tmbox-move',
226 				image = 'Merge-split-transwiki default.svg'
227 			},
228 			protection = {
229 				class = 'tmbox-protection',
230 				image = 'Semi-protection-shackle-keyhole.svg'
231 			},
232 			notice = {
233 				class = 'tmbox-notice',
234 				image = 'Information icon4.svg'
235 			}
236 		},
237 		default              = 'notice',
238 		showInvalidTypeError = true,
239 		classes              = {'tmbox'},
240 		allowSmall           = true,
241 		imageRightNone       = true,
242 		imageEmptyCell       = true,
243 		imageEmptyCellStyle  = true,
244 		templateCategory     = 'Talk message boxes'
245 	}
246 }