Memory Alpha
Memory Alpha
No edit summary
Line 3: Line 3:
 
<!-- <nowiki>Please always sign you post with "-- ~~~~". See "[[Help:Talk page]]". You can overwrite this line or continue to write more below. </nowiki> -->
 
<!-- <nowiki>Please always sign you post with "-- ~~~~". See "[[Help:Talk page]]". You can overwrite this line or continue to write more below. </nowiki> -->
   
Is there a way to create specific tooltips. Since it was decided on MA-fr to use english episodes titles and redirect others (up to 3-4 french translations), there are a few users who would prefer use the french translation, but I refuse to feature both (too much time and problems). So I would like to know f it is possible to show a specific tooltip including all the translations when the mouse comes over the english title ?
+
Is there a way to create specific tooltips. Since it was decided on MA-fr to use english episodes titles and redirect others (up to 3-4 french translations), there are a few users who would prefer use the french translation, but I refuse to feature both (too much time and problems). So I would like to know if it is possible to show a specific tooltip including all the translations when the mouse comes over the english title ?
   
 
For exemple : "The Q and the Grey" would show "Autant en emportent les Q" / "Enigme et Qonnaissance" / "Q-uerelle de succession" in the tooltip. - [[User:Philoust123|From Cardassia with pain]] 23:17, 4 January 2007 (UTC)
 
For exemple : "The Q and the Grey" would show "Autant en emportent les Q" / "Enigme et Qonnaissance" / "Q-uerelle de succession" in the tooltip. - [[User:Philoust123|From Cardassia with pain]] 23:17, 4 January 2007 (UTC)
Line 13: Line 13:
   
 
:[[User:Splarka|Splarka]] just provided [[Template:Linktip]], thus solving the actual "tooltip" part of your question. If you just need tooltips in some specific cases, this might be what you need. Otherwise, that could be worked into my suggestion above, removing at least the need to fudge the CSS. -- [[User:Cid Highwind|Cid Highwind]] 01:16, 5 January 2007 (UTC)
 
:[[User:Splarka|Splarka]] just provided [[Template:Linktip]], thus solving the actual "tooltip" part of your question. If you just need tooltips in some specific cases, this might be what you need. Otherwise, that could be worked into my suggestion above, removing at least the need to fudge the CSS. -- [[User:Cid Highwind|Cid Highwind]] 01:16, 5 January 2007 (UTC)
  +
  +
The problem with that method is that it would take more time and become more complex to edit :
  +
<nowiki>{{Linktip|Link=The Q and the Grey|Tip="The Q and the Grey" / "Autant en emportent les Q" / "Enigme et Qonnaissance" / "Q-uerelle de succession"}}</nowiki> whereas before <nowiki>[[The Q and the Grey]]</nowiki>. It also needs to look each time at the series list to check the translations. But I think that problem could be resolved by a bot. Furthermore, it would be very confusing for new and irregular users when they will be confronted with that template. So I think a more simple method like the <nowiki>{{VOY|The Q and the Grey}}</nowiki> you proposed, is a better way to do it. - [[User:Philoust123|From Cardassia with pain]] 12:05, 5 January 2007 (UTC)

Revision as of 12:05, 5 January 2007

Forums ForumsTen Forward → Tooltips (replywatch)


Is there a way to create specific tooltips. Since it was decided on MA-fr to use english episodes titles and redirect others (up to 3-4 french translations), there are a few users who would prefer use the french translation, but I refuse to feature both (too much time and problems). So I would like to know if it is possible to show a specific tooltip including all the translations when the mouse comes over the english title ?

For exemple : "The Q and the Grey" would show "Autant en emportent les Q" / "Enigme et Qonnaissance" / "Q-uerelle de succession" in the tooltip. - From Cardassia with pain 23:17, 4 January 2007 (UTC)

In theory, Yes, although that would mean some work with templates, possibly article subpages and CSS. You will probably want it to be consistent for all episode titles, so it needs to be templated - any episode reference would need to be replaced with a template call like {{SER|Episode Name}}.
This template would look like a standard episode reference when transcluded, but would need to have some "extra formatting", probably some HTML container that is initially invisible, but visible on mouseover (controlled via CSS).
As a last step, the content of that container would need to be consistent data about alternative episode titles - so probably another template call, transcluding a list of alternate episode titles from a subpage of any given episode (for example: {{:Episode Name/Titles}}).
If you want to start something like this, I could help you with it... unless someone finds a better way to do it... ;) -- Cid Highwind 23:36, 4 January 2007 (UTC)
Splarka just provided Template:Linktip, thus solving the actual "tooltip" part of your question. If you just need tooltips in some specific cases, this might be what you need. Otherwise, that could be worked into my suggestion above, removing at least the need to fudge the CSS. -- Cid Highwind 01:16, 5 January 2007 (UTC)

The problem with that method is that it would take more time and become more complex to edit : {{Linktip|Link=The Q and the Grey|Tip="The Q and the Grey" / "Autant en emportent les Q" / "Enigme et Qonnaissance" / "Q-uerelle de succession"}} whereas before [[The Q and the Grey]]. It also needs to look each time at the series list to check the translations. But I think that problem could be resolved by a bot. Furthermore, it would be very confusing for new and irregular users when they will be confronted with that template. So I think a more simple method like the {{VOY|The Q and the Grey}} you proposed, is a better way to do it. - From Cardassia with pain 12:05, 5 January 2007 (UTC)