Knowledge (XXG)

Template:Hatnote

Source 📝

21: 59: 1348: 99: 145: 501:
The hatnote text was specified, but that text contains an equals sign ("="). The equals sign has a special meaning in template code, and because of this it cannot be used in template parameters that do not specify a parameter name. For example, the template code
239:
block around the text entered as its only argument, which provides standardized formatting (contents are indented and italicized in most displays); it also isolates the contained code to make sure that it is interpreted correctly.
1421:
Template for creating a standard Knowledge (XXG) hatnote. A hatnote is a short note placed at the top of an article to provide disambiguation of closely related terms or summarise a topic, explaining its
1505:
Set to "yes" if the hatnote text is a self-reference to Knowledge (XXG) that would not make sense on mirrors or forks of the Knowledge (XXG) site. (E.g. "For the Knowledge (XXG) Sandbox, see ]".)
1528:
Set to "no", "n", "false", or "0" to suppresses the error tracking category (Category:Hatnote templates with errors). This only has an effect if the hatnote text is omitted.
1596: 620: 1581: 1569: 36: 549: 408: 1608: 1565: 32: 1366: 1361: 1373: 1153: 250:
The template does not automatically create links of any kind. Links and other desired formatting must be explicitly added, using normal
1551: 1634: 1063: 973: 1075: 984: 782: 397:– If set to "yes", "y", "true" or "1", adds the CSS class "selfref". This is used to denote self-references to Knowledge (XXG). See 1308: 1040: 804: 613: 40: 1264: 1052: 962: 1624: 1275: 1175: 837: 645: 1404: 1629: 1591: 1351: 1029: 995: 793: 606: 244: 77: 1242: 951: 939: 1394: 1390: 243:
This template is also used as the "meta-template" for additional specialized disambiguation link templates; see
1576: 1356: 73: 1253: 1108: 927: 691: 251: 81: 1186: 849: 771: 680: 162: 1209: 1141: 871: 860: 826: 542: 85: 650: 121: 1604: 1559: 1198: 1017: 882: 506:
will produce this error. To work around this, you can specify the parameter name explicitly by using
486:
Some parameters were specified, but the hatnote text wasn't included. For example, the template text
28: 640: 629: 176: 84:. The tested changes can be added to this page in a single edit. Consider discussing changes on the 1297: 760: 1119: 915: 736: 1555: 1319: 1164: 904: 724: 381: 110: 48: 1330: 1231: 1130: 398: 151: 72:
To avoid major disruption and server load, any changes should be tested in the template's
748: 575: 518: 158: 1618: 1097: 541:
If you see this error message and are unsure of what to do, please post a message on
411:). This has an effect only if the leftmost parameter (the hatnote text) is omitted. 212:
Broadly speaking, a hatnote should answer a reader's question (maybe preemptively):
1482:
Extra CSS classes to be added to the <div> tags surrounding the hatnote text.
713: 590: 566: 529:. Use of #invoke in this way has been disabled for performance reasons. Please use 453:
If no hatnote text is supplied, the template will output the following message:
407:– If set to "no", "n", "false", or "0", suppresses the error tracking category ( 66: 15: 569: role="note" class="db-aGF0bm90ZSBuYQ">hatnote text</div> 1459:
This field should contain the text that will be displayed in the hatnote.
174:
This template produces formatted text, following the guideline for a
47:"Template:Dablink" redirects here. For the maintenance template, see 598: 67:
approximately 691,000 pages, or roughly 1% of all pages
602: 467:
If you see this error message, it is for one of four reasons:
139: 93: 53: 223:
This template is primarily used to add a correctly formatted
560:
The HTML code produced by this template looks like this:
1585: 130: 377:– any extra CSS classes to be added, for example, the 548:
Pages that contain this error message are tracked in
471:
No parameters were specified (the template code was
1287: 1221: 1087: 1007: 894: 816: 703: 659: 490:will produce this error. Please use (for example) 364:This template accepts the following parameters: 231:at the top of article pages. It places an HTML 945:(for several redirects, without listing each) 614: 8: 1418: 227:to a page. Often, but not always, this is a 1411:in articles based on its TemplateData. 1575:Editors can experiment in this template's 1425: 1385: 621: 607: 599: 545:, and someone should be able to help you. 389:|extraclasses=boilerplate seealso 550:Category:Hatnote templates with errors 409:Category:Hatnote templates with errors 388: 7: 1405:See a monthly parameter usage report 1374:hatnote templates for category pages 510:before the hatnote text, like this: 457: 564: 14: 1347: 1346: 488:{{hatnote|extraclasses=seealso}} 143: 97: 57: 19: 646:Knowledge (XXG):Disambiguation 1: 371:– the hatnote text (required) 459: 387:template adds the classes " 1651: 1549: 1352:Category:Hatnote templates 1154:Further interlanguage link 843:(adds "about" description) 523:{{#invoke:hatnote|hatnote| 458:Error: no text specified ( 442: 245:Category:Hatnote templates 208: 119: 46: 1635:Cross-reference templates 1609:Subpages of this template 1433: 1342: 1064:Redirect-distinguish-text 974:Redirect-distinguish-text 636: 88:before implementing them. 80:subpages, or in your own 65:This template is used on 1414:TemplateData for Hatnote 1076:Redirect-distinguish-for 985:Redirect-distinguish-for 933:(for multiple redirects) 783:Redirect-distinguish-for 651:Knowledge (XXG):Redirect 574:The code is produced by 641:Knowledge (XXG):Hatnote 496:|extraclasses=seealso}} 214:Am I on the right page? 177:Knowledge (XXG) hatnote 1603:Add categories to the 1393:documentation used by 1309:Highway detail hatnote 1041:About-distinguish-text 1023:(supports custom text) 805:About-distinguish-text 252:Knowledge (XXG) markup 24:Template documentation 543:Template talk:Hatnote 401:for more information. 209:Example hatnote text. 198:Example hatnote text. 105:This template should 1560:Template:Hatnote/doc 1265:Transcluding article 1053:Redirect-distinguish 963:Redirect-distinguish 517:You tried to access 443:Example hatnote text 435:Example hatnote text 150:This template uses 1625:Lua-based templates 1542: 1430: 1428:Template parameters 1276:Transcluded section 1088:For use in sections 921:(for two redirects) 742:(for multiple uses) 512:{{hatnote|1=2+2=4}} 229:disambiguation link 1426: 1424: 1176:See also if exists 838:About other people 521:directly by using 463: 1630:Hatnote templates 1546: 1545: 1541: 1540: 1446: 1419: 1382: 1381: 1192:(for custom text) 1147:(for custom text) 1069:(for custom text) 1046:(for custom text) 1030:About-distinguish 996:Technical reasons 794:About-distinguish 730:(for custom text) 630:Hatnote templates 556:Technical details 504:{{hatnote|2+2=4}} 172: 171: 118: 117: 92: 91: 49:Template:Dablinks 1642: 1600: 1589: 1573: 1524: 1501: 1478: 1455: 1447: 1431: 1409:Template:Hatnote 1386: 1350: 1349: 1335: 1329: 1324: 1318: 1313: 1307: 1302: 1296: 1288:Subject specific 1280: 1274: 1269: 1263: 1258: 1252: 1247: 1243:For introduction 1241: 1236: 1230: 1214: 1208: 1203: 1197: 1191: 1185: 1180: 1174: 1169: 1163: 1158: 1152: 1146: 1140: 1135: 1129: 1124: 1118: 1113: 1107: 1102: 1096: 1080: 1074: 1068: 1062: 1057: 1051: 1045: 1039: 1034: 1028: 1022: 1016: 1000: 994: 989: 983: 978: 972: 967: 961: 956: 952:Redirect-synonym 950: 944: 940:Redirect-several 938: 932: 926: 920: 914: 909: 903: 887: 881: 876: 870: 865: 859: 854: 848: 842: 836: 831: 825: 809: 803: 798: 792: 787: 781: 776: 770: 765: 759: 753: 747: 741: 735: 729: 723: 718: 712: 696: 690: 685: 679: 674: 668: 623: 616: 609: 600: 595: 589: 570: 536: 528: 513: 509: 505: 497: 489: 482: 474: 440: 439: 436: 433: 430: 429: 424: 406: 399:Template:Selfref 396: 390: 386: 380: 376: 370: 355: 354: 351: 348: 345: 342: 339: 338: 335: 332: 329: 326: 325: 322: 319: 316: 313: 312: 309: 306: 305: 300: 287: 286: 283: 280: 277: 276: 271: 238: 234: 203: 202: 199: 196: 193: 192: 187: 147: 146: 140: 133: 101: 100: 94: 61: 60: 54: 44: 25: 23: 22: 1650: 1649: 1645: 1644: 1643: 1641: 1640: 1639: 1615: 1614: 1613: 1612: 1602: 1594: 1579: 1574: 1563: 1548: 1547: 1522: 1499: 1476: 1453: 1417: 1398: 1397:and other tools 1383: 1378: 1338: 1333: 1327: 1322: 1316: 1311: 1305: 1300: 1294: 1283: 1278: 1272: 1267: 1261: 1256: 1250: 1245: 1239: 1234: 1228: 1217: 1212: 1206: 1201: 1195: 1189: 1183: 1178: 1172: 1167: 1161: 1156: 1150: 1144: 1138: 1133: 1127: 1122: 1116: 1111: 1105: 1100: 1094: 1083: 1078: 1072: 1066: 1060: 1055: 1049: 1043: 1037: 1032: 1026: 1020: 1014: 1003: 998: 992: 987: 981: 976: 970: 965: 959: 954: 948: 942: 936: 930: 924: 918: 912: 907: 901: 890: 885: 879: 874: 868: 863: 857: 852: 846: 840: 834: 829: 823: 812: 807: 801: 796: 790: 785: 779: 774: 768: 763: 757: 751: 745: 739: 733: 727: 721: 716: 710: 699: 694: 688: 683: 677: 672: 666: 655: 632: 627: 593: 587: 584: 558: 530: 522: 511: 507: 503: 491: 487: 476: 472: 451: 444: 437: 434: 431: 425: 422: 421: 418: 404: 394: 384: 378: 374: 368: 362: 352: 349: 346: 343: 340: 336: 333: 330: 327: 323: 320: 317: 314: 310: 307: 301: 298: 297: 284: 281: 278: 272: 269: 268: 260: 236: 232: 221: 210: 205: 200: 197: 194: 188: 185: 184: 168: 144: 138: 137: 129: 124: 98: 71: 58: 52: 45: 26: 20: 18: 12: 11: 5: 1648: 1646: 1638: 1637: 1632: 1627: 1617: 1616: 1544: 1543: 1539: 1538: 1535: 1532: 1531: 1525: 1520: 1516: 1515: 1512: 1509: 1508: 1502: 1497: 1496:Self reference 1493: 1492: 1489: 1486: 1485: 1479: 1474: 1470: 1469: 1466: 1463: 1462: 1456: 1451: 1445: 1444: 1441: 1438: 1435: 1403: 1400: 1399: 1389: 1384: 1380: 1379: 1377: 1376: 1371: 1370: 1369: 1364: 1359: 1343: 1340: 1339: 1337: 1336: 1325: 1314: 1303: 1291: 1289: 1285: 1284: 1282: 1281: 1270: 1259: 1254:See Wiktionary 1248: 1237: 1225: 1223: 1219: 1218: 1216: 1215: 1204: 1193: 1181: 1170: 1159: 1148: 1136: 1125: 1114: 1109:Main if exists 1103: 1091: 1089: 1085: 1084: 1082: 1081: 1070: 1058: 1047: 1035: 1024: 1011: 1009: 1005: 1004: 1002: 1001: 990: 979: 968: 957: 946: 934: 928:Redirect-multi 922: 910: 898: 896: 892: 891: 889: 888: 877: 866: 855: 844: 832: 820: 818: 814: 813: 811: 810: 799: 788: 777: 766: 754: 743: 731: 719: 707: 705: 701: 700: 698: 697: 692:Self-reference 686: 675: 663: 661: 657: 656: 654: 653: 648: 643: 637: 634: 633: 628: 626: 625: 618: 611: 603: 597: 596: 583: 580: 576:Module:Hatnote 572: 571: 557: 554: 539: 538: 519:Module:Hatnote 515: 499: 484: 475:). Please use 465: 464: 450: 447: 446: 445: 417: 414: 413: 412: 402: 392: 372: 361: 358: 357: 356: 295: 293: 292:All parameters 289: 288: 266: 264: 259: 256: 220: 217: 207: 206: 170: 169: 167: 166: 159:Module:Hatnote 155: 148: 136: 135: 125: 120: 116: 115: 102: 90: 89: 62: 17: 16: 13: 10: 9: 6: 4: 3: 2: 1647: 1636: 1633: 1631: 1628: 1626: 1623: 1622: 1620: 1610: 1606: 1598: 1593: 1587: 1583: 1578: 1571: 1567: 1561: 1557: 1553: 1552:documentation 1536: 1533: 1530: 1529: 1526: 1521: 1518: 1517: 1513: 1510: 1507: 1506: 1503: 1498: 1495: 1494: 1490: 1487: 1484: 1483: 1480: 1475: 1473:Extra classes 1472: 1471: 1467: 1464: 1461: 1460: 1457: 1452: 1449: 1448: 1442: 1439: 1436: 1432: 1429: 1423: 1416: 1415: 1410: 1406: 1402: 1401: 1396: 1392: 1388: 1387: 1375: 1372: 1368: 1365: 1363: 1360: 1358: 1355: 1354: 1353: 1345: 1344: 1341: 1332: 1326: 1321: 1315: 1310: 1304: 1299: 1293: 1292: 1290: 1286: 1277: 1271: 1266: 1260: 1255: 1249: 1244: 1238: 1233: 1227: 1226: 1224: 1220: 1211: 1205: 1200: 1194: 1188: 1187:See also-text 1182: 1177: 1171: 1166: 1160: 1155: 1149: 1143: 1137: 1132: 1126: 1121: 1115: 1110: 1104: 1099: 1093: 1092: 1090: 1086: 1077: 1071: 1065: 1059: 1054: 1048: 1042: 1036: 1031: 1025: 1019: 1013: 1012: 1010: 1006: 997: 991: 986: 980: 975: 969: 964: 958: 953: 947: 941: 935: 929: 923: 917: 911: 906: 900: 899: 897: 893: 884: 878: 873: 867: 862: 856: 851: 850:Similar names 845: 839: 833: 828: 822: 821: 819: 815: 806: 800: 795: 789: 784: 778: 773: 772:Other uses of 767: 762: 755: 750: 744: 738: 732: 726: 720: 715: 709: 708: 706: 704:For and about 702: 693: 687: 682: 681:Hatnote group 676: 671: 665: 664: 662: 658: 652: 649: 647: 644: 642: 639: 638: 635: 631: 624: 619: 617: 612: 610: 605: 604: 601: 592: 586: 585: 581: 579: 577: 568: 563: 562: 561: 555: 553: 551: 546: 544: 534: 526: 520: 516: 500: 495: 485: 480: 470: 469: 468: 461: 456: 455: 454: 448: 428: 420: 419: 415: 410: 403: 400: 393: 383: 373: 367: 366: 365: 359: 324:extra classes 304: 296: 294: 291: 290: 275: 267: 265: 262: 261: 257: 255: 253: 248: 246: 241: 230: 226: 218: 216: 215: 191: 183: 182: 181: 179: 178: 164: 160: 157: 156: 153: 149: 142: 141: 132: 127: 126: 123: 113: 112: 108: 103: 96: 95: 87: 83: 79: 75: 69: 68: 63: 56: 55: 50: 42: 38: 34: 30: 1527: 1504: 1481: 1477:extraclasses 1458: 1427: 1420: 1413: 1412: 1408: 1395:VisualEditor 1391:TemplateData 1334:}} 1328:{{ 1323:}} 1317:{{ 1312:}} 1306:{{ 1301:}} 1295:{{ 1279:}} 1273:{{ 1268:}} 1262:{{ 1257:}} 1251:{{ 1246:}} 1240:{{ 1235:}} 1229:{{ 1213:}} 1210:For timeline 1207:{{ 1202:}} 1196:{{ 1190:}} 1184:{{ 1179:}} 1173:{{ 1168:}} 1162:{{ 1157:}} 1151:{{ 1145:}} 1142:Further-text 1139:{{ 1134:}} 1128:{{ 1123:}} 1117:{{ 1112:}} 1106:{{ 1101:}} 1095:{{ 1079:}} 1073:{{ 1067:}} 1061:{{ 1056:}} 1050:{{ 1044:}} 1038:{{ 1033:}} 1027:{{ 1021:}} 1015:{{ 999:}} 993:{{ 988:}} 982:{{ 977:}} 971:{{ 966:}} 960:{{ 955:}} 949:{{ 943:}} 937:{{ 931:}} 925:{{ 919:}} 913:{{ 908:}} 902:{{ 886:}} 880:{{ 875:}} 872:Other places 869:{{ 864:}} 861:Other storms 858:{{ 853:}} 847:{{ 841:}} 835:{{ 830:}} 827:Other people 824:{{ 817:Other topics 808:}} 802:{{ 797:}} 791:{{ 786:}} 780:{{ 775:}} 769:{{ 764:}} 758:{{ 756:Variations: 752:}} 746:{{ 740:}} 734:{{ 728:}} 722:{{ 717:}} 711:{{ 695:}} 689:{{ 684:}} 678:{{ 673:}} 669: 667:{{ 594:}} 588:{{ 573: 559: 547: 540: 532: 524: 493: 478: 466: 452: 426: 385:}} 379:{{ 375:extraclasses 363: 318:extraclasses 302: 273: 249: 247:for a list. 242: 228: 224: 222: 213: 211: 189: 175: 173: 134:}} 128:{{ 106: 104: 82:user subpage 64: 1556:transcluded 1437:Description 1422:boundaries. 1199:For outline 1018:Distinguish 1008:Distinguish 883:Other ships 473:{{hatnote}} 263:Basic usage 111:substituted 39:] [ 35:] [ 31:] [ 1619:Categories 1550:The above 1362:for names 1298:About year 761:Other uses 531:{{hatnote| 492:{{hatnote| 477:{{hatnote| 360:Parameters 78:/testcases 1607:subpage. 1592:testcases 1434:Parameter 1367:for lists 1120:Main list 916:Redirect2 737:For-multi 86:talk page 1537:optional 1523:category 1519:Category 1514:optional 1491:optional 1468:required 1320:For LMST 1165:See also 905:Redirect 895:Redirect 725:For-text 582:See also 537:instead. 498:instead. 483:instead. 405:category 382:see also 344:category 219:Function 122:Redirect 74:/sandbox 1584:| 1577:sandbox 1570:history 1568:| 1534:Unknown 1500:selfref 1357:modules 1331:WikiIPA 1232:Broader 1222:Special 1131:Further 670:Hatnote 660:Generic 427:hatnote 416:Example 395:selfref 331:selfref 303:hatnote 274:hatnote 225:hatnote 204:→ 190:Hatnote 163:sandbox 131:Dablink 37:history 1601:pages. 1465:String 1443:Status 449:Errors 432:| 341:| 328:| 315:| 308:| 279:| 195:| 1558:from 749:About 347:= 334:= 321:= 258:Usage 43:] 41:purge 27:[ 1605:/doc 1597:edit 1590:and 1586:diff 1582:edit 1566:edit 1511:Line 1488:Line 1450:Text 1440:Type 1407:for 1098:Main 565:< 533:text 525:text 494:text 479:text 460:help 311:text 282:text 233:div- 33:edit 29:view 1554:is 714:For 591:For 567:div 337:yes 237:div 152:Lua 109:be 107:not 76:or 1621:: 1562:. 578:. 552:. 535:}} 527:}} 508:1= 481:}} 462:). 441:→ 438:}} 423:{{ 391:". 353:}} 350:no 299:{{ 285:}} 270:{{ 254:. 235:/ 201:}} 186:{{ 180:: 154:: 1611:. 1599:) 1595:( 1588:) 1580:( 1572:) 1564:( 1454:1 622:e 615:t 608:v 514:. 369:1 165:) 161:( 114:. 70:. 51:.

Index

view
edit
history
purge
Template:Dablinks
approximately 691,000 pages, or roughly 1% of all pages
/sandbox
/testcases
user subpage
talk page
substituted
Redirect
Dablink
Lua
Module:Hatnote
sandbox
Knowledge (XXG) hatnote
Hatnote
Category:Hatnote templates
Knowledge (XXG) markup
hatnote
hatnote
see also
Template:Selfref
Category:Hatnote templates with errors
hatnote
help
Module:Hatnote
Template talk:Hatnote
Category:Hatnote templates with errors

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