Knowledge (XXG)

Template:Abbr

Source 📝

25: 205: 79: 141: 165: 680: 109: 505:
High school students staying overnight on the {{abbr|LSD|Louisiana School for the Deaf}} campus can phone their parents using an {{abbr|ASL|American Sign Language}} interpreter. Although fluent in {{abbr|ASL|American Sign Language}}, most students at {{abbr|LSD|Louisiana School for the Deaf}} prefer
448:
High school students staying overnight on the Louisiana School for the Deaf (LSD) campus can phone their parents using an American Sign Language (ASL) interpreter. Although fluent in {{abbr|ASL|American Sign Language}}, most students at {{abbr|LSD|Louisiana School for the Deaf}} prefer texting their
570:
High school students staying overnight on the {{abbr|LSD|Louisiana School for the Deaf}} campus can phone their parents using an {{abbr|ASL|American Sign Language}} {{abbr|interpreter|Although fluent in ASL, most students at LSD prefer texting their parents directly.}}.
606:
way for users to access the meaning. A user reading on a mobile device, reading a printout, or listening to a screen reader will likely not have access to the full meaning of the abbreviation and will have no clear indication that the embedded footnote exists.
296:
typically do not have a mouse to hover with, and so generally cannot see tooltip contents. As of 2023, more English Knowledge (XXG) page views occur on mobile than on desktop browsers.
455:
High school students staying overnight on the Louisiana School for the Deaf (LSD) campus can phone their parents using an American Sign Language (ASL) interpreter. Although fluent in
878: 1180: 546:
way for users to access the meaning. Users reading on a mobile device, reading a printout, or listening to a screen reader will likely not have access to the full meaning.
218:
If you intend to change this template in any significant way, move it or nominate it for deletion, please inform the bot operators. Thank you. The relevant bots are:
423:
provide the tooltip. No screen readers for the visually impaired will read the expansion by default; some provide an optional setting to read the expansion aloud.
1170: 1142: 811:
test because such a tool can't tell that the logical application of the data to the structure isn't correct, only that tags are nested properly).
701:
To wiki-link the abbreviation being marked up by this template, wrap the template in the link, or the tooltip will not appear in some browsers.
1127: 1115: 40: 776: 1097: 1185: 1154: 1111: 602:
In the above example, all abbreviations are expanded via the template, and an entire sentence is embedded via the template. It is the
419:
will appear as a tooltip in desktop browsers. Mobile devices may display a dotted line or other visual indicator of abbreviation, but
365:– CSS to apply to the displayed text (no effect on tooltip/popup). Any style values with embedded blanks must be single-quoted, e.g. 36: 239:
template is used to write an abbreviation (including an acronym or initialism) with its expanded meaning. It is a wrapper for the
1175: 94: 477:
In the above example, each abbreviation is first expanded in the body text within parentheses. The template provides an
343:
attribute, so it cannot contain HTML (or markup that resolves to HTML when rendered). This includes simple things like
44: 86: 278: 903: 899: 891: 90: 542:
In the above example, all abbreviations are expanded via the template. This is discouraged because it is the
1137: 183: 585: 187: 895: 664: 660: 1122: 179: 119: 115: 820: 659:
and are intended to be used for navigational and other secondary features where space is limited. See
190:. The tested changes can be added to this page in a single edit. Consider discussing changes on the 55: 329:
is allowed but works more consistently when wrapping the template, see below for linking examples.
191: 799:
element as reserved for markup of abbreviations. Abusing it for mouse-over tooltips breaks our
127: 1150: 1105: 1101: 1074: 689: 108: 32: 212: 1080:, a variant of this template that includes automatic wikilinking of the term (abbreviation). 863: 284: 253: 65: 633: 851: 178:
To avoid major disruption and server load, any changes should be tested in the template's
840: 656: 652: 308:{{Abbr|text to display inline in the article|pop-up tip}} 219: 318:
Two unnamed (positional) parameters (required) and three named parameters (optional):
277:
Using it to generate tooltips elsewhere is a misuse of the underlying HTML and causes
1164: 800: 1086: 785:
H28: Providing definitions for abbreviations by using the abbr and acronym elements
243: 651:
Tooltips should not be used within the body text of an article if possible (see
634: 326: 172: 784: 808: 19: 744: 726: 482: 51:
For inline cleanup templates requesting definitions or explanations, see
297: 229:
Knowledge (XXG) uses two separate templates to generate tooltips. The
792: 1003:
applies the specified CSS directives to the content of parameter 1
920:
An abbreviation or acronym with a tooltip displayed on mouse-over.
123: 772:
for use with abbreviations (including acronyms and initialisms).
173:
approximately 855,000 pages, or roughly 1% of all pages
481:
way for some users to access the meaning later in the text. See
240: 114:
This template should not be used in citation templates such as
788: 674: 275:
to mark up abbreviations (including acronyms and initialisms).
199: 159: 135: 103: 73: 353:– one or more CSS classes (space-separated if more than one) 1131: 869:
is a separate template sharing the same documentation.
490:
Less accessible when used in place of inline expansion
367:|style=font-family: 'Times New Roman', serif; 578: 525: 513: 460: 412: 395: 150:
display in the mobile view of Knowledge (XXG); it is
879:
Category:Pages using tooltip with unknown parameters
433:
Accessible when used in addition to inline expansion
738: 721: 122:, because it includes markup that will pollute the 655:). Generic tooltip notes are not a substitute for 980:Shows as a mouse-over tooltip; do not use markup 783:element generated by this template; see section 359:– an HTML id must be unique on the entire page. 582: 577:High school students staying overnight on the 521: 517: 512:High school students staying overnight on the 456: 325:– the term to be explained; displays as text. 1181:Knowledge (XXG) XHTML tag-replacing templates 8: 1049:Adds an HTML id (must be unique in the page) 917: 281:problems. For general-purpose tooltips, use 154:. Read the documentation for an explanation. 910:in articles based on its TemplateData. 389:{{abbr|LSD|Louisiana School for the Deaf}} 1121:Editors can experiment in this template's 923: 743: 727: 787:. HTML specifications (both those of the 703: 581:campus can phone their parents using an 516:campus can phone their parents using an 1171:Pages monitored by Knowledge (XXG) bots 528:prefer texting their parents directly. 463:prefer texting their parents directly. 366: 362: 356: 350: 332: 322: 717: 211:This template is used by one or more 7: 904:See a monthly parameter usage report 777:Web Content Accessibility Guidelines 734: 85:This template can only be edited by 796: 780: 339:). The popup is created by an HTML 272: 260: 246: 819:The following template names will 263:element to provide generic notes. 14: 779:contain guidelines for using the 678: 520:interpreter. Although fluent in 506:texting their parents directly. 261:<span>...</span> 247:<abbr>...</abbr> 203: 163: 139: 107: 77: 23: 1026:Adds a one or more CSS classes 807:(it will falsely pass a basic 337:no wiki or html markup allowed 1: 739:{{abbr|]|technical knockout}} 417:Louisiana School for the Deaf 411:When hovering over the text " 269:{{abbr}} 126:metadata they produce; see 1202: 1095: 894:for this template used by 754:Accessibility and validity 50: 1186:Semantic markup templates 1155:Subpages of this template 931: 620: 617: 563: 560: 498: 495: 441: 438: 382: 379: 194:before implementing them. 186:subpages, or in your own 171:This template is used on 667:for practical examples. 16: 555:to create tooltip notes 1176:Abbreviation templates 1149:Add categories to the 873:Maintenance categories 803:and makes our content 795:) strictly define the 665:Template:Cite book/doc 661:Template:Glossary link 551:Least accessible when 485:for more information. 335:– the tooltip/pop-up ( 28:Template documentation 913:TemplateData for Abbr 768:template is intended 128:Knowledge (XXG):COinS 635:conflict of interest 1063: 928: 926:Template parameters 809:automated validator 557: 524:, most students at 492: 459:, most students at 435: 146:This template does 924: 922: 549: 488: 449:parents directly. 431: 415:", something like 259:template uses the 153: 1106:Template:Abbr/doc 1062: 1061: 944: 918: 902:and other tools. 751: 750: 699: 698: 649: 648: 600: 599: 540: 539: 475: 474: 409: 408: 226: 225: 198: 197: 158: 157: 151: 134: 133: 102: 101: 95:cascade-protected 93:onto one or more 1193: 1146: 1135: 1119: 1091: 1085: 1079: 1073: 1045: 1022: 999: 976: 953: 945: 929: 868: 862: 856: 850: 845: 839: 832: 826: 798: 782: 767: 761: 747: 740: 735:Less compatible 729: 723: 704: 694: 688: 682: 681: 675: 636: 621:Renders as 615: 614: 587: 584: 580: 564:Renders as 558: 554: 548: 527: 523: 519: 515: 499:Renders as 493: 487: 462: 458: 442:Renders as 436: 430: 418: 414: 397: 383:Renders as 377: 376: 368: 364: 363:|style= 358: 352: 351:|class= 346: 342: 334: 324: 310: 309: 288: 274: 270: 262: 258: 252: 248: 238: 232: 216: 207: 206: 200: 167: 166: 160: 143: 142: 136: 120:Citation Style 2 116:Citation Style 1 111: 104: 81: 80: 74: 70: 64: 60: 54: 48: 29: 27: 26: 17: 1201: 1200: 1196: 1195: 1194: 1192: 1191: 1190: 1161: 1160: 1159: 1158: 1148: 1140: 1125: 1120: 1109: 1094: 1089: 1083: 1077: 1071: 1068: 1043: 1020: 997: 974: 951: 916: 888: 875: 866: 860: 854: 848: 843: 837: 830: 824: 817: 801:semantic markup 765: 759: 756: 692: 686: 685:Preferably use 679: 673: 639: 628: 613: 611:Tooltip example 590: 572: 552: 530: 507: 465: 450: 429: 416: 399: 390: 375: 344: 340: 316: 307: 306: 304: 282: 268: 256: 250: 236: 230: 228: 217: 210: 204: 177: 164: 140: 98: 78: 72: 68: 62: 58: 52: 49: 30: 24: 22: 12: 11: 5: 1199: 1197: 1189: 1188: 1183: 1178: 1173: 1163: 1162: 1093: 1092: 1081: 1067: 1064: 1060: 1059: 1056: 1053: 1052: 1046: 1041: 1037: 1036: 1033: 1030: 1029: 1023: 1018: 1014: 1013: 1010: 1007: 1006: 1000: 995: 991: 990: 987: 984: 983: 977: 972: 968: 967: 964: 961: 960: 954: 949: 943: 942: 939: 936: 933: 896:TemplateWizard 889: 887: 884: 883: 882: 874: 871: 858: 857: 846: 816: 813: 806: 771: 755: 752: 749: 748: 741: 736: 732: 731: 724: 719: 715: 714: 711: 708: 707:Compatibility 697: 696: 683: 672: 669: 653:MOS:NOTOOLTIPS 647: 646: 644: 641: 640: 631: 629: 626: 623: 622: 619: 612: 609: 598: 597: 595: 592: 591: 575: 573: 569: 566: 565: 562: 538: 537: 535: 532: 531: 510: 508: 504: 501: 500: 497: 473: 472: 470: 467: 466: 453: 451: 447: 444: 443: 440: 428: 425: 407: 406: 404: 401: 400: 393: 391: 388: 385: 384: 381: 374: 371: 370: 369: 360: 354: 348: 330: 315: 312: 303: 300: 294:mobile devices 224: 223: 220:User:AAlertBot 208: 196: 195: 168: 156: 155: 144: 132: 131: 112: 100: 99: 89:because it is 87:administrators 84: 82: 21: 20: 13: 10: 9: 6: 4: 3: 2: 1198: 1187: 1184: 1182: 1179: 1177: 1174: 1172: 1169: 1168: 1166: 1156: 1152: 1144: 1139: 1133: 1129: 1124: 1117: 1113: 1107: 1103: 1099: 1098:documentation 1088: 1082: 1076: 1070: 1069: 1065: 1057: 1054: 1051: 1050: 1047: 1042: 1039: 1038: 1034: 1031: 1028: 1027: 1024: 1019: 1016: 1015: 1011: 1008: 1005: 1004: 1001: 996: 993: 992: 988: 985: 982: 981: 978: 973: 970: 969: 965: 962: 959: 958: 957:Shows as text 955: 950: 947: 946: 940: 937: 934: 930: 927: 921: 915: 914: 909: 908:Template:Abbr 905: 901: 897: 893: 886:Template data 885: 880: 877: 876: 872: 870: 865: 853: 847: 842: 836: 835: 834: 829: 822: 814: 812: 810: 804: 802: 794: 790: 786: 778: 773: 769: 764: 753: 746: 742: 737: 733: 730: 725: 720: 716: 712: 709: 706: 705: 702: 691: 684: 677: 676: 670: 668: 666: 662: 658: 654: 645: 643: 642: 638: 637: 630: 625: 624: 616: 610: 608: 605: 596: 594: 593: 589: 574: 568: 567: 559: 556: 547: 545: 536: 534: 533: 529: 509: 503: 502: 494: 491: 486: 484: 480: 471: 469: 468: 464: 452: 446: 445: 437: 434: 427:Abbr examples 426: 424: 422: 405: 403: 402: 398: 392: 387: 386: 378: 372: 361: 357:|id= 355: 349: 338: 331: 328: 321: 320: 319: 313: 311: 301: 299: 298: 295: 290: 286: 280: 279:accessibility 276: 264: 255: 245: 242: 235: 221: 214: 209: 202: 201: 193: 189: 185: 181: 175: 174: 169: 162: 161: 149: 145: 138: 137: 129: 125: 121: 117: 113: 110: 106: 105: 96: 92: 88: 83: 76: 75: 67: 57: 46: 42: 38: 34: 18: 1090:}} 1084:{{ 1078:}} 1072:{{ 1048: 1025: 1002: 979: 956: 925: 919: 912: 911: 907: 900:VisualEditor 892:TemplateData 890:This is the 867:}} 861:{{ 859: 855:}} 849:{{ 844:}} 838:{{ 831:}} 827: 825:{{ 818: 805:invalid HTML 797:<abbr> 781:<abbr> 774: 766:}} 762: 760:{{ 757: 700: 693:}} 687:{{ 650: 632: 603: 601: 576: 550: 543: 541: 511: 489: 478: 476: 454: 432: 420: 410: 394: 336: 333:|2= 323:|1= 317: 305: 293: 291: 287:}} 283:{{ 273:<abbr> 266: 265: 257:}} 251:{{ 237:}} 233: 231:{{ 227: 188:user subpage 170: 152:desktop only 147: 69:}} 63:{{ 59:}} 53:{{ 15: 1102:transcluded 935:Description 718:Compatible 713:Renders as 586:interpreter 345:''italics'' 327:Wiki markup 292:Readers on 91:transcluded 43:] [ 39:] [ 35:] [ 1165:Categories 1096:The above 479:additional 314:Parameters 184:/testcases 56:Definition 1153:subpage. 1138:testcases 932:Parameter 881: (8) 815:Redirects 657:footnotes 289:instead. 267:Only use 192:talk page 1075:Abbrlink 1066:See also 1058:optional 1035:optional 1012:optional 989:required 966:required 821:redirect 695:instead. 690:Abbrlink 483:MOS:ABBR 421:will not 373:Examples 180:/sandbox 1130:| 1123:sandbox 1116:history 1114:| 971:Meaning 864:Tooltip 710:Markup 671:Linking 553:misused 285:tooltip 254:tooltip 249:. The 244:element 66:Explain 41:history 1147:pages. 1055:String 1032:String 1009:String 986:String 941:Status 852:Define 793:WHATWG 618:Markup 561:Markup 496:Markup 439:Markup 380:Markup 341:title= 97:pages. 1104:from 1021:class 1017:Class 998:style 841:Abbrv 302:Usage 124:COinS 47:] 45:purge 31:[ 1151:/doc 1143:edit 1136:and 1132:diff 1128:edit 1112:edit 963:Line 948:Term 938:Type 906:for 828:Abbr 791:and 775:The 770:only 763:Abbr 758:The 604:only 544:only 241:HTML 234:abbr 213:bots 118:and 61:and 37:edit 33:view 1100:is 1087:dfn 994:CSS 823:to 789:W3C 745:TKO 728:TKO 663:or 583:ASL 579:LSD 526:LSD 522:ASL 518:ASL 514:LSD 461:LSD 457:ASL 413:LSD 396:LSD 271:or 182:or 148:not 1167:: 1108:. 1044:id 1040:ID 898:, 833:: 588:. 130:. 1157:. 1145:) 1141:( 1134:) 1126:( 1118:) 1110:( 975:2 952:1 722:] 627:] 347:. 222:. 215:. 176:. 71:.

Index

view
edit
history
purge
Definition
Explain
administrators
transcluded
cascade-protected

Citation Style 1
Citation Style 2
COinS
Knowledge (XXG):COinS
approximately 855,000 pages, or roughly 1% of all pages
/sandbox
/testcases
user subpage
talk page
bots
User:AAlertBot
abbr
HTML
element
tooltip
accessibility
tooltip

Wiki markup
MOS:ABBR

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