コンテンツにスキップ

モジュール:Message box/configuration

提供:KANOTYPE WIKI

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