25,109
edits
Serpent King (talk | contribs) |
|||
Line 3: | Line 3: | ||
It looks like this template is trying to put <code><nowiki>{{{2}}}</nowiki></code> as a tooltip on the image, by wrapping it in an outer <code><nowiki><span title="{{{2}}}"></nowiki></code>. But it's also producing a different tooltip, the title of the linked article, on the inner link. This results in different browsers showing different tooltips. The template should probably make just one tooltip. Which of the two tooltips is better, <code><nowiki>{{{2}}}</nowiki></code>, or the title of the linked article? [[User:Rigel Kent|<ruby lang="ja">ライケン<rp> </rp><rt lang="en">Rigel Kent</rt></ruby>]] ([[User talk:Rigel Kent|talk]]) 01:14, 10 July 2016 (EDT) | It looks like this template is trying to put <code><nowiki>{{{2}}}</nowiki></code> as a tooltip on the image, by wrapping it in an outer <code><nowiki><span title="{{{2}}}"></nowiki></code>. But it's also producing a different tooltip, the title of the linked article, on the inner link. This results in different browsers showing different tooltips. The template should probably make just one tooltip. Which of the two tooltips is better, <code><nowiki>{{{2}}}</nowiki></code>, or the title of the linked article? [[User:Rigel Kent|<ruby lang="ja">ライケン<rp> </rp><rt lang="en">Rigel Kent</rt></ruby>]] ([[User talk:Rigel Kent|talk]]) 01:14, 10 July 2016 (EDT) | ||
:I would say output the page name... Cases that it will be any different from the parameter are rare anyway. <span style="font-family:Monotype Corsiva;font-size:12pt">'''[[User:Serpent King|<span style="color:#083;text-shadow:0px 0px 3px #0b7">Serpent</span>]] [[File:SKSig.png|16px|link=]] [[User talk:Serpent King|<span style="color:#ed0;text-shadow:0px 0px 3px #fd0">King</span>]]'''</span> 01:21, 10 July 2016 (EDT) | :I would say output the page name... Cases that it will be any different from the parameter are rare anyway. <span style="font-family:Monotype Corsiva;font-size:12pt">'''[[User:Serpent King|<span style="color:#083;text-shadow:0px 0px 3px #0b7">Serpent</span>]] [[File:SKSig.png|16px|link=]] [[User talk:Serpent King|<span style="color:#ed0;text-shadow:0px 0px 3px #fd0">King</span>]]'''</span> 01:21, 10 July 2016 (EDT) | ||
::It should output <nowiki>{{{2}}}</nowiki>, so that for buttons like ZL, it displays "ZL" and not "Z button". [[User:Toomai|Toomai]] [[User talk:Toomai|Glittershine]] [[Image:Toomai.png|20px|link=User:Toomai/Bin|???]] The Yellow 10:33, 10 July 2016 (EDT) |