Template talk:Button: Difference between revisions
From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
Rigel Kent (talk | contribs) (→One tooltip instead of two: new section) |
Serpent King (talk | contribs) |
||
Line 2: | Line 2: | ||
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) |
Revision as of 00:21, July 10, 2016
One tooltip instead of two
It looks like this template is trying to put {{{2}}}
as a tooltip on the image, by wrapping it in an outer <span title="{{{2}}}">
. 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, {{{2}}}
, or the title of the linked article? ライケン (talk) 01:14, 10 July 2016 (EDT)