Editing Template talk:Button

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
This is a talk page. Remember to sign your posts with four tildes (~~~~) and follow the talk page policy.
Warning You aren't logged in. While it's not a requirement to create an account, doing so makes it a lot easier to keep track of your edits and a lot harder to confuse you with someone else. If you edit without being logged in, your IP address will be recorded in the page's edit history.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
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>&nbsp;</rp><rt lang="en">Rigel Kent</rt></ruby>]]&nbsp;([[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>&nbsp;</rp><rt lang="en">Rigel Kent</rt></ruby>]]&nbsp;([[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)
::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)
:::Why not have a page for the ZL and ZR buttons? <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> 10:40, 10 July 2016 (EDT)
::::Same reason we don't have different pages for each N64 C button: as far as Smash Bros. cares, they're redundant. [[User:Toomai|Toomai]] [[User talk:Toomai|Glittershine]] [[Image:Toomai.png|20px|link=User:Toomai/Bin|???]] The Irrepressible 08:02, 14 July 2016 (EDT)

Please note that all contributions to SmashWiki are considered to be released under the Attribution-ShareAlike 3.0 Unported license (see SmashWiki:Copyrights for details). Your changes will be visible immediately. Please enter a summary of your changes above.

Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)