Difference between revisions of "Module:Message box/configuration"

From KitwarePublic
Jump to navigationJump to search
m (1 revision)
 
(No difference)

Latest revision as of 23:19, 12 July 2016

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 		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 = 'Padlock-silver-medium.svg'
 86 			},
 87 			notice = {
 88 				class = 'cmbox-notice',
 89 				image = 'Information icon4.svg'
 90 			}
 91 		},
 92 		default              = 'notice',
 93 		showInvalidTypeError = true,
 94 		classes              = {'plainlinks', '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              = {'plainlinks', '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 = 'Padlock-silver-medium.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 		usePlainlinksParam   = true,
163 		imageEmptyCell       = true,
164 		below                = true,
165 		templateCategory     = 'File message boxes'
166 	},
167 	
168 	ombox = {
169 		types = {
170 			speedy = {
171 				class = 'ombox-speedy',
172 				image = 'Ambox warning pn.svg'
173 			},
174 			delete = {
175 				class = 'ombox-delete',
176 				image = 'Ambox warning pn.svg'
177 			},
178 			content = {
179 				class = 'ombox-content',
180 				image = 'Ambox important.svg'
181 			},
182 			style = {
183 				class = 'ombox-style',
184 				image = 'Edit-clear.svg'
185 			},
186 			move = {
187 				class = 'ombox-move',
188 				image = 'Merge-split-transwiki default.svg'
189 			},
190 			protection = {
191 				class = 'ombox-protection',
192 				image = 'Padlock-silver-medium.svg'
193 			},
194 			notice = {
195 				class = 'ombox-notice',
196 				image = 'Information icon4.svg'
197 			}
198 		},
199 		default              = 'notice',
200 		showInvalidTypeError = true,
201 		classes              = {'plainlinks', 'ombox'},
202 		allowSmall           = true,
203 		imageEmptyCell       = true,
204 		imageRightNone       = true
205 	},
206 	
207 	tmbox = {
208 		types = {
209 			speedy = {
210 				class = 'tmbox-speedy',
211 				image = 'Ambox warning pn.svg'
212 			},
213 			delete = {
214 				class = 'tmbox-delete',
215 				image = 'Ambox warning pn.svg'
216 			},
217 			content = {
218 				class = 'tmbox-content',
219 				image = 'Ambox important.svg'
220 			},
221 			style = {
222 				class = 'tmbox-style',
223 				image = 'Edit-clear.svg'
224 			},
225 			move = {
226 				class = 'tmbox-move',
227 				image = 'Merge-split-transwiki default.svg'
228 			},
229 			protection = {
230 				class = 'tmbox-protection',
231 				image = 'Padlock-silver-medium.svg'
232 			},
233 			notice = {
234 				class = 'tmbox-notice',
235 				image = 'Information icon4.svg'
236 			}
237 		},
238 		default              = 'notice',
239 		showInvalidTypeError = true,
240 		classes              = {'plainlinks', 'tmbox'},
241 		allowSmall           = true,
242 		imageRightNone       = true,
243 		imageEmptyCell       = true,
244 		imageEmptyCellStyle  = true,
245 		templateCategory     = 'Talk message boxes'
246 	}
247 }