Difference between revisions of "Forum:Deployment of Tooltips"

From Yugipedia
Jump to: navigation, search
Line 37: Line 37:
 
:#:Although Google seems to have read [[Card Appearances:Dark Fusion]] without that issue.
 
:#:Although Google seems to have read [[Card Appearances:Dark Fusion]] without that issue.
 
:I did make a similar template, [[Template:Card link]], which avoids all those problems, except for #4, but has a few problems of its own, particularly [http://yugioh.wikia.com/wiki/Template:Card_link/doc?useskin=wikia in the default skin]. It's better, but not perfect, [http://yugioh.wikia.com/wiki/Template:Card_link/doc?useskin=monobook in monobook]. -- [[User:Deltaneos|Deltaneos]] ([[User talk:Deltaneos|talk]]) 21:45, January 21, 2016 (UTC)
 
:I did make a similar template, [[Template:Card link]], which avoids all those problems, except for #4, but has a few problems of its own, particularly [http://yugioh.wikia.com/wiki/Template:Card_link/doc?useskin=wikia in the default skin]. It's better, but not perfect, [http://yugioh.wikia.com/wiki/Template:Card_link/doc?useskin=monobook in monobook]. -- [[User:Deltaneos|Deltaneos]] ([[User talk:Deltaneos|talk]]) 21:45, January 21, 2016 (UTC)
 +
 +
So, this has also been applied to [[Yu-Gi-Oh! ARC-V - Episode 090|the article]] on this week's episode, this time in concert with {{T|Monster}}. I can't be clearer with my opinion here: I HATE that monster template with a passion. When it was created, I made very clear that Tooltips would be replacing it.
 +
Now, if the community disagrees, that's obviously fine and we can have a discussion. [[User:Cheesedude|Cheesedude]] ([[User talk:Cheesedude|talk]] • [[Special:Contributions/Cheesedude|contribs]]) 19:20, January 25, 2016 (UTC)

Revision as of 19:20, 25 January 2016


TwoTailedFox has {{Tooltip}} and {{TooltipA}} ready for use.

I've applied the latter (which is used for anime cards) to the latest anime episode. It can be used a replacement for {{Monster}} and can be applied to all cards. I believe its ideal for use in the Featured Duel sections, but I wouldn't use it for Decklists. Simply hover over a link that uses this and it pulls up all relevant card information in a pop-up. This eliminates the need for specifying initial monster stats, among other things.

I'm unsure whether we want to use it in prose sections (so, the summary sections of episodes and the bulk of most character articles) and would appreciate any input on that subject.

I'm also unsure where we want to implement the base Tooltip. It should be useful for archetype and strategy articles and maybe the bulleted points in the set articles. So input on that would also be appreciated.

Any objections to what I've listed above will also be considered. Cheesedude (talkcontribs) 17:54, January 21, 2016 (UTC)

How is this supposed to work on mobile devices? --XBrain130™エックスブレーン130」 18:43, January 21, 2016 (UTC)
I tried using the mobile skin, and it appears to still work. Perhaps it doesn't on actual mobile devices, I can't be sure. I could check on my tablet, but have no phone. Cheesedude (talkcontribs) 18:56, January 21, 2016 (UTC)
It depends whether or not the mobile skin itself is still working. The skin hasn't usually been working for me when I click on links in the mobile skin, but it does work when I check differences (I should note that using the wiki on mobile devices is effectively impossible for editing, but that's been a problem for months.) I'll edit an episode, get into my emails, and check that. Sanokal K-T (talkcontribs) 20:16, January 21, 2016 (UTC)
And I'm a moron. My own changes don't alert me. Someone mind editing episode 74 for me so that it'll alert me in an email? Sanokal K-T (talkcontribs) 20:21, January 21, 2016 (UTC)
Edited, see how it works. Cheesedude (talkcontribs) 20:25, January 21, 2016 (UTC)
Thanks Cheese. It pops up the section right after the name of the monster in the base document itself on my phone. Sanokal K-T (talkcontribs) 20:28, January 21, 2016 (UTC)
I'm in favour of the idea of having card details appear on hover. But I have a couple of problems with this implementation in its current state:
  1. There could be a couple of dozen card links on one page. The page's load time is going to increase for every one of them using a tooltip. Although the user will only be looking at a few.
  2. Custom CSS and JavaScript are not applied on the mobile skin, so you get a list of tables appearing midsentence.
  3. When the page loads, you see the tooltips briefly appear for a moment, before disappearing.
  4. On a more minor note, it uses invalid HTML. You're not supposed to put <div> tags inside <span> tags.
    Complete bollocks. It's legitimately valid HTML, it's just considered bad practice. There is a gulf of difference between what it is and what you claim it is.--TwoTailedFox (talk) 22:44, January 21, 2016 (UTC)
    I'm sorry if I came across as harsh. It's considered erroneous by the HTML5 spec. If you regard it as just a bad practice, that's fine. It is a minor issue either way, as the major modern browsers will still render it. -- Deltaneos (talk) 20:42, January 22, 2016 (UTC)
  5. I'm not sure about this point, but I think when web crawlers read pages, they don't take JavaScript into account. So instead of reading:
    He uses this card to fuse "Elemental HERO Avian" with "Elemental HERO Burstinatrix" in order to Fusion Summon "Evil HERO Inferno Wing".
    one would read:
    He uses this card to fuse "Elemental HERO Avian[table of details for "Avian"...]" with "Elemental HERO Burstinatrix[table of details for "Burstinatrix"...]" in order to Fusion Summon "Evil HERO Inferno Wing[table of details for "Inferno"...]".
    Although Google seems to have read Card Appearances:Dark Fusion without that issue.
I did make a similar template, Template:Card link, which avoids all those problems, except for #4, but has a few problems of its own, particularly in the default skin. It's better, but not perfect, in monobook. -- Deltaneos (talk) 21:45, January 21, 2016 (UTC)

So, this has also been applied to the article on this week's episode, this time in concert with {{Monster}}. I can't be clearer with my opinion here: I HATE that monster template with a passion. When it was created, I made very clear that Tooltips would be replacing it. Now, if the community disagrees, that's obviously fine and we can have a discussion. Cheesedude (talkcontribs) 19:20, January 25, 2016 (UTC)