Knowledge

Template:Testcases notice/sandbox

Source 📝

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

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
view
edit
history
purge
sandbox
Knowledge sandbox
user sandbox
other sandboxes
approximately 4,600 pages
/sandbox

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