Knowledge

Template:Testcases notice

Source 📝

127: 22: 181: 139: 233:
is meant to be placed at the top of a /testcases page, i.e. a page where a test version (a "sandbox" version) of (usually) a template and its parameters is tested and (usually) compared with the version currently in use (the "main" version). For further information about template sandboxes and
311:
Full name of the template being tested on the page, including the "Template:" prefix. If omitted, the default is the base page of the test cases page. Be careful not to use any leading or trailing spaces with this parameter, as they will affect the display of the template
490: 501: 484: 472: 513: 466: 32: 235: 28: 188: 166: 496: 322:
The page that the sandbox link in the message targets. Can be an absolute page name, or relative to the test cases page. The default is "../sandbox".
197: 383:
parameters at the same time. The value is prefixed with "../" for the sandbox link, so must be a page name relative to the base page. For example,
479: 193: 452: 434: 55: 205: 509: 460: 93: 150: 72: 83: 78: 88: 51: 108: 103: 41: 535: 61: 412: 346:. When using this parameter, the double square brackets and "Category:" prefix are required. To suppress the category, use 201: 162: 287:
You may also specify that some other text is substituted for the word "sandbox" shown in the template using the parameter
14: 456: 158: 530: 301:{{Testcases notice | | purgelink = | sandbox link = | sandbox name = | category = | style = }} 121: 222: 36: 8: 21: 66:
You can test how this page looks in the different skins and parsers with these links:
264:, i.e. the template without any parameters, produces the notice as formatted above. 50:
If there are many examples of a complicated template, later ones may break due to
342:
Category and sort key to use for the test cases page instead of the default of
524: 445:, for use at the bottom of /sandbox pages if {{Documentation}} is not used. 273:
You may specify the link to the associated sandbox page using the parameter
157:
It should not be used for test editing. To experiment, please use the
192:
and changes may be widely noticed. Test changes in the template's
423:, for use at the bottom of templates and their /sandbox pages. 332:
The text shown for the sandbox link. The default is "sandbox".
16: 296:{{Testcases notice |sandbox link=../ |sandbox name=}} 396: 266: 240: 15: 42: 522: 389:sandbox link=../sandbox3 |sandbox name=sandbox3 175: 133: 487: 469: 441: 438: 430: 427: 419: 416: 408: 405: 352: 348: 259: 256: 252: 249: 229: 226: 218: 215: 478:Editors can experiment in this template's 179: 137: 125: 124: 20: 236:Knowledge:Template sandbox and test cases 64:to examine the results of template uses. 523: 282:{{Testcases notice |sandbox link=../}} 204:. Consider discussing changes on the 119: 450: 13: 547: 307:(i.e. first unnamed parameter) 104:Switch to new parser (Parsoid) 1: 461:Template:Testcases notice/doc 268: 536:Template namespace templates 7: 398: 10: 552: 176: 134: 49: 17: 514:Subpages of this template 499: 482: 464: 437: 426: 415: 404: 388: 384: 347: 343: 306: 295: 281: 248: 247: 225: 214: 208:before implementing them. 200:subpages, or in your own 187:This template is used on 180: 138: 126: 40: 37:Template:Testcases notice 507: 477: 397: 300: 267: 242: 241: 189:approximately4,600 pages 156: 155: 123: 122: 100: 99: 69: 68: 65: 59: 58:" in the rendered page. 54:; see the HTML comment " 48: 47:to update the examples. 435:Template sandbox notice 425: 403: 402: 371: 364: 363: 341: 336: 335: 331: 326: 325: 321: 316: 315: 310: 304: 303: 294: 293: 280: 279: 185: 178: 177: 143: 136: 135: 109:Switch to legacy parser 107: 102: 101: 92: 87: 82: 77: 71: 70: 62:Special:ExpandTemplates 26: 19: 18: 508:Add categories to the 380: 376: 372: 366: 365: 357: 337: 327: 317: 288: 286: 274: 272: 246: 213: 186: 146: 144: 130:Template documentation 385:subpage-name=sandbox3 234:testcase pages, see 89:Vector legacy (2010) 531:Template test cases 519: 448: 395: 394: 360:without any value). 52:limits in MediaWiki 29:template test cases 56:NewPP limit report 212: 211: 174: 173: 159:Knowledge sandbox 118: 117: 67: 60:You can also use 543: 505: 494: 489: 476: 471: 444: 443: 440: 433: 432: 429: 422: 421: 418: 411: 410: 407: 390: 386: 355: 354: 350: 345: 308: 297: 283: 263: 262: 261: 258: 255:Testcases notice 254: 251: 232: 231: 228: 223:Testcases notice 221: 220: 217: 183: 182: 141: 140: 131: 129: 128: 46: 44: 24: 551: 550: 546: 545: 544: 542: 541: 540: 521: 520: 518: 517: 449: 401: 302: 271: 245: 170: 167:other sandboxes 132: 114: 113: 98: 43:Purge this page 12: 11: 5: 549: 539: 538: 533: 447: 446: 424: 400: 393: 392: 370: 362: 361: 340: 334: 333: 330: 324: 323: 320: 314: 313: 309: 299: 298: 285: 284: 270: 244: 210: 209: 184: 172: 171: 142: 116: 115: 112: 111: 106: 97: 96: 91: 86: 81: 76: 25: 9: 6: 4: 3: 2: 548: 537: 534: 532: 529: 528: 526: 515: 511: 503: 498: 492: 486: 481: 474: 468: 462: 458: 454: 453:documentation 436: 414: 413:Documentation 382: 378: 374: 369: 368: 359: 339: 329: 319: 292: 290: 278: 276: 265: 239: 237: 224: 207: 203: 199: 195: 191: 190: 168: 164: 160: 154: 152: 148: 145:This page is 120: 110: 105: 95: 94:Vector (2022) 90: 85: 80: 74: 63: 57: 53: 45: 38: 34: 31:page for the 30: 23: 381:sandbox name 377:sandbox link 373:(deprecated) 367:subpage-name 328:sandbox name 318:sandbox link 289:sandbox name 275:sandbox link 202:user subpage 163:user sandbox 27:This is the 457:transcluded 73:MinervaNeue 525:Categories 451:The above 269:Parameters 198:/testcases 165:, or the 512:subpage. 497:testcases 375:Sets the 206:talk page 399:See also 387:implies 358:category 351:category 338:category 305:{{{1}}} 194:/sandbox 84:Timeless 79:MonoBook 75:(mobile) 480:sandbox 473:history 161:, your 151:sandbox 33:sandbox 506:pages. 356:(i.e. 459:from 312:link. 243:Usage 510:/doc 502:edit 495:and 491:diff 485:edit 467:edit 379:and 455:is 196:or 147:not 35:of 527:: 463:. 169:. 149:a 39:. 516:. 504:) 500:( 493:) 488:| 483:( 475:) 470:| 465:( 442:} 439:} 431:{ 428:{ 420:} 417:} 409:{ 406:{ 391:. 353:= 349:| 344:] 291:: 277:: 260:} 257:} 253:{ 250:{ 238:. 230:} 227:} 219:{ 216:{ 153:.

Index


template test cases
sandbox
Template:Testcases notice
Purge this page
limits in MediaWiki
NewPP limit report
Special:ExpandTemplates
MinervaNeue
MonoBook
Timeless
Vector legacy (2010)
Vector (2022)
Switch to new parser (Parsoid)
Switch to legacy parser
sandbox
Knowledge sandbox
user sandbox
other sandboxes
approximately4,600 pages
/sandbox
/testcases
user subpage
talk page
Testcases notice
Knowledge:Template sandbox and test cases
Documentation
Template sandbox notice
documentation
transcluded

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.