Knowledge (XXG)

Template:Tooltip/testcases

Source 📝

31: 266:
This is a shorthand way to link the term, if the resulting target will be a real page (and the intended one). It had the same old Chrome-bug issue, but no one seemed to care, and it doesn't matter today anyway.
321:
in any graphical browser case in which a link is included but is not the entire term content, in which case the intended tooltip will be available when focus is over the span but is not over the part that is a
329:
s as tooltip but only as something to show in some other interface element such as the window footer (and here it will not matter if the entire term content is a link or not).
231:
This will also do the link internally to the template; boo-hoo for people using Chrome from many years ago. They have bigger problems than this, like massive security holes.
333:
For this reason, the template instructions to prefer wrapping the template in the link should be retained, along with addition of the new three-parameter version (
37: 306:
This was not advised because of a Chrome bug, but it is long since fixed. However, there is a still a problem: the link automatically has a
294: 281: 486: 60: 41: 274:{{tooltip/sandbox|link=yes|WP:Conflict of interest|in the specific sense employed in Knowledge (XXG) policy}} 70: 387:{{tooltip/sandbox|conflict of interest|in the specific sense employed in Knowledge (XXG) policy|dotted=no}} 253:
Current template output (outright broken for this use case, as it only accepts two parameters, not three):
81: 238:{{tooltip/sandbox|WP:COI|conflict of interest|in the specific sense employed in Knowledge (XXG) policy}} 64: 160:{{tooltip/sandbox|conflict of interest|in the specific sense employed in Knowledge (XXG) policy}} 336: 142: 131: 45: 30: 17: 369: 356: 310:
supplied by MediaWiki (the page name), and this in most browsers will override the tooltip
219: 206: 138: 314:
of the surrounding span. So, the intended tooltip will actually only be available to:
480: 75:
You can test how this page looks in the different skins and parsers with these links:
192:
the template was what we've been recommending for years, due to the old Chrome bug.
59:
If there are many examples of a complicated template, later ones may break due to
405: 394: 368: 355: 295: 282: 220: 207: 178: 167: 348:{{tooltip/sandbox|]|in the specific sense employed in Knowledge (XXG) policy}} 454:{{tooltip/sandbox|conflict of interest|often abbreviated "coi"}} 398:
Tooltip in the specific sense employed in Knowledge (XXG) policy
361:
Tooltip in the specific sense employed in Knowledge (XXG) policy
287:
Tooltip in the specific sense employed in Knowledge (XXG) policy
249:
Tooltip in the specific sense employed in Knowledge (XXG) policy
211:
Tooltip in the specific sense employed in Knowledge (XXG) policy
171:
Tooltip in the specific sense employed in Knowledge (XXG) policy
25: 339:|linkTarget|termText|tooltipText}} 472: 461: 117: 112: 102: 97: 92: 87: 50: 422:{{tooltip/sandbox|תוכן נִסתָר|תוכן ברור|dotted=no}} 325:in a graphical browser that doesn't treat link 302:Manually linking the term inside the template 8: 256: 245: 149:With no link, inside or outside the template 73:to examine the results of template uses. 469:Current template output (lacks sronly): 437:Current template output (lacks sronly): 402:Current template output (lacks sronly): 365:Current template output (lacks sronly): 291:Current template output (lacks sronly): 216:Current template output (lacks sronly): 175:Current template output (lacks sronly): 227:Passing the link as the first parameter 51: 7: 184:Using an outside-the-template link 145:, for accessibility improvements. 24: 440: 429: 29: 465:Tooltip often abbreviated "coi" 113:Switch to new parser (Parsoid) 1: 379:Using the dotted=no parameter 446:Double quotes in title text 503: 262:Using the "link" parameter 458:Sandbox template output: 426:Sandbox template output: 391:Sandbox template output: 352:Sandbox template output: 278:Sandbox template output: 242:Sandbox template output: 203:Sandbox template output: 164:Sandbox template output: 153:The most basic use case. 137:These are tests of using 67:" in the rendered page. 63:; see the HTML comment " 56:to update the examples. 296:WP:Conflict of interest 283:WP:Conflict of interest 118:Switch to legacy parser 71:Special:ExpandTemplates 473:conflict of interest 462:conflict of interest 406:conflict of interest 395:conflict of interest 370:conflict of interest 357:conflict of interest 221:conflict of interest 208:conflict of interest 179:conflict of interest 168:conflict of interest 98:Vector legacy (2010) 487:Template test cases 61:limits in MediaWiki 38:template test cases 65:NewPP limit report 433:Tooltip תוכן ברור 127: 126: 76: 69:You can also use 494: 474: 466: 463: 455: 442: 434: 431: 423: 407: 399: 396: 388: 372: 362: 359: 349: 340: 328: 313: 309: 297: 288: 284: 275: 258: 250: 247: 239: 222: 212: 209: 200: 180: 172: 169: 161: 143:Template:Tooltip 132:Template:Tooltip 58: 55: 53: 46:Template:Tooltip 33: 26: 18:Template:Tooltip 502: 501: 497: 496: 495: 493: 492: 491: 477: 476: 464: 453: 448: 432: 421: 416: 410: 397: 386: 381: 375: 360: 347: 334: 326: 311: 307: 304: 286: 273: 264: 248: 237: 229: 210: 198: 186: 170: 159: 151: 139:Template:Sronly 135: 123: 122: 108: 107: 74: 68: 57: 52:Purge this page 49: 22: 21: 20: 12: 11: 5: 500: 498: 490: 489: 479: 478: 447: 444: 415: 412: 380: 377: 331: 330: 323: 319: 318:screen readers 303: 300: 263: 260: 228: 225: 191: 185: 182: 150: 147: 134: 128: 125: 124: 121: 120: 115: 109: 106: 105: 100: 95: 90: 85: 78: 77: 34: 23: 15: 14: 13: 10: 9: 6: 4: 3: 2: 499: 488: 485: 484: 482: 475: 470: 467: 459: 456: 451: 445: 443: 438: 435: 427: 424: 419: 413: 411: 408: 403: 400: 392: 389: 384: 378: 376: 373: 371: 366: 363: 358: 353: 350: 345: 342: 338: 324: 320: 317: 316: 315: 301: 299: 298: 292: 289: 285: 279: 276: 271: 268: 261: 259: 254: 251: 243: 240: 235: 232: 226: 224: 223: 217: 214: 213: 204: 201: 196: 193: 189: 183: 181: 176: 173: 165: 162: 157: 154: 148: 146: 144: 140: 133: 129: 119: 116: 114: 111: 110: 104: 103:Vector (2022) 101: 99: 96: 94: 91: 89: 86: 83: 80: 79: 72: 66: 62: 54: 47: 43: 40:page for the 39: 35: 32: 28: 27: 19: 471: 468: 460: 457: 452: 449: 439: 436: 428: 425: 420: 417: 409: 404: 401: 393: 390: 385: 382: 374: 367: 364: 354: 351: 346: 343: 335:{{ 332: 305: 293: 290: 280: 277: 272: 269: 265: 255: 252: 244: 241: 236: 233: 230: 218: 215: 205: 202: 197: 194: 187: 177: 174: 166: 163: 158: 155: 152: 136: 36:This is the 441:תוכן נִסתָר 430:תוכן נִסתָר 414:Hebrew text 82:MinervaNeue 481:Category 188:Linking 130:Testing 93:Timeless 88:MonoBook 84:(mobile) 337:tooltip 141:inside 42:sandbox 450:Code: 418:Code: 383:Code: 344:Code: 270:Code: 257:WP:COI 246:WP:COI 234:Code: 195:Code: 190:around 156:Code: 327:title 322:link. 312:title 308:title 16:< 341:). 44:of 483:: 48:. 199:]

Index

Template:Tooltip

template test cases
sandbox
Template:Tooltip
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
Template:Tooltip
Template:Sronly
Template:Tooltip
conflict of interestTooltip in the specific sense employed in Knowledge (XXG) policy
conflict of interest
WP:Conflict of interest
WP:Conflict of interest
tooltip
conflict of interest
conflict of interest
Category
Template test cases

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