Jump to content

Template talk:Abbr

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Linking must be done in a particular way, still

[edit]

@SMcCandlish: I don't know what "Chrome bug" or "fix" you're talking about. When logged out, only the "compatible" one in the "TKO" examples works as intended, with both the browser built-in tooltip and the page preview popping up, while in the second only the page preview shows up. If you disable the page preview, the default MW-generated tooltip ("Knockout") appears in the second example. (The only way the second example works AFAICT is if you've enabled Reference Tooltips' "Show tooltips over text with dotted lines" option.) The previous documentation is correct. Tested on both Chrome and Firefox. Nardog (talk) 01:18, 16 December 2020 (UTC)[reply]

Noted. Will dig into it more. Reverted the /doc material.  — SMcCandlish ¢ 😼  07:24, 16 December 2020 (UTC)[reply]

Only for abbreviations? or also for short phrases?

[edit]

The documentation currently says several times that the template is only for abbreviations, e.g. {{Abbr}} template is intended only for use with abbreviations (including acronyms and initialisms) but gives an example where conflict of interest is the "abbreviation". While it's true that "conflict of interest" is used in the specific Wikipedia context, it's not an abbreviation. Both COI or WP:COI are abbreviations and acronyms (whether or not a colon is allowed in an acronym is probably an open question).

This is confusing. Either the example conflict of interest should be removed, or the recommended usage should be changed to also allow it for short phrases. Boud (talk) 15:12, 16 April 2023 (UTC)[reply]

Template:Abbr/doc is also used for {{tooltip}}, where the “conflict of interest” example is more appropriate. The examples use {{BASEPAGENAME}} to render differently for each template. Perhaps the documentation should be hardcoded to use either {{abbr}} or {{tooltip}} for each example, whichever fits better. jlwoodwa (talk) 23:01, 3 June 2023 (UTC)[reply]
@Boud: I've tried to make the documentation more clear. Let me know what you think, Rjjiii (talk) 10:08, 28 June 2023 (UTC)[reply]

The abbr template - how often?

[edit]
 – Pointer to relevant discussion elsewhere.

Please see the discussion at Wikipedia talk:Manual of Style/Abbreviations#The abbr template - how often? --Redrose64 🌹 (talk) 12:56, 1 September 2024 (UTC)[reply]