Template talk:trans-see

Definition from Wiktionary, the free dictionary
Jump to: navigation, search

Extra clicking[edit]

I've lived with this for a little while now, but I don't see the point of a show/hide bar for this. It just requires an extra click from the user. When combined with {{trans-top}} it seems particularly pointless to have the extra click. It is fine that we have a template to allow for uniformity of presentation and to accommodate change in presentation, but the show/hide feature seems (mildly) pernicious. DCDuring TALK 19:09, 11 September 2008 (UTC)

Yes, one of the things I mean to do someday if no one else gets to it is have this box display nicely with the show/hide boxes, but just display the "see" reference on the line. Note the present implementation is very simple. If someone else wants to, have at it! Robert Ullmann 19:20, 11 September 2008 (UTC)
So the idea would be to have the bar and the link appearing where the gloss appears now and no distracting "show"? Couldn't that be ripped off from {{rel-top}}? DCDuring TALK 19:57, 11 September 2008 (UTC)
Never mind. I can see it is more complicated than that. It might need a new class. Beyond my paygrade. DCDuring TALK 20:02, 11 September 2008 (UTC)

I've revealed the content. The NavFrame, NavHead, NavContent classes aren't general enough to display this in the best way – someone will have to clean all this up for a better appearance. But it's now better than playing guessing games. Michael Z. 2009-03-07 17:09 z

I've reverted your changes. The new version did not justify text, balance properly, or use the same color scheme as other trans templates, so it looked terrible compared next to those templates. --EncycloPetey 18:25, 14 March 2009 (UTC)
Yeah, but it showed the reader a link, instead of stupidly hiding it. You really think it's better if it looks pretty but doesn't work?
In either case the classes and structure for these templates remain broken. Michael Z. 2009-03-14 19:36 z

(de-indenting, since I don't know who I'm replying to): the JavaScript for NavFrames applies to elements whose sole class is "NavFrame", whereas (as you can guess) the CSS applies to elements any of whose classes is "NavFrame". So if we want the normal styling of NavFrames — and I agree with EncycloPetey that we do — and we don't want the whole "show/hide" stuff — and I agree with DCDuring, Robert Ullmann, and Mzajac that we don't — then we can just do this:

<div class="pseudo NavFrame"><div class="NavHead" align="left">
{{{1}}} — ''see'' {{wlink|w={{{2|{{{1}}}}}}}}</div></div>

, which generates this:

. And if we're really picky about formatting, we can even wrap the em dash and "see" in some sort of <span style="font-weight:normal">:

. What do y'all think?
RuakhTALK 21:21, 14 March 2009 (UTC)

P.S. If we do take the approach that I suggested, then we should also place a comment at MediaWiki:Monobook.js to make sure no one ever smartens that code in a way that breaks this. :-P   —RuakhTALK 21:28, 14 March 2009 (UTC)

Looks good: I say go ahead and implement it. Thanks. Michael Z. 2009-03-15 21:08 z
Done, thanks. :-)   —RuakhTALK 02:57, 16 March 2009 (UTC)
That's what I'm talking about. DCDuring TALK 03:35, 16 March 2009 (UTC)
Looks good to me too. --EncycloPetey 02:06, 19 March 2009 (UTC)

Template talk:trans-top#Add an ID?[edit]

^ Relevant proposal. --Yair rand (talk) 15:59, 16 April 2013 (UTC)