21:
52:
90:
297:
One exception to this is the "sandbox" subpage. If the module is called from a page ending in "/sandbox", it uses that page to generate the template output, not the base page. To override this behaviour you can specify the
412:
397:
385:
36:
424:
381:
32:
267:{{Parameter names example |_template=Infobox |title |above |subheader |subheader2 |image |caption |header1 |label2 |data2 |label3 |data3 |header4 |data5 |data6 |below }}
40:
455:
407:
294:{{Parameter names example |title |above |subheader |subheader2 |image |caption |header1 |label2 |data2 |label3 |data3 |header4 |data5 |data6 |below }}
68:
392:
64:
445:
107:
450:
76:
420:
375:
28:
367:
349:
168:
336:. Any formatting for such a value – including, for instance, italics – must be supplied as part of the value (e.g.
161:
103:
440:
283:
parameter identifying the target template may be omitted. In other words, the code above, if used on
Template:Infobox/
279:
is used on an immediate subpage of its target template – e.g. on the target template's /doc page – its own
72:
120:
354:
310:
371:
358:
187:
340:). Custom values cannot be used for parameters whose names begin with an underscore ("_").
96:
172:
434:
59:
309:
parameter. By default, the parameter names are shown in triple braces (the
15:
63:
and changes may be widely noticed. Test changes in the template's
305:
The formatting of the parameter names can be changed with the
84:
46:
361:– generates a list of parameter names for a given template
171:
by producing a generic instance of the template that uses
328:
A custom value for a parameter may be supplied by using
401:
138:
129:
245:
237:
229:
224:
201:
291:could be "doc", "testcases", etc.), would become:
277:{{Parameter names example}}
212:{{{subheader2}}}
207:{{{subheader}}}
8:
196:
246:{{{header4}}}
225:{{{header1}}}
219:{{{caption}}}
391:Editors can experiment in this template's
238:{{{label3}}}
230:{{{label2}}}
183:An example wikitext to produce a demo for
261:{{{below}}}
256:{{{data6}}}
251:{{{data5}}}
241:{{{data3}}}
233:{{{data2}}}
217:{{{image}}}
202:{{{above}}}
197:{{{title}}}
338:|parameter=''value''<br/>
350:Knowledge (XXG):Template documentation
337:
329:
322:
318:
306:
299:
280:
195:
75:. Consider discussing changes on the
7:
376:Template:Parameter names example/doc
325:is set, they are shown in italics.
456:Documentation assistance templates
14:
446:Knowledge (XXG) utility templates
88:
50:
19:
167: – is intended to assist
104:Module:Parameter names example
60:approximately 2,400 pages
1:
175:as those parameters' values.
451:Template namespace templates
157: – or, alternatively,
472:
365:
319:|_display=italics
118:
425:Subpages of this template
323:|_display=italic
260:
255:
250:
216:
211:
206:
79:before implementing them.
71:subpages, or in your own
58:This template is used on
152:Parameter names example
419:Add categories to the
302:parameter explicitly.
169:template documentation
24:Template documentation
162:Generic template demo
130:Generic template demo
300:|_template=
281:|_template=
95:This template uses
441:Lua-based templates
355:Template:Parameters
307:|_display=
198:
311:parameter standard
359:Module:Parameters
313:, e.g. {{{name}}}
265:
264:
173:parameters' names
117:
116:
83:
82:
463:
416:
405:
389:
339:
335:
331:
324:
320:
316:
308:
301:
282:
278:
199:
193:(on the right):
192:
186:
166:
160:
156:
150:
141:
132:
92:
91:
85:
54:
53:
47:
44:
25:
23:
22:
471:
470:
466:
465:
464:
462:
461:
460:
431:
430:
429:
428:
418:
410:
395:
390:
379:
364:
346:
333:
314:
295:
276:
273:
268:
220:
190:
184:
181:
164:
158:
154:
148:
146:
145:
137:
128:
123:
113:
89:
51:
45:
26:
20:
18:
12:
11:
5:
469:
467:
459:
458:
453:
448:
443:
433:
432:
363:
362:
352:
345:
342:
293:
272:
269:
266:
263:
262:
258:
257:
253:
252:
248:
247:
243:
242:
239:
235:
234:
231:
227:
226:
222:
221:
218:
214:
213:
209:
208:
204:
203:
180:
177:
144:
143:
134:
124:
119:
115:
114:
112:
111:
100:
93:
81:
80:
55:
17:
16:
13:
10:
9:
6:
4:
3:
2:
468:
457:
454:
452:
449:
447:
444:
442:
439:
438:
436:
426:
422:
414:
409:
403:
399:
394:
387:
383:
377:
373:
369:
368:documentation
360:
356:
353:
351:
348:
347:
343:
341:
326:
312:
303:
292:
290:
286:
270:
259:
254:
249:
244:
240:
236:
232:
228:
223:
215:
210:
205:
200:
194:
189:
178:
176:
174:
170:
163:
153:
140:
135:
131:
126:
125:
122:
109:
105:
102:
101:
98:
94:
87:
86:
78:
74:
70:
66:
62:
61:
56:
49:
48:
42:
38:
34:
30:
332:in place of
327:
304:
296:
288:
284:
274:
191:}}
185:{{
182:
165:}}
159:{{
155:}}
151:
149:{{
147:
142:}}
136:{{
133:}}
127:{{
73:user subpage
57:
372:transcluded
330:|=
271:Usage notes
39:] [
35:] [
31:] [
435:Categories
366:The above
317:), but if
69:/testcases
423:subpage.
408:testcases
121:Redirects
77:talk page
344:See also
65:/sandbox
400:|
393:sandbox
386:history
384:|
315:
287:(where
188:Infobox
179:Example
108:sandbox
37:history
417:pages.
374:from
275:When
43:]
41:purge
27:[
421:/doc
413:edit
406:and
402:diff
398:edit
382:edit
357:and
289:page
285:page
139:Pnex
33:edit
29:view
370:is
321:or
97:Lua
67:or
437::
378:.
99::
427:.
415:)
411:(
404:)
396:(
388:)
380:(
334:|
110:)
106:(
Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.