31:
62:
100:
159:
147:
46:
178:
143:
42:
50:
129:
154:
74:
86:
78:
137:
38:
628:-- Check whether there is a head-to-head note or not, if so get text ready for it the same way as for the notes
2329:
1028:-- Add random end for unique ID if more tables are present on article (which might otherwise share an ID)
17:
133:
82:
2323:
1620:-- NOTE: If you add to status_code, also add to status_called and status_letters!!
69:
25:
192:-- Subfunctions for this module that are called from the style modules
881:-- Split failed, so make a single entry table with hth_local inside
1896:'Qualified, but not yet to the particular phase indicated'
678:-- Split the hth_local into a table if all the entries are valid
73:
and changes may be widely noticed. Test changes in the module's
1634:-- ------------------------------------------------------------
1613:-- ------------------------------------------------------------
94:
56:
171:
163:
1917:-- Status position (before or after read and default)
8:
1868:'Qualified to the phase indicated'
106:Module rating is invalid or not specified.
336:'! scope="col" width='
153:Editors can experiment in this module's
1627:-- Or functionality will be compromised
994:-- Now define the identifier for this
654:-- Set global check for notes to true
85:. Consider discussing changes on the
7:
1768:'Advance to a further round'
1684:'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
105:
298:'! scope="col" |'
24:
2045:-- Read in custom status options
256:-- For individual column headers
98:
60:
29:
1377:-- Add random end for unique ID
70:approximately 64,000 pages
1:
138:Module:Sports table/sub/doc
119:{{#invoke:Sports table/sub|
68:This Lua module is used on
2346:
2308:
2304:
2297:
2239:
2235:
2228:
2221:
2208:
2195:
2191:
2127:
1356:'"table_hth_'
1235:'"table_hth_'
1007:'"table_hth_'
127:
2108:
2095:
2049:
2042:
2035:
2022:
2003:
1990:
1971:
1952:
1921:
1914:
1910:
1903:
1875:
1844:'Play-off winner'
1799:
1750:
1728:
1688:
1654:
1638:
1631:
1624:
1617:
1610:
1606:-- Declare status options
1603:
1572:
1568:
1561:
1515:
1511:
1504:
1497:
1490:
1483:
1401:
1394:
1381:
1347:
1340:
1333:
1257:
1226:
1219:
1170:
1148:
1141:
1134:
1052:
1045:
1032:
998:
991:
984:
968:
934:
930:
923:
904:
885:
878:
874:
867:
854:
847:
840:
803:
769:
741:
698:
682:
675:
671:
658:
651:
632:
625:
621:
557:
553:-- For head-to-head notes
550:
465:
461:
454:
444:
440:
412:
381:
377:
370:
327:
89:before implementing them.
81:subpages, or in your own
320:
289:
270:
260:
253:
216:
212:
196:
189:
186:
179:Subpages of this module
1792:'Disqualified'
1455:'lower-alpha'
1397:-- Call refn template
1311:'lower-alpha'
1106:'lower-alpha'
1048:-- Call refn template
1808:'Eliminated'
34:Module documentation
1967:-- Default location
1884:'Relegated'
18:Module:Sports table
1856:'Promoted'
1780:'Champion'
107:
734:'%s*,%s*'
111:
110:
93:
92:
2337:
2316:
2315:
2312:
2306:
2302:
2301:
2295:
2294:
2291:
2288:
2285:
2282:
2279:
2276:
2273:
2270:
2267:
2264:
2261:
2258:
2255:
2252:
2249:
2246:
2243:
2237:
2233:
2232:
2226:
2225:
2219:
2218:
2215:
2212:
2206:
2205:
2202:
2199:
2193:
2189:
2188:
2185:
2182:
2179:
2176:
2173:
2170:
2167:
2164:
2161:
2158:
2155:
2152:
2149:
2146:
2143:
2140:
2137:
2134:
2131:
2125:
2124:
2121:
2118:
2115:
2112:
2106:
2105:
2102:
2099:
2093:
2092:
2089:
2086:
2083:
2080:
2077:
2074:
2071:
2068:
2065:
2062:
2059:
2056:
2053:
2047:
2046:
2040:
2039:
2033:
2032:
2029:
2026:
2020:
2019:
2016:
2013:
2010:
2007:
2001:
2000:
1999:'before'
1997:
1994:
1988:
1987:
1984:
1983:'before'
1981:
1978:
1975:
1969:
1968:
1965:
1962:
1959:
1956:
1950:
1949:
1946:
1943:
1940:
1937:
1934:
1931:
1928:
1925:
1919:
1918:
1912:
1908:
1907:
1901:
1900:
1897:
1894:
1891:
1888:
1885:
1882:
1879:
1873:
1872:
1869:
1866:
1863:
1860:
1857:
1854:
1851:
1848:
1845:
1842:
1839:
1836:
1833:
1830:
1827:
1824:
1821:
1818:
1815:
1812:
1809:
1806:
1803:
1797:
1796:
1793:
1790:
1787:
1784:
1781:
1778:
1775:
1772:
1769:
1766:
1763:
1760:
1757:
1754:
1748:
1747:
1744:
1741:
1738:
1735:
1732:
1726:
1725:
1722:
1719:
1716:
1713:
1710:
1707:
1704:
1701:
1698:
1695:
1692:
1686:
1685:
1682:
1679:
1676:
1673:
1670:
1667:
1664:
1661:
1658:
1652:
1651:
1648:
1645:
1642:
1636:
1635:
1629:
1628:
1622:
1621:
1615:
1614:
1608:
1607:
1601:
1600:
1597:
1594:
1591:
1588:
1585:
1582:
1579:
1576:
1570:
1566:
1565:
1559:
1558:
1555:
1552:
1549:
1546:
1543:
1540:
1537:
1534:
1531:
1528:
1525:
1522:
1519:
1513:
1509:
1508:
1502:
1501:
1495:
1494:
1488:
1487:
1481:
1480:
1477:
1474:
1471:
1468:
1465:
1462:
1459:
1456:
1453:
1450:
1447:
1444:
1441:
1438:
1435:
1432:
1429:
1426:
1423:
1420:
1417:
1414:
1411:
1408:
1405:
1399:
1398:
1392:
1391:
1388:
1385:
1379:
1378:
1375:
1374:'"'
1372:
1369:
1366:
1363:
1360:
1357:
1354:
1351:
1345:
1344:
1338:
1337:
1331:
1330:
1327:
1324:
1321:
1318:
1315:
1312:
1309:
1306:
1303:
1300:
1297:
1294:
1291:
1288:
1285:
1282:
1279:
1276:
1273:
1270:
1267:
1264:
1261:
1255:
1254:
1253:'"'
1251:
1248:
1245:
1242:
1239:
1236:
1233:
1230:
1224:
1223:
1217:
1216:
1213:
1210:
1207:
1204:
1201:
1198:
1195:
1192:
1189:
1186:
1183:
1180:
1177:
1174:
1168:
1167:
1164:
1161:
1158:
1155:
1152:
1146:
1145:
1139:
1138:
1132:
1131:
1128:
1125:
1122:
1119:
1116:
1113:
1110:
1107:
1104:
1101:
1098:
1095:
1092:
1089:
1086:
1083:
1080:
1077:
1074:
1071:
1068:
1065:
1062:
1059:
1056:
1050:
1049:
1043:
1042:
1039:
1036:
1030:
1029:
1026:
1025:'"'
1023:
1020:
1017:
1014:
1011:
1008:
1005:
1002:
996:
995:
989:
988:
982:
981:
978:
975:
972:
966:
965:
962:
959:
956:
953:
950:
947:
944:
941:
938:
932:
928:
927:
921:
920:
917:
914:
911:
908:
902:
901:
898:
895:
892:
889:
883:
882:
876:
872:
871:
865:
864:
861:
858:
852:
851:
845:
844:
838:
837:
834:
831:
828:
825:
822:
819:
816:
813:
810:
807:
801:
800:
797:
794:
791:
788:
785:
782:
779:
776:
773:
767:
766:
763:
760:
757:
754:
751:
748:
745:
739:
738:
735:
732:
729:
726:
723:
720:
717:
714:
711:
708:
705:
702:
696:
695:
692:
689:
686:
680:
679:
673:
669:
668:
665:
662:
656:
655:
649:
648:
645:
642:
639:
636:
630:
629:
623:
619:
618:
615:
612:
609:
606:
603:
600:
597:
594:
591:
588:
585:
582:
579:
576:
573:
570:
567:
564:
561:
555:
554:
548:
547:
544:
541:
538:
535:
532:
529:
526:
523:
520:
517:
514:
511:
508:
505:
502:
499:
496:
493:
490:
487:
484:
481:
478:
475:
472:
469:
463:
459:
458:
452:
451:
448:
442:
438:
437:
434:
431:
428:
425:
422:
419:
416:
410:
409:
406:
403:
400:
397:
394:
391:
388:
385:
379:
375:
374:
368:
367:
364:
361:
358:
355:
352:
349:
346:
343:
340:
337:
334:
331:
325:
324:
318:
317:
314:
311:
308:
305:
302:
299:
296:
293:
287:
286:
283:
280:
277:
274:
268:
267:
264:
258:
257:
251:
250:
247:
244:
241:
238:
235:
232:
229:
226:
223:
220:
214:
210:
209:
206:
203:
200:
194:
193:
175:
167:
151:
124:
102:
101:
95:
64:
63:
57:
54:
35:
33:
32:
2345:
2344:
2340:
2339:
2338:
2336:
2335:
2334:
2320:
2319:
2318:
2317:
2313:
2310:
2307:
2303:
2299:
2296:
2292:
2290:status_position
2289:
2286:
2283:
2280:
2277:
2274:
2271:
2268:
2265:
2262:
2259:
2256:
2253:
2250:
2247:
2244:
2241:
2238:
2234:
2230:
2227:
2223:
2220:
2216:
2213:
2210:
2207:
2203:
2200:
2197:
2194:
2190:
2186:
2183:
2180:
2177:
2174:
2171:
2168:
2165:
2162:
2159:
2156:
2153:
2150:
2147:
2144:
2141:
2138:
2135:
2132:
2129:
2126:
2122:
2119:
2116:
2113:
2110:
2107:
2103:
2100:
2097:
2094:
2090:
2087:
2084:
2081:
2078:
2075:
2072:
2069:
2066:
2063:
2060:
2057:
2054:
2051:
2048:
2044:
2041:
2037:
2034:
2031:'after'
2030:
2027:
2025:status_position
2024:
2021:
2017:
2015:'after'
2014:
2011:
2008:
2005:
2002:
1998:
1995:
1993:status_position
1992:
1989:
1985:
1982:
1979:
1976:
1973:
1970:
1966:
1964:'after'
1963:
1960:
1958:status_position
1957:
1954:
1951:
1947:
1944:
1941:
1938:
1935:
1932:
1929:
1926:
1923:
1920:
1916:
1913:
1909:
1905:
1902:
1898:
1895:
1892:
1889:
1886:
1883:
1880:
1877:
1874:
1870:
1867:
1864:
1861:
1858:
1855:
1852:
1849:
1846:
1843:
1840:
1837:
1834:
1831:
1828:
1825:
1822:
1820:'Guest'
1819:
1816:
1813:
1810:
1807:
1804:
1801:
1798:
1794:
1791:
1788:
1785:
1782:
1779:
1776:
1773:
1770:
1767:
1764:
1761:
1758:
1755:
1752:
1749:
1745:
1742:
1739:
1736:
1733:
1730:
1727:
1723:
1720:
1717:
1714:
1711:
1709:'table'
1708:
1705:
1702:
1699:
1696:
1693:
1690:
1687:
1683:
1680:
1677:
1674:
1671:
1668:
1665:
1662:
1659:
1656:
1653:
1649:
1646:
1643:
1640:
1637:
1633:
1630:
1626:
1623:
1619:
1616:
1612:
1609:
1605:
1602:
1598:
1595:
1592:
1589:
1586:
1583:
1580:
1577:
1574:
1571:
1567:
1563:
1560:
1556:
1553:
1550:
1547:
1544:
1541:
1538:
1535:
1532:
1529:
1526:
1523:
1520:
1517:
1514:
1510:
1506:
1503:
1499:
1496:
1492:
1489:
1485:
1482:
1478:
1475:
1472:
1469:
1466:
1463:
1460:
1457:
1454:
1451:
1448:
1445:
1442:
1439:
1436:
1433:
1430:
1427:
1424:
1421:
1418:
1415:
1412:
1409:
1406:
1403:
1400:
1396:
1393:
1389:
1386:
1383:
1380:
1376:
1373:
1370:
1367:
1364:
1361:
1358:
1355:
1352:
1349:
1346:
1342:
1339:
1335:
1332:
1328:
1325:
1322:
1319:
1316:
1313:
1310:
1307:
1304:
1301:
1298:
1295:
1292:
1289:
1286:
1283:
1280:
1277:
1274:
1271:
1268:
1265:
1262:
1259:
1256:
1252:
1249:
1246:
1243:
1240:
1237:
1234:
1231:
1228:
1225:
1221:
1218:
1214:
1211:
1208:
1205:
1202:
1199:
1196:
1193:
1190:
1187:
1184:
1181:
1178:
1175:
1172:
1169:
1165:
1162:
1159:
1156:
1153:
1150:
1147:
1143:
1140:
1136:
1133:
1129:
1126:
1123:
1120:
1117:
1114:
1111:
1108:
1105:
1102:
1099:
1096:
1093:
1090:
1087:
1084:
1081:
1078:
1075:
1072:
1069:
1066:
1063:
1060:
1057:
1054:
1051:
1047:
1044:
1040:
1037:
1034:
1031:
1027:
1024:
1021:
1018:
1015:
1012:
1009:
1006:
1003:
1000:
997:
993:
990:
986:
983:
979:
976:
973:
970:
967:
963:
960:
958:hth_local_table
957:
954:
951:
948:
945:
942:
939:
936:
933:
929:
925:
922:
918:
915:
912:
909:
907:hth_local_table
906:
903:
899:
896:
893:
890:
887:
884:
880:
877:
873:
869:
866:
862:
859:
856:
853:
849:
846:
842:
839:
835:
832:
829:
826:
823:
820:
817:
814:
811:
808:
805:
802:
798:
795:
793:hth_local_table
792:
789:
786:
783:
780:
777:
774:
771:
768:
764:
761:
758:
755:
753:hth_local_table
752:
749:
746:
743:
740:
736:
733:
730:
727:
724:
721:
718:
715:
712:
709:
706:
704:hth_local_table
703:
700:
697:
693:
690:
687:
684:
681:
677:
674:
670:
666:
663:
660:
657:
653:
650:
646:
643:
640:
637:
634:
631:
627:
624:
620:
616:
613:
610:
607:
604:
601:
598:
595:
592:
589:
586:
583:
580:
577:
574:
571:
568:
565:
562:
559:
556:
552:
549:
545:
542:
539:
536:
533:
530:
527:
524:
521:
518:
515:
512:
509:
506:
503:
500:
497:
494:
491:
488:
485:
482:
479:
476:
473:
470:
467:
464:
460:
456:
453:
449:
446:
443:
439:
435:
432:
429:
426:
423:
420:
417:
414:
411:
407:
404:
401:
398:
395:
392:
389:
386:
383:
380:
376:
372:
369:
365:
362:
359:
356:
353:
350:
347:
344:
341:
338:
335:
332:
329:
326:
322:
319:
315:
312:
309:
306:
303:
300:
297:
294:
291:
288:
284:
281:
278:
275:
272:
269:
265:
262:
259:
255:
252:
248:
245:
242:
239:
236:
233:
230:
227:
224:
221:
218:
215:
211:
207:
204:
201:
198:
195:
191:
188:
183:
182:
177:
169:
157:
152:
141:
126:
118:
116:
99:
61:
55:
36:
30:
28:
22:
21:
20:
12:
11:
5:
2343:
2341:
2333:
2332:
2330:Sports modules
2322:
2321:
2278:status_letters
2154:status_letters
2130:status_letters
2079:status_letters
1832:'Host'
1660:status_letters
1422:expandTemplate
1073:expandTemplate
282:'auto'
187:
168:and testcases
115:
112:
109:
108:
103:
91:
90:
83:module sandbox
65:
27:
26:
23:
15:
14:
13:
10:
9:
6:
4:
3:
2:
2342:
2331:
2328:
2327:
2325:
2309:
2305:
2298:
2266:status_called
2240:
2236:
2229:
2222:
2209:
2196:
2192:
2172:'.-)'
2128:
2109:
2098:status_called
2096:
2050:
2043:
2036:
2023:
2004:
1991:
1972:
1953:
1922:
1915:
1911:
1904:
1876:
1800:
1751:
1729:
1689:
1655:
1644:status_called
1639:
1632:
1625:
1618:
1611:
1604:
1573:
1569:
1562:
1516:
1512:
1505:
1498:
1491:
1484:
1434:'efn'
1402:
1395:
1382:
1348:
1341:
1334:
1290:'ref'
1258:
1227:
1220:
1203:hth_local_num
1185:hth_local_num
1171:
1151:hth_local_num
1149:
1142:
1135:
1085:'efn'
1053:
1046:
1033:
999:
992:
985:
969:
935:
931:
924:
905:
886:
879:
875:
868:
855:
848:
841:
804:
770:
742:
699:
683:
676:
672:
659:
652:
633:
626:
622:
569:hth_local_num
558:
551:
466:
462:
455:
445:
441:
413:
382:
378:
371:
328:
321:
290:
271:
261:
254:
217:
213:
197:
190:
185:
180:
173:
165:
161:
156:
149:
145:
139:
135:
131:
130:documentation
125:
122:
121:function_name
113:
104:
97:
96:
88:
84:
80:
76:
72:
71:
66:
59:
58:
52:
48:
44:
40:
19:
2184:'%1'
2009:stat_pos_val
1977:stat_pos_val
1933:string.lower
1927:stat_pos_val
1343:-- Option 2b
1278:extensionTag
1222:-- Option 2a
1013:team_code_ii
525:team_code_ii
415:table.insert
184:
120:
117:
67:
2254:status_code
2211:status_code
2160:'('
2123:'?'
2117:status_code
2111:status_code
1753:status_code
1737:status_code
1715:status_code
1700:status_code
1596:status_code
1554:notes_exist
1548:notes_exist
1542:hth_id_list
1384:hth_id_list
1176:hth_id_list
1144:-- Option 2
1035:hth_id_list
987:-- Option 1
661:notes_exist
513:notes_exist
501:hth_id_list
433:head_string
348:'|'
330:head_string
292:head_string
266:head_string
134:transcluded
49:] [
45:] [
41:] [
2085:''
1945:''
1675:''
1530:hth_string
1410:hth_string
1404:hth_string
1266:hth_string
1260:hth_string
1061:hth_string
1055:hth_string
644:full_table
593:''
563:hth_string
495:full_table
128:The above
79:/testcases
1157:team_list
916:hth_local
728:hth_local
638:hth_local
519:team_list
507:hth_local
87:talk page
2324:Category
2284:position
1575:function
1368:rand_val
1247:rand_val
1191:ii_start
1019:rand_val
891:multiref
857:multiref
812:multiref
806:multiref
688:multiref
543:rand_val
531:ii_start
468:function
427:tab_text
219:function
75:/sandbox
2272:letters
2142:ustring
1362:hth_loc
1241:hth_loc
1124:hth_loc
946:hth_loc
781:hth_loc
587:hth_loc
228:colhead
162:|
155:sandbox
148:history
146:|
47:history
2311:return
2260:called
2242:return
2073:gsplit
2006:elseif
1584:status
1518:return
1467:hth_id
1390:hth_id
1350:hth_id
1323:hth_id
1229:hth_id
1209:ii_end
1118:hth_id
1041:hth_id
1001:hth_id
952:ipairs
787:ipairs
575:hth_id
537:ii_end
447:return
176:pages.
172:create
2104:false
1955:local
1924:local
1657:local
1641:local
1449:group
1428:title
1416:frame
1305:group
1272:frame
1206:<=
1188:>=
1100:group
1079:title
1067:frame
722:split
701:local
685:local
560:local
483:frame
402:count
390:count
366:'
360:'
342:width
316:'
310:'
276:width
263:local
240:width
199:local
136:from
114:Usage
53:]
51:purge
37:[
16:<
2248:code
2217:Args
2204:then
2201:Args
2148:gsub
2067:text
2018:then
1986:then
1939:Args
1746:then
1740:<
1712:then
1694:type
1669:Args
1590:Args
1536:list
1473:Args
1461:name
1440:args
1336:else
1317:name
1296:args
1284:name
1215:then
1137:else
1112:name
1091:args
980:then
977:Args
900:then
894:<
850:else
821:Args
765:then
756:>
716:text
667:true
647:then
489:Args
354:text
323:else
304:text
285:then
246:text
164:diff
160:edit
144:edit
43:edit
39:view
2314:ppp
2300:end
2231:end
2224:end
2052:for
2038:end
1906:end
1724:end
1578:ppp
1564:end
1524:str
1507:end
1500:end
1493:end
1486:end
1197:and
974:not
937:for
926:end
870:end
843:end
824:and
772:for
641:and
617:nil
611:nil
605:nil
599:nil
477:hth
471:ppp
457:end
450:ttt
421:ttt
396:ttt
384:ttt
373:end
234:ttt
222:ppp
202:ppp
132:is
77:or
2326::
2198:if
2175:..
2169:..
2163:..
2136:mw
2120:or
2091:do
2061:mw
2058:in
2012:==
1980:==
1974:if
1942:or
1731:if
1721:{}
1706:~=
1691:if
1681:..
1672:or
1650:{}
1413:..
1371:..
1365:..
1359:..
1269:..
1250:..
1244:..
1238:..
1212:))
1182:((
1179:or
1173:if
1160:or
1064:..
1022:..
1016:..
1010:..
971:if
964:do
949:in
888:if
830:or
799:do
784:in
744:if
710:mw
635:if
363:\n
357:..
351:..
345:..
339:..
313:\n
307:..
301:..
279:==
273:if
208:{}
140:.
123:}}
2293:}
2287:=
2281:,
2275:=
2269:,
2263:=
2257:,
2251:=
2245:{
2214:=
2187:)
2181:,
2178:l
2166:l
2157:,
2151:(
2145:.
2139:.
2133:=
2114:=
2101:=
2088:)
2082:,
2076:(
2070:.
2064:.
2055:l
2028:=
1996:=
1961:=
1948:)
1936:(
1930:=
1899:}
1893:=
1890:T
1887:,
1881:=
1878:R
1871:,
1865:=
1862:Q
1859:,
1853:=
1850:P
1847:,
1841:=
1838:O
1835:,
1829:=
1826:H
1823:,
1817:=
1814:G
1811:,
1805:=
1802:E
1795:,
1789:=
1786:D
1783:,
1777:=
1774:C
1771:,
1765:=
1762:A
1759:{
1756:=
1743:1
1734:#
1718:=
1703:)
1697:(
1678:)
1666:(
1663:=
1647:=
1599:)
1593:,
1587:(
1581:.
1557:}
1551:=
1545:,
1539:=
1533:,
1527:=
1521:{
1479:}
1476:}
1470:,
1464:=
1458:,
1452:=
1446:{
1443:=
1437:,
1431:=
1425:{
1419::
1407:=
1387:=
1353:=
1329:}
1326:}
1320:=
1314:,
1308:=
1302:{
1299:=
1293:,
1287:=
1281:{
1275::
1263:=
1232:=
1200:(
1194:)
1166:1
1163:-
1154:=
1130:}
1127:}
1121:,
1115:=
1109:,
1103:=
1097:{
1094:=
1088:,
1082:=
1076:{
1070::
1058:=
1038:=
1004:=
961:)
955:(
943:,
940:k
919:}
913:{
910:=
897:1
863:0
860:=
836:)
833:0
827:1
818:(
815:*
809:=
796:)
790:(
778:,
775:k
762:)
759:1
750:#
747:(
737:)
731:,
725:(
719:.
713:.
707:=
694:1
691:=
664:=
614:,
608:,
602:,
596:,
590:=
584:,
581:k
578:,
572:,
566:,
546:)
540:,
534:,
528:,
522:,
516:,
510:,
504:,
498:,
492:,
486:,
480:(
474:.
436:)
430:,
424:.
418:(
408:1
405:+
399:.
393:=
387:.
333:=
295:=
249:)
243:,
237:,
231:(
225:.
205:=
181:.
174:)
170:(
166:)
158:(
150:)
142:(
Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.