Knowledge

:Template sandbox and test cases - Knowledge

Source 📝

232: 37: 382:, where the user inserts the date, then there should be a third test case for that. You should try and be thorough and make cases for all the ways users might use your template; however, it is often impractical to add test cases for every single parameter combination, so you should choose the most relevant ones wisely. 681:
There are various templates that help you to format test cases automatically. With these templates, parameters and values are only entered once, but are still tested for both the main template and the sandbox templates. This avoids the problem of errors in test case parameters, and makes it easier to
385:
There are quite a few different styles of test case that you can use. Which one you choose depends on the nature of the template you are working on. For example, for short template output that fits on one line, it can be useful to put the test cases inside a wikitable, and for long and thin templates
729:
Some template features can't be tested on /testcases pages. For example, a template may only output certain text when in the main namespace, or it may output different things when it is used on a base page and when it is used on a subpage. For these kinds of tests, you can use the "Preview page with
355:
If you have added any new features or changed any parameters, you should add new test cases to the /testcases subpage so that they can be tested. Also, bear in mind that the existing test cases may not be complete. It's okay to rewrite the test cases if they aren't useful for what you're trying to
348:
The /sandbox may not have the latest version of the template code in it, so before you make a change, you need to synchronize it with the main template. Copy the entire contents of the main template to the /sandbox subpage, and save the page. Your edit summary should be something like "synchronize
334:
template. After you've purged the page, compare the results for the main template with the results from the sandbox, and if everything looks okay, you can update the main template. However, be wary of missing test cases and of code that can only be tested in certain namespaces or on certain
300:. This page is only linked from the bottom of the blue documentation box if it actually exists, so to create it you will need to create it by typing the page name into the search box or into the URL bar of your browser. Again, note that "/testcases" is all lowercase, and all one word. 734:, which makes it usable in any namespace, and lets you specify the title of the template as well as the page to preview it on. This means that you can edit the sandbox template, but preview pages as if you were actually editing the main template. 404:
Manually formatting gives you a great deal of flexibility, but care must be taken to ensure that all the template parameters are entered correctly. An error in one of the test cases is often harder to find than an error in the template itself.
737:
If you can think of any tests that can't be made on the /testcases page, it may be helpful to leave a note at the top of the /testcases page outlining what else needs testing, so that future editors of that template are also aware.
136:
Most protected templates already have a sandbox subpage and testcases subpage. The names of these pages are default. At the bottom of each template's page are links to create/edit the template's sandbox and testcases pages.
271:
template, you can do this from a link at the bottom of the blue documentation box on the template main page. Or you can type it into the search box, or directly into the URL bar of your browser. Note that "/sandbox" is all
218:
should always be tested before an edit is made. With other pages, you should still check which pages use the template (via the "What Links Here" link in the Tools section of the linkbar at the left side of the screen).
213:
For navigational boxes with mostly identical results on each transcluding page, the benefit may not outweigh the time and effort to create a sandbox page, but if in doubt, sandbox it. Any template that is marked as a
1121: 374:
On the /testcases page, there should be one test case for each different behaviour of your template. For example, if your template outputs a banner message, and if the parameter
2035: 378:
makes that message italicized, you should add one test case for the normal message and one for the italicized message. If that template has another parameter,
1540: 2152: 339: 1873: 863: 413:
This format works well for banner templates and for lengthy text, e.g. citations. Note that you can format these kinds of test automatically using
45: 1445: 1284: 730:
this template" feature that you can see underneath the edit window on template pages. To make this feature even more powerful, you can install
17: 197: 289:
template if present, paste it into the edit window of the /sandbox subpage, and save the page. Your edit summary should be something like
2210: 1878: 1814: 731: 724: 222: 1701: 206:
that can generate very different looking output, such as ones that take many parameters, or the ones that have many branches of the
1718: 1497: 1428: 1375: 856: 1933: 1455: 790: 365:
Verify that the test case results are correct. If everything looks good, copy the code from the sandbox to the main template.
246:
Use "create" and "mirror" links at the bottom of documentation box to create /sandbox and /testcases subpages automatically.
105:, but mistakes can be easily made, even by experienced users. Edits to complex templates should therefore be carried out in 2134: 2002: 1987: 1562: 1492: 1370: 595:
Using a wikitable to format test cases is often useful for templates with short output that need to be lined up correctly.
2060: 1294: 786: 344:
To make a change to a template which already has /sandbox and /testcases subpages, the process is similar to the above.
2014: 1868: 1863: 1622: 891: 189: 203: 2172: 2077: 1970: 1783: 1696: 1433: 895: 849: 53: 2007: 1938: 1802: 1627: 1502: 1034: 179: 131: 2145: 1603: 1470: 1819: 2167: 1731: 1247: 963: 718: 710: 106: 2184: 2140: 1997: 1992: 1708: 1465: 1365: 802: 215: 2179: 1960: 1943: 1792: 1647: 1487: 1252: 1140: 1041: 929: 601:{| class="wikitable" |- ! Code ! Main ! Sandbox <!-- Each new test case can be added like this: --: --> 2157: 1965: 1853: 1768: 1535: 1257: 924: 782: 1778: 1751: 1608: 1460: 1017: 721:
has this feature turned on by default. For detailed documentation, see the individual template pages.
2205: 2127: 2045: 1557: 1550: 1150: 1116: 985: 822: 813: 704: 698: 328: 307: 122: 676: 1809: 1758: 1632: 1586: 1343: 1232: 1089: 758: 169: 145: 1903: 1662: 1514: 1304: 1289: 1187: 1111: 1029: 919: 909: 836: 831: 774: 692: 390: 1955: 1883: 1509: 1348: 1133: 1046: 973: 754: 283: 265: 872: 399: 2092: 1858: 1593: 1084: 995: 770: 75: 2040: 1797: 1637: 1574: 1309: 1197: 1165: 1063: 1022: 324:
the /testcases page to see the updated results; there is a link to do that included in the
320:. To test your code, save the page, and go to the /testcases page. Often you will need to 89: 8: 2097: 2055: 1928: 1888: 1726: 1667: 1353: 1160: 1099: 1000: 887: 628: 603: 57: 1893: 1581: 1475: 1316: 1262: 1128: 980: 946: 883: 686: 414: 67: 352:
Have fun editing the sandbox. When you have some code you want to test, save the page.
125:
may be useful places to try new experiments or for users new to template development.
2087: 2082: 1950: 1831: 1691: 1674: 1530: 1074: 1051: 990: 951: 2019: 713:, to collapse test cases when the main and sandbox templates produce the same result 408: 313:
template at the top of the page, add some test cases (see below), and save the page.
52:
It explains concepts or processes used by the Knowledge community. It is not one of
2072: 2067: 1918: 1913: 1763: 1741: 1482: 1440: 1382: 1242: 1155: 2162: 2110: 2105: 1982: 1977: 1773: 1407: 1392: 1387: 1299: 1220: 1175: 1094: 941: 359: 321: 2050: 1923: 1684: 1192: 1182: 1170: 1005: 956: 750: 510: 128:
For the development of entirely new templates, user sandboxes are appropriate.
590: 2199: 1826: 1736: 1657: 1617: 1545: 1450: 1269: 1215: 1207: 1079: 1012: 968: 899: 807: 766: 94: 369: 1274: 1227: 936: 841: 506:
For templates that use the "float" CSS attribute, you will need to use the
202:
It is highly recommended to apply the test case pattern to templates using
118: 386:
such as infoboxes, it is often best to display them side by side by using
1145: 717:
Note that all of these templates can produce collapsible test cases, but
231: 114: 356:
achieve, but also consider editors who may use the test cases after you.
1746: 1679: 1569: 1423: 1418: 1279: 1360: 1338: 1330: 1326: 1237: 110: 102: 98: 1652: 1397: 1106: 1841: 796: 741: 1845: 275:
Copy the entire contents of the main template, including
340:
How to update existing /sandbox and /testcases subpages
516:
template to stop the results from bunching together:
682:maintain test case pages. These templates include: 198:What kind of templates should you use sandbox for 2197: 701:, for long and thin templates such as infoboxes 695:, for long and thin templates such as infoboxes 672:}} <!-- Finish the table like this: --: --> 223:How to create /sandbox and /testcases subpages 857: 871: 725:Tests that can't be made on /testcases pages 864: 850: 732:User:Jackmcbarn/advancedtemplatesandbox.js 362:the /testcases page to update the results. 349:with the main template", or simply "sync". 707:, for templates with complex invocations 816:- technical limitations on template use 140:For example, here are the subpages for 14: 2198: 828:- sandbox for use in testing templates 845: 791:Template:Infobox settlement/testcases 296:Create another subpage with the name 113:to prevent bugs. Temporary sandboxes 2135:Category:Knowledge information pages 261:. If the main template is using the 226: 132:Sandbox and testcases subpage naming 56:, and may reflect varying levels of 31: 1874:User CSS for monospaced coding font 1122:Non-admin and admin-only page moves 787:Template:Infobox settlement/sandbox 97:are a very powerful feature of the 24: 230: 190:Template:FlagIOCmedalist/testcases 54:Knowledge's policies or guidelines 25: 2222: 2211:Knowledge template administration 810:- general help with template code 257:. Create a subpage with the name 1815:Bug reports and feature requests 689:, for general-purpose test cases 180:Template:FlagIOCmedalist/sandbox 35: 1643:Template sandbox and test cases 882:Get personal technical help at 253:Suppose your template is named 719:Template:Collapsible test case 711:Template:Collapsible test case 316:Add your experimental code to 13: 1: 803:Knowledge:High-risk templates 567:}} {{clear}} '''Sandbox''' {{ 417:and other similar templates. 18:Knowledge:Template test cases 1498:How to improve image quality 1376:Complete diff and link guide 90:Knowledge:Lua § Unit testing 7: 1934:Cleaning up vandalism tools 1820:TimedMediaHandler extension 1456:Preparing images for upload 783:Template:Infobox settlement 598:Start the table like this: 291:create sandbox version of ] 10: 2227: 2020:Beta Features at MediaWiki 1493:Basic bitmap image editing 1371:Simple diff and link guide 87: 65: 2128:Category:Knowledge how-to 2121: 2028: 1902: 1840: 1717: 1602: 1523: 1406: 1325: 1295:Advanced table formatting 1206: 1062: 908: 879: 814:Knowledge:Template limits 705:Template:Test case nowiki 699:Template:Inline test case 186:Template's testcases page 2015:Wikimedia Cloud Services 1869:Common.js and common.css 1864:Catalogue of CSS classes 1623:Advanced template coding 1466:Options to hide an image 892:village pump (technical) 873:Knowledge technical help 759:Template:Quote/testcases 503:etc. must be identical. 170:Template:FlagIOCmedalist 2139:Further navigation at: 1879:Classes in microformats 1434:Moving files to Commons 1253:Conditional expressions 837:Special:TemplateSandbox 832:Special:ExpandTemplates 775:Template:Diff/testcases 693:Template:Testcase table 1939:Customizing watchlists 1854:Cascading Style Sheets 1628:Template documentation 1503:Graphics Lab resources 1446:Introduction to images 1258:Switch parser function 755:Template:Quote/sandbox 235: 1752:File description page 1471:Extended image syntax 771:Template:Diff/sandbox 234: 27:Template how-to guide 2003:Navigation shortcuts 1988:Alternative browsing 986:Multilingual support 964:How to create a page 677:Automatic formatting 298:Template:X/testcases 44:This help page is a 1709:Guide to Scribbling 1587:EasyTimeline syntax 1366:Simplest diff guide 1233:Line-break handling 468:}} '''Sandbox''' {{ 109:and accompanied by 1702:Costs and benefits 1648:Citation templates 1515:Visual file markup 1488:Graphics tutorials 1429:Creation and usage 1305:Conditional tables 1188:User contributions 1129:Notifications/Echo 1042:User access levels 1030:Special Characters 930:Keyboard shortcuts 687:Template:Test case 545:}}</nowiki: --> 523:== * <code: --> 446:}}</nowiki: --> 424:== * <code: --> 415:Template:Test case 318:Template:X/sandbox 277:<noinclude: --> 259:Template:X/sandbox 236: 216:High-risk Template 176:Template's sandbox 101:software used for 2193: 2192: 2173:Citation metadata 2078:Navigation popups 2036:AfC helper script 2029:Automated editing 1884:Markup validation 1769:Project/Wikipedia 1536:Graphs and charts 1510:Sound file markup 1412:videos and sounds 1275:Sections and TOCs 1075:Special page help 521:Descriptive title 422:Descriptive title 400:Manual formatting 370:Adding test cases 250: 249: 195: 194: 86: 85: 16:(Redirected from 2218: 2206:Knowledge how-to 2008:Optimum tool set 1859:HTML in wikitext 1803:User page design 1594:WikiHiero syntax 1461:Uploading images 1451:Picture tutorial 1018:Software notices 996:Page information 866: 859: 852: 843: 842: 827: 823:Template sandbox 821: 629:</nowiki: --> 515: 509: 395: 389: 381: 377: 333: 329:testcases notice 327: 319: 312: 308:testcases notice 306: 299: 292: 288: 282: 278: 270: 264: 260: 256: 244: 227: 209: 155: 154: 150: 144: 123:Template Sandbox 78: 39: 38: 32: 21: 2226: 2225: 2221: 2220: 2219: 2217: 2216: 2215: 2196: 2195: 2194: 2189: 2117: 2046:AutoWikiBrowser 2024: 1898: 1836: 1713: 1697:Labeled section 1638:Template limits 1598: 1575:Musical symbols 1551:To scale charts 1519: 1402: 1321: 1310:Sortable tables 1202: 1198:What links here 1166:Related changes 1151:Pending changes 1117:History merging 1100:Reset passwords 1058: 904: 875: 870: 825: 819: 799: 744: 727: 679: 674: 605:<nowiki: --> 593: 588: 524:<nowiki: --> 513: 507: 489: 425:<nowiki: --> 411: 402: 393: 387: 379: 375: 372: 342: 331: 325: 317: 310: 304: 297: 290: 286: 280: 276: 268: 262: 258: 254: 245: 240: 225: 207: 204:ParserFunctions 200: 148: 146:FlagIOCmedalist 142: 134: 92: 82: 81: 74: 70: 62: 61: 36: 28: 23: 22: 15: 12: 11: 5: 2224: 2214: 2213: 2208: 2191: 2190: 2188: 2187: 2182: 2177: 2176: 2175: 2165: 2160: 2155: 2150: 2149: 2148: 2146:Administrators 2138: 2131: 2122: 2119: 2118: 2116: 2115: 2114: 2113: 2108: 2100: 2095: 2090: 2085: 2080: 2075: 2070: 2065: 2064: 2063: 2058: 2048: 2043: 2038: 2032: 2030: 2026: 2025: 2023: 2022: 2017: 2012: 2011: 2010: 2005: 2000: 1995: 1990: 1980: 1975: 1974: 1973: 1968: 1963: 1953: 1948: 1947: 1946: 1936: 1931: 1929:Citation tools 1926: 1921: 1916: 1910: 1908: 1906: 1900: 1899: 1897: 1896: 1891: 1886: 1881: 1876: 1871: 1866: 1861: 1856: 1850: 1848: 1838: 1837: 1835: 1834: 1829: 1824: 1823: 1822: 1817: 1807: 1806: 1805: 1795: 1790: 1789: 1788: 1787: 1786: 1771: 1766: 1761: 1756: 1755: 1754: 1744: 1739: 1734: 1729: 1723: 1721: 1719:Data structure 1715: 1714: 1712: 1711: 1706: 1705: 1704: 1699: 1689: 1688: 1687: 1677: 1672: 1671: 1670: 1665: 1655: 1650: 1645: 1640: 1635: 1633:Template index 1630: 1625: 1620: 1614: 1612: 1607: 1600: 1599: 1597: 1596: 1591: 1590: 1589: 1579: 1578: 1577: 1570:Musical scores 1567: 1566: 1565: 1555: 1554: 1553: 1548: 1543: 1533: 1527: 1525: 1524:Other graphics 1521: 1520: 1518: 1517: 1512: 1507: 1506: 1505: 1500: 1495: 1485: 1480: 1479: 1478: 1473: 1468: 1463: 1458: 1453: 1448: 1438: 1437: 1436: 1431: 1421: 1415: 1413: 1411: 1410:files: images, 1404: 1403: 1401: 1400: 1395: 1390: 1385: 1380: 1379: 1378: 1373: 1368: 1358: 1357: 1356: 1351: 1346: 1335: 1333: 1323: 1322: 1320: 1319: 1314: 1313: 1312: 1307: 1302: 1297: 1292: 1287: 1277: 1272: 1267: 1266: 1265: 1260: 1255: 1250: 1240: 1235: 1230: 1225: 1224: 1223: 1212: 1210: 1204: 1203: 1201: 1200: 1195: 1190: 1185: 1180: 1179: 1178: 1168: 1163: 1161:Recent changes 1158: 1153: 1148: 1143: 1138: 1137: 1136: 1126: 1125: 1124: 1119: 1109: 1104: 1103: 1102: 1092: 1090:Emailing users 1087: 1082: 1077: 1071: 1069: 1065: 1060: 1059: 1057: 1056: 1055: 1054: 1044: 1039: 1038: 1037: 1027: 1026: 1025: 1015: 1010: 1009: 1008: 998: 993: 988: 983: 978: 977: 976: 966: 961: 960: 959: 954: 949: 944: 934: 933: 932: 927: 916: 914: 912:technical help 911: 906: 905: 880: 877: 876: 869: 868: 861: 854: 846: 840: 839: 834: 829: 817: 811: 805: 798: 795: 794: 793: 780: 779:Testcase table 777: 764: 761: 751:Template:Quote 748: 743: 740: 726: 723: 715: 714: 708: 702: 696: 690: 678: 675: 630:</code: --> 600: 592: 589: 546:</code: --> 518: 491:Each value of 447:</code: --> 419: 410: 407: 401: 398: 391:testcase table 371: 368: 367: 366: 363: 357: 353: 350: 341: 338: 337: 336: 314: 301: 294: 273: 248: 247: 239: 237: 224: 221: 199: 196: 193: 192: 187: 183: 182: 177: 173: 172: 167: 163: 162: 159: 133: 130: 84: 83: 80: 79: 71: 66: 63: 51: 50: 42: 40: 26: 9: 6: 4: 3: 2: 2223: 2212: 2209: 2207: 2204: 2203: 2201: 2186: 2183: 2181: 2178: 2174: 2171: 2170: 2169: 2166: 2164: 2161: 2159: 2156: 2154: 2153:Accessibility 2151: 2147: 2144: 2143: 2142: 2137: 2136: 2132: 2130: 2129: 2124: 2123: 2120: 2112: 2109: 2107: 2104: 2103: 2101: 2099: 2096: 2094: 2091: 2089: 2086: 2084: 2081: 2079: 2076: 2074: 2071: 2069: 2066: 2062: 2059: 2057: 2054: 2053: 2052: 2049: 2047: 2044: 2042: 2039: 2037: 2034: 2033: 2031: 2027: 2021: 2018: 2016: 2013: 2009: 2006: 2004: 2001: 1999: 1998:Editing tools 1996: 1994: 1993:Browser tools 1991: 1989: 1986: 1985: 1984: 1981: 1979: 1976: 1972: 1969: 1967: 1964: 1962: 1959: 1958: 1957: 1954: 1952: 1949: 1945: 1942: 1941: 1940: 1937: 1935: 1932: 1930: 1927: 1925: 1922: 1920: 1917: 1915: 1912: 1911: 1909: 1905: 1904:Customisation 1901: 1895: 1894:Useful styles 1892: 1890: 1887: 1885: 1882: 1880: 1877: 1875: 1872: 1870: 1867: 1865: 1862: 1860: 1857: 1855: 1852: 1851: 1849: 1847: 1843: 1839: 1833: 1830: 1828: 1825: 1821: 1818: 1816: 1813: 1812: 1811: 1808: 1804: 1801: 1800: 1799: 1796: 1794: 1791: 1785: 1782: 1781: 1780: 1777: 1776: 1775: 1772: 1770: 1767: 1765: 1762: 1760: 1757: 1753: 1750: 1749: 1748: 1745: 1743: 1740: 1738: 1735: 1733: 1730: 1728: 1725: 1724: 1722: 1720: 1716: 1710: 1707: 1703: 1700: 1698: 1695: 1694: 1693: 1690: 1686: 1683: 1682: 1681: 1678: 1676: 1673: 1669: 1666: 1664: 1661: 1660: 1659: 1656: 1654: 1651: 1649: 1646: 1644: 1641: 1639: 1636: 1634: 1631: 1629: 1626: 1624: 1621: 1619: 1616: 1615: 1613: 1610: 1605: 1601: 1595: 1592: 1588: 1585: 1584: 1583: 1580: 1576: 1573: 1572: 1571: 1568: 1564: 1561: 1560: 1559: 1558:Math formulas 1556: 1552: 1549: 1547: 1544: 1542: 1541:How to create 1539: 1538: 1537: 1534: 1532: 1529: 1528: 1526: 1522: 1516: 1513: 1511: 1508: 1504: 1501: 1499: 1496: 1494: 1491: 1490: 1489: 1486: 1484: 1481: 1477: 1474: 1472: 1469: 1467: 1464: 1462: 1459: 1457: 1454: 1452: 1449: 1447: 1444: 1443: 1442: 1439: 1435: 1432: 1430: 1427: 1426: 1425: 1422: 1420: 1417: 1416: 1414: 1409: 1405: 1399: 1396: 1394: 1391: 1389: 1386: 1384: 1381: 1377: 1374: 1372: 1369: 1367: 1364: 1363: 1362: 1359: 1355: 1352: 1350: 1347: 1345: 1344:Interlanguage 1342: 1341: 1340: 1337: 1336: 1334: 1332: 1328: 1324: 1318: 1317:Using colours 1315: 1311: 1308: 1306: 1303: 1301: 1298: 1296: 1293: 1291: 1288: 1286: 1283: 1282: 1281: 1278: 1276: 1273: 1271: 1268: 1264: 1263:Time function 1261: 1259: 1256: 1254: 1251: 1249: 1248:For beginners 1246: 1245: 1244: 1241: 1239: 1236: 1234: 1231: 1229: 1226: 1222: 1219: 1218: 1217: 1214: 1213: 1211: 1209: 1205: 1199: 1196: 1194: 1191: 1189: 1186: 1184: 1181: 1177: 1174: 1173: 1172: 1169: 1167: 1164: 1162: 1159: 1157: 1154: 1152: 1149: 1147: 1144: 1142: 1141:Page Curation 1139: 1135: 1132: 1131: 1130: 1127: 1123: 1120: 1118: 1115: 1114: 1113: 1112:Moving a page 1110: 1108: 1105: 1101: 1098: 1097: 1096: 1093: 1091: 1088: 1086: 1083: 1081: 1078: 1076: 1073: 1072: 1070: 1067: 1061: 1053: 1050: 1049: 1048: 1045: 1043: 1040: 1036: 1033: 1032: 1031: 1028: 1024: 1021: 1020: 1019: 1016: 1014: 1011: 1007: 1004: 1003: 1002: 999: 997: 994: 992: 989: 987: 984: 982: 981:Mobile access 979: 975: 972: 971: 970: 967: 965: 962: 958: 955: 953: 950: 948: 947:Edit conflict 945: 943: 940: 939: 938: 935: 931: 928: 926: 923: 922: 921: 920:Browser notes 918: 917: 915: 913: 907: 903: 901: 897: 893: 889: 885: 878: 874: 867: 862: 860: 855: 853: 848: 847: 844: 838: 835: 833: 830: 824: 818: 815: 812: 809: 808:Help:Template 806: 804: 801: 800: 792: 788: 784: 781: 778: 776: 772: 768: 767:Template:Diff 765: 762: 760: 756: 752: 749: 746: 745: 739: 735: 733: 722: 720: 712: 709: 706: 703: 700: 697: 694: 691: 688: 685: 684: 683: 671: 667: 663: 659: 655: 651: 647: 643: 639: 635: 631: 626: 622: 618: 614: 610: 606: 604:<code: --> 599: 596: 587:}} {{clear}} 586: 582: 578: 574: 570: 566: 562: 558: 554: 550: 547:'''Main''' {{ 544: 540: 536: 532: 528: 522: 517: 512: 504: 502: 498: 494: 487: 483: 479: 475: 471: 467: 463: 459: 455: 451: 448:'''Main''' {{ 445: 441: 437: 433: 429: 423: 418: 416: 406: 397: 392: 383: 364: 361: 358: 354: 351: 347: 346: 345: 330: 323: 315: 309: 302: 295: 285: 284:documentation 279:tags and the 274: 267: 266:documentation 252: 251: 243: 238: 233: 229: 228: 220: 217: 211: 205: 191: 188: 185: 184: 181: 178: 175: 174: 171: 168: 166:Main template 165: 164: 160: 157: 156: 153: 151: 147: 138: 129: 126: 124: 120: 116: 112: 108: 104: 100: 96: 91: 77: 73: 72: 69: 64: 59: 55: 49: 47: 41: 34: 33: 30: 19: 2185:User scripts 2133: 2126: 1956:User scripts 1732:Main/Article 1692:Transclusion 1675:Substitution 1642: 1563:Math symbols 1531:Family trees 1285:Introduction 1156:Random pages 1047:VisualEditor 991:Page history 952:Edit toolbar 925:Bypass cache 884:the Teahouse 881: 747:Basic format 736: 728: 716: 680: 669: 665: 661: 657: 653: 649: 645: 641: 637: 633: 624: 620: 616: 612: 608: 597: 594: 584: 580: 576: 572: 568: 564: 560: 556: 552: 548: 542: 538: 534: 530: 526: 520: 505: 500: 496: 492: 490: 485: 481: 477: 473: 469: 465: 461: 457: 453: 449: 443: 439: 435: 431: 427: 421: 412: 409:Basic format 403: 384: 373: 343: 241: 212: 201: 141: 139: 135: 127: 93: 76:WP:TESTCASES 46:how-to guide 43: 29: 2168:Referencing 2093:Ultraviolet 1951:IRC Scripts 1914:Preferences 1658:Lua project 1483:Gallery tag 1383:Colon trick 1243:Magic words 1146:Page import 1085:Edit filter 376:|italic=yes 2200:Categories 2141:Help pages 2125:See also: 2041:AntiVandal 1978:User style 1971:Techniques 1944:Hide pages 1727:Namespaces 1419:Media help 1393:Pipe trick 1388:Link color 1300:Collapsing 1221:Cheatsheet 1176:Linksearch 1095:Logging in 1023:Editnotice 942:CharInsert 896:talk pages 272:lowercase. 255:Template:X 210:operator. 111:test cases 88:See also: 2180:Templates 2102:Inactive 2098:WPCleaner 1907:and tools 1889:Span tags 1810:MediaWiki 1779:Archiving 1685:Job queue 1663:Resources 1618:Templates 1604:Templates 1546:Barcharts 1354:Permanent 1349:Interwiki 1270:Redirects 1193:Watchlist 1171:Searching 1001:Page name 957:Reverting 888:help desk 763:Wikitable 656:/sandbox| 591:Wikitable 571:/sandbox| 472:/sandbox| 158:Template 107:sandboxes 103:Knowledge 99:MediaWiki 95:Templates 58:consensus 2158:Accounts 2056:Creating 1793:Template 1737:Category 1653:Lua help 1582:Timeline 1476:SVG help 1216:Wikitext 1208:Wikitext 1080:AllPages 1068:-related 1035:Entering 1013:Printing 974:Tutorial 797:See also 742:Examples 654:template 634:template 609:template 569:template 549:template 527:template 493:template 470:template 450:template 428:template 303:Put the 68:Shortcut 2088:Twinkle 2083:RedWarn 2061:history 1919:Gadgets 1832:Special 1611:modules 1228:Columns 1064:Special 937:Editing 910:General 652:}} | {{ 208:#switch 121:or the 2073:Huggle 2068:HotCat 1827:Module 1784:Simple 1764:Portal 1441:Images 1290:Basics 1280:Tables 670:value2 666:param2 662:value1 658:param1 650:value2 646:param2 642:value1 638:param1 625:value2 621:param2 617:value1 613:param1 585:value2 581:param2 577:value1 573:param1 565:value2 561:param2 557:value1 553:param1 543:value2 539:param2 535:value1 531:param1 501:value1 497:param1 486:value2 482:param2 478:value1 474:param1 466:value2 462:param2 458:value1 454:param1 444:value2 440:param2 436:value1 432:param1 380:|date= 335:pages. 2111:STiki 2106:igloo 1983:Tools 1961:Guide 1924:Skins 1742:Draft 1680:Purge 1668:To do 1424:Files 1408:Media 1361:Diffs 1339:Links 1331:diffs 1327:Links 1238:Lists 602:|- | 511:clear 360:Purge 322:purge 161:Link 2163:Bots 2051:Bots 1966:List 1844:and 1842:HTML 1798:User 1774:Talk 1759:Help 1747:File 1398:URLs 1329:and 1183:Tags 1107:Logs 1066:page 1052:Help 1006:Help 789:and 773:and 757:and 632:| {{ 1846:CSS 1609:Lua 1606:and 1134:FAQ 969:IRC 900:IRC 898:or 673:|} 519:== 488:}} 420:== 242:Tip 119:X20 2202:: 894:, 890:, 886:, 826:}} 820:{{ 785:, 769:, 753:, 627:}} 607:{{ 525:{{ 514:}} 508:{{ 499:, 495:, 426:{{ 396:. 394:}} 388:{{ 332:}} 326:{{ 311:}} 305:{{ 287:}} 281:{{ 269:}} 263:{{ 152:: 149:}} 143:{{ 115:X1 902:. 865:e 858:t 851:v 668:= 664:| 660:= 648:= 644:| 640:= 636:| 623:= 619:| 615:= 611:| 583:= 579:| 575:= 563:= 559:| 555:= 551:| 541:= 537:| 533:= 529:| 484:= 480:| 476:= 464:= 460:| 456:= 452:| 442:= 438:| 434:= 430:| 293:. 117:- 60:. 48:. 20:)

Index

Knowledge:Template test cases
how-to guide
Knowledge's policies or guidelines
consensus
Shortcut
WP:TESTCASES
Knowledge:Lua § Unit testing
Templates
MediaWiki
Knowledge
sandboxes
test cases
X1
X20
Template Sandbox
FlagIOCmedalist
Template:FlagIOCmedalist
Template:FlagIOCmedalist/sandbox
Template:FlagIOCmedalist/testcases
ParserFunctions
High-risk Template

documentation
documentation
testcases notice
purge
testcases notice
Purge
testcase table
Template:Test case

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