21:
52:
90:
384:
36:
417:
380:
32:
40:
310:
76:
413:
374:
222:
If a lookup fails, then the template creates no output other than an error message. If you are satisfied that the category is correctly named, use the one of the optional parameters below.
28:
438:
338:
348:
343:
299:
284:
358:
353:
181:
141:
68:
328:
111:
64:
323:
212:
192:
151:
366:
219:. (Some former countries may have been omitted. Also, when country has been renamed, the lookup uses only the current country name).
156:
146:
255:
433:
100:
216:
198:
116:
211:
That may be due to this category being misnamed, or it may be due to an omission in the lookup table used by
72:
306:
Categories where country lookup fails are tracked in a category shared with many other templates:
370:
300:
Category:Template YYYY disasters in countryname category header with nationality parameter
191:
the adjectival form of the country in which the country is located. This is looked up by
177:
The normal usage requires no parameters, because the template looks up the other data.
104:
427:
285:
Category:Template YYYY disasters in countryname category header with parentcountry
59:
267:
turns on diagnostics, which may help if the template doesn't work as expected
103:
before editing the template. If your edit causes unexpected problems, please
246:
bypasses the lookup of the continent, and adds a second continent: "Lemuria"
15:
109:
You can conduct experiments, and should test all major changes, in either
197:
the continent(s) in which the country is located. This is looked up by
260:{{YYYY disasters in countryname category header|parentcountry=China}}
107:
it quickly, as this template may appear on a large number of pages.
63:
and changes may be widely noticed. Test changes in the template's
252:
is available for use when a country is part of another country.
134:" is a valid name of a country and "YYYY" is a 4-digit year.
99:
You are encouraged to familiarise yourself with its setup and
84:
46:
126:
Use this to create a category of the form "YYYY disasters in
204:
If either of those lookups fails, then an error is reported
96:
This template employs intricate features of template syntax.
311:
Category:Errors reported by other category header templates
375:
Template:YYYY disasters in countryname category header/doc
240:
bypasses the lookup of the continent, and uses "Atlantis".
234:
bypasses the lookup of the nationality, and uses "Fooish"
208:
the required data is supplied by an optional parameter.
405:
397:
393:
339:
Template:YYY0s disasters in countryname category header
334:
Template:YYYY disasters in countryname category header
349:
Template:YYY0s disasters in continent category header
344:
Template:YYYY disasters in continent category header
119:, or your user space before changing anything here.
390:Editors can experiment in this template's sandbox
173:{{YYYY disasters in countryname category header}}
359:Template:YYY0s natural disasters category header
354:Template:YYYY natural disasters category header
439:Disasters chronology category header templates
8:
182:Category:1954 disasters in the United States
142:Category:1891 disasters in the United States
329:Template:YYY0s disasters category header
324:Template:YYYY disasters category header
292:
277:
264:
250:|parentcountry=AnotherCountry
249:
243:
237:
231:
75:. Consider discussing changes on the
7:
256:Category:2002 disasters in Hong Kong
213:Template:GetAdjectiveFromCountryName
193:Template:GetAdjectiveFromCountryName
152:Category:2011 disasters in Indonesia
14:
157:Category:2015 disasters in Brazil
147:Category:1980 disasters in China
88:
50:
19:
60:approximately 3,000 pages
1:
238:|continent1=Atlantis
244:|continent2=Lemuria
232:|nationality=Fooish
184:, no parameters are needed
455:
364:
217:Template:Country2continent
199:Template:Country2continent
187:The other needed data is:
418:Subpages of this template
295:parameter is tracked in:
280:parameter is tracked in:
79:before implementing them.
71:subpages, or in your own
58:This template is used on
278:|parentcountry=
117:general template sandbox
293:|nationality =
112:this template's sandbox
412:Add categories to the
265:|diagnose=yes
24:Template documentation
434:Intricate templates
226:Optional parameters
124:
123:
83:
82:
446:
409:
401:
388:
294:
279:
266:
261:
251:
245:
239:
233:
174:
114:
101:parser functions
92:
91:
85:
54:
53:
47:
44:
25:
23:
22:
454:
453:
449:
448:
447:
445:
444:
443:
424:
423:
422:
421:
411:
403:
391:
389:
378:
363:
320:
274:
259:
253:
228:
172:
170:
165:
120:
110:
108:
89:
51:
45:
26:
20:
18:
12:
11:
5:
452:
450:
442:
441:
436:
426:
425:
402:and testcases
362:
361:
356:
351:
346:
341:
336:
331:
326:
319:
316:
315:
314:
313:(population 3)
304:
303:
302:(population 0)
289:
288:
287:(population 0)
273:
270:
269:
268:
262:
247:
241:
235:
227:
224:
202:
201:
195:
169:
166:
164:
161:
160:
159:
154:
149:
144:
122:
121:
98:
93:
81:
80:
55:
17:
16:
13:
10:
9:
6:
4:
3:
2:
451:
440:
437:
435:
432:
431:
429:
419:
415:
407:
399:
395:
386:
382:
376:
372:
368:
367:documentation
360:
357:
355:
352:
350:
347:
345:
342:
340:
337:
335:
332:
330:
327:
325:
322:
321:
317:
312:
309:
308:
307:
301:
298:
297:
296:
286:
283:
282:
281:
271:
263:
257:
248:
242:
236:
230:
229:
225:
223:
220:
218:
214:
209:
207:
200:
196:
194:
190:
189:
188:
185:
183:
178:
175:
167:
162:
158:
155:
153:
150:
148:
145:
143:
140:
139:
138:
135:
133:
129:
118:
113:
106:
102:
97:
94:
87:
86:
78:
74:
70:
66:
62:
61:
56:
49:
48:
42:
38:
34:
30:
333:
305:
290:
275:
221:
210:
205:
203:
186:
179:
176:
171:
168:Normal usage
136:
131:
127:
125:
95:
73:user subpage
57:
371:transcluded
291:Use of the
276:Use of the
132:CountryName
128:CountryName
39:] [
35:] [
31:] [
428:Categories
365:The above
130:", where "
69:/testcases
416:subpage.
77:talk page
318:See also
272:Tracking
254:e.g. on
180:e.g. on
65:/sandbox
396:|
385:history
383:|
37:history
410:pages.
406:create
398:mirror
394:create
258:, use
206:unless
115:, the
373:from
163:Usage
137:e.g.
43:]
41:purge
27:[
414:/doc
381:edit
105:undo
33:edit
29:view
369:is
215:or
67:or
430::
377:.
420:.
408:)
404:(
400:)
392:(
387:)
379:(
Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.