Knowledge

Template:Testcases notice/sandbox

Source 📝

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

Index

Template:Testcases notice

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
template sandbox
Template:Testcases notice
diff
test cases
sandbox
Knowledge sandbox
user sandbox
other sandboxes
approximately4,600 pages
/sandbox
/testcases
user subpage
talk page
Testcases notice

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