Knowledge (XXG)

Template:Testcases notice

Source 📝

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

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
view
edit
history
purge
sandbox
Knowledge (XXG) sandbox
user sandbox
other sandboxes
approximately 4,600 pages
/sandbox
/testcases
user subpage
talk page
Testcases notice
Knowledge (XXG):Template sandbox and test cases

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