Template talk:Clarify span
Appearance
(Redirected from Template talk:Clarify span/sandbox)
This is the talk page for discussing improvements to the Clarify span template. |
|
Inline Templates | ||||
|
Problem with "explain=" parameter
[edit]The "explain=" parameter in this template doesn't seem to be working. I added a "clarify span" template with an "explain=" parameter, but the text of the explanation was ignored and the default value ("clarify") was used instead. — Richwales (no relation to Jimbo) 19:21, 31 October 2022 (UTC)
- On which page? You should always give examples. --Redrose64 🌹 (talk) 00:03, 1 November 2022 (UTC)
- See here. — Richwales (no relation to Jimbo) 02:03, 1 November 2022 (UTC)
Works for me The generated HTML (for the whole tag as used in that article) is
and that<sup class="noprint Inline-Template Template-Clarify" style="margin-left:0.1em; white-space:nowrap;">[<i><a href="/wiki/Wikipedia:Please_clarify" title="Wikipedia:Please clarify"><span title="translation?">clarify</span></a></i>]</sup>
title="translation?"
attribute causes my browser (Firefox) to display it as a tooltip when I hover the mouse pointer over the link. Not all browsers will do this: it is a misuse of thetitle=
attribute. --Redrose64 🌹 (talk) 08:18, 1 November 2022 (UTC)- OK, if I hover over the link, I see "translation?" in a tooltop. (I'm using Google Chrome, FWIW.) But I had hoped / expected to see the "explain=" parameter text in the link itself, independent of any tooltop. Was I misinformed? Is there a reason why the "explain=" parameter text is shown only in a tooltip? — Richwales (no relation to Jimbo) 23:18, 1 November 2022 (UTC)
- I can't find anything in the template documentation that suggests that the link text will be altered - indeed, it states
This text is shown as a tooltip.
. See also WP:EGG - if the link were to be translation?, people might expect that it would lead them to a page about translation. --Redrose64 🌹 (talk) 00:06, 2 November 2022 (UTC)
- I can't find anything in the template documentation that suggests that the link text will be altered - indeed, it states
- OK, if I hover over the link, I see "translation?" in a tooltop. (I'm using Google Chrome, FWIW.) But I had hoped / expected to see the "explain=" parameter text in the link itself, independent of any tooltop. Was I misinformed? Is there a reason why the "explain=" parameter text is shown only in a tooltip? — Richwales (no relation to Jimbo) 23:18, 1 November 2022 (UTC)
- See here. — Richwales (no relation to Jimbo) 02:03, 1 November 2022 (UTC)