Jump to content

Template talk:Wiktionarypar

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

TfD debate

[edit]

This template survived a debate at TfD. See Wikipedia:Templates for deletion/Log/2006 January 19 for details. -Splashtalk 22:55, 8 February 2006 (UTC)[reply]

Overlap

[edit]

I'm not sure if it's a freak occurence, but in the article Autism, I noticed that the text overlaps the template. Any way to fix this. Chuck 10:20, 7 May 2006 (UTC)[reply]

Wording revert

[edit]

On May 2, User:Rlog changed the template's wording to "Wiktionary has has related dictionary definitions, such as: foo". I reverted that wording, since it's not only too wordy, but also misleading, since usually the Wiktionary link is being used not just for a related definition, but the definition of the article's title! (Remember, {{wiktionary}} doesn't understand how to strip parenthesized disambiguators; see for example Animal (disambiguation).) The "Look up foo in Wiktionary, the free dictionary" wording can still be used to refer to related definitions, but the reverse is not true. --Quuxplusone 17:13, 11 May 2006 (UTC)[reply]

Formatting

[edit]

An editor has proposed that the template should use a bigger font for the linked text (diff). Since this is a non-trivial formatting change to a widely-used template, I'd like to establish that there's consensus that the new formatting is an improvement before we implement it. --Muchness 07:45, 4 January 2007 (UTC)[reply]

Well if we need to have a potlatch, I suggest we appoint a design team, comprised of representatives of the disciplines of Ergonomics, Orthography, Philology, Caligraphy, Pseudoskepticism, ... uh, maybe that's overkill.
Dewd, that Wiktionary box is lame. The whole point of that box is to give a place to click to look up the word. But for a short word that hot spot is less than 5% of the box. I was making the word a little bigger (like 7% of the box). Does anybody think there's something wrong with making the word a little bigger and easier to click on?
Still this is only a little less lame. Everything I know about HTML I learned in a prior millenium, so I don't know how to build a box, but I'll tell you what would look good.
The existing box has a Wiktionary logo that's shrunk down to crappy illegibility. Additionally, it says "in Wiktionary the free dictionary" on the right. Combine the text into a single, readable, appropriately sized graphic saying "Wiktionary, the free dictionary", which should be linked to something. On the right should be "Look up foo, bar, etc", with the words in HUGE type. Something like this:
Wiktionary,

the free dictionary

Look up

foo

bar

-- Randall Bart 01:47, 5 January 2007 (UTC)[reply]
So does anyone have an opinion on the underlying question of making the linked word, the business part of this box, bigger?-- Randall Bart 22:26, 7 January 2007 (UTC)[reply]

Linking appropraiteness

[edit]

When is it appropriate to link to a Wiktionary entry in a Wikipedia article sentence, as in: "X is a characteristic of Y"? Obviously, there are only a few examples of words which don't also have a Wikipedia article (even short ones like the), but in the cases where the article's meaning doesn't make sense in context of the link-ee, or is a disambiguation page (and hence non-explanitory), is this all right? Is there an (un)official policy on this question? —Lenoxus 04:37, 28 January 2007 (UTC)[reply]

Interwiki request

[edit]

Please, add sl:predloga:wikislovar. Thanks a lot. --Eleassar my talk 14:34, 20 February 2007 (UTC)[reply]

Wording change?

[edit]

{{editprotected}} Any possibility of changing "the free dictionary" to "a free dictionary"? Surely we can't be taking the position that wiktionary is the ONLY free dictionary? UnitedStatesian 03:50, 1 June 2007 (UTC)[reply]

Just as Wikipedia's slogan is "the Free Encyclopedia", Wiktionary's is "the free dictionary". If you'd like that changed, you'll have to take it up with them. Unfortunately, it's not just something somebody added to this template. - auburnpilot talk 05:08, 1 June 2007 (UTC)[reply]
We don't want to change the slogan :-). Just how we refer to it, could change to "a free dictionary" or more simply have no tag line. Tom (talk) 20:13, 26 August 2008 (UTC)[reply]

Infinite Parameters Possible?

[edit]

Is it possible to give infinite paramters?Asrghasrhiojadrhr (talk) 06:20, 9 March 2008 (UTC)[reply]

No, this template takes one to five parameters. --Muchness (talk) 15:28, 9 March 2008 (UTC)[reply]
If you're asking whether the code for this template can be altered to allow for infinite parameters, in theory it's possible, but I can't see a practical circumstance when infinite parameters would be necessary. Can you give an example of an article that needs more than 5 parameters? --Muchness (talk) 15:42, 9 March 2008 (UTC)[reply]
Well, no, but ain't it best to keep all possibilities open?Asrghasrhiojadrhr (talk) 09:40, 11 March 2008 (UTC)[reply]
I personally don't see the point in implementing a feature that has no practical use. An alternate template for more than five definitions might take the form: Look up {{{defs}}} in Wiktionary, the free dictionary, where the parameter defs is an arbitrary string of text. But again, I don't see the value in creating an alternate template until some practical need for it is demonstrated. --Muchness (talk) 16:48, 11 March 2008 (UTC)[reply]
What is the code for infinte parameters?Asrghasrhiojadrhr (talk) 09:27, 12 March 2008 (UTC)Asrghasrhiojadrhr (talk) 09:28, 12 March 2008 (UTC)[reply]
That was just a hypothetical example off the top of my head, but the code for infinite definitions is a parameter that takes an arbitrary string of text, so the editor using the template types the desired definitions manually (i.e. {{wiktionary-infinite|defs=''[[wiktionary:definition1|definition1]]'', ''[[wiktionary:definition2|definition2]]'', etc.}} It's considerably less user friendly than this template. --Muchness (talk) 09:55, 12 March 2008 (UTC)[reply]
An arbitrary string of text? What is an arbitrary string of text?Asrghasrhiojadrhr (talk) 03:43, 13 March 2008 (UTC)[reply]
And "...definitions...". What do you mean by "...definitions..."?Asrghasrhiojadrhr (talk) 05:43, 13 March 2008 (UTC)[reply]

Vector version available

[edit]

{{editprotected}}

Could it be possible to replace the image by a vector version (Image:Wiktionary-logo-en.svg) ? BenAllard (talk) 23:21, 30 July 2008 (UTC)[reply]

Please switch 'Wiktionary-logo-en.png' to 'Wiktionary-logo-en.svg'. Ariel. (talk) 03:35, 10 September 2008 (UTC)[reply]

Done That was easy enough. --Elkman (Elkspeak) 04:35, 10 September 2008 (UTC)[reply]

interwiki

[edit]

{{editprotected}} Please add interwiki link [[ja:Template:Wiktionarypar]]. Thanks. --fryed-peach (talk) 17:04, 5 August 2008 (UTC)[reply]

 Done Thanks, PeterSymonds (talk) 17:24, 5 August 2008 (UTC)[reply]

Two vs more than two items in a list should use a conjunction

[edit]

Right now the template gives a list without any conjunction (whether to use and or or isn't clear): you have "look up 1, 2" or "look up 1, 2, 3" -- it should be something like "look up 1 or 2" if there are two entries, and a comma-separated list if there are 3 or more ("look up 1, 2, or 3 in wiktionary"). I haven't looked at how to make the code work for this yet, but it seems like this should be a change worth doing. Scott Ritchie (talk) 21:38, 15 August 2008 (UTC)[reply]

{{editprotected}} -- I have added the edit protected tag, hopefully an admin knows how to do this. Feel free to remove if this isn't an appropriate use because I don't have ready code :) Scott Ritchie (talk) 08:47, 10 September 2008 (UTC)[reply]
Not done: the editprotected tag is used when you can specify exactly what change you need made. If you don't know, then try getting help at WP:VPT or copying the template in a sandbox until you get it right. Stifle (talk) 11:53, 10 September 2008 (UTC)[reply]

doc subpage

[edit]

{{editprotected}}

Please create a documentation subpage.

Please add a seealso to {{linktext}}

76.66.201.179 (talk) 04:58, 12 March 2009 (UTC)[reply]

Done--Aervanath (talk) 07:05, 12 March 2009 (UTC)[reply]

"or" / "and"

[edit]

{{editprotected}}

The current template lists the words as follows:

It would be better if it would list them like this:

Proposed code moved to /sandbox — Martin (MSGJ · talk) 09:24, 21 May 2009 (UTC)[reply]

I'm not sure if we should use "or" or "and" here, but I would be fine with both. Cheers, theFace 17:27, 20 May 2009 (UTC)[reply]

You may also want to change "Image:" to "File:". - theFace 17:29, 20 May 2009 (UTC)[reply]
"Or" is preferable, as clicking a single link only looks up a single word rather than the entire list as "and" might imply. Scott Ritchie (talk) 23:39, 20 May 2009 (UTC)[reply]
I made a few tweaks in the /sandbox and there are some tests on /testcases. It looks good, but I'll leave it a day in case anyone has any further suggestions. — Martin (MSGJ · talk) 09:24, 21 May 2009 (UTC)[reply]


Wait... I just noted that there is also {{Wiktionary}}. I think {{Wiktionarypar}} shouldn't exist at all! It's functionality should be implemented into {{Wiktionary}}, among with an extra attribute (like "|notpagename=yes}}") so that users are able to hide the pagename if they don't want it included. How about that? Cheers, theFace 21:17, 21 May 2009 (UTC)[reply]

I thought about that as well. But {{wiktionary}} has a different syntax (e.g. it has a "sophisticated" option for the second parameter). So it would take some thought and effort to merge them properly, and maybe not worth it. — Martin (MSGJ · talk) 10:32, 22 May 2009 (UTC)[reply]

I have  implemented. — Martin (MSGJ · talk) 12:10, 22 May 2009 (UTC)[reply]


Uses the second parameter in a relative handful of cases.

  1. Pneumonoultramicroscopicsilicovolcanoconiosis
  2. Russian language
  3. Arora
  4. Spanish prepositions
  5. Paintball
  6. El (deity)
  7. Emoticon
  8. Table (verb)
  9. Lopadotemachoselachogaleokranioleipsanodrimhypotrimmatosilphioparaomelitokatakechymenokichlepikossyphophattoperisteralektryonoptekephalliokigklopeleiolagoiosiraiobaphetraganopterygon
  10. Van (Dutch)
  11. Perfect rhyme

are ones where it should be kept (out of the 15000 uses of the template). All the rest (less than a hundred, I have a list of 47 that I think is complete) are better using the wiktionarypar style. I suggest moving the 11 above to {{Wiktionary pipe}} (temp version already created), then moving {{Wiktionary}} there over the temp version, then moving {{Wiktionarypar}} over {{Wiktionary}}. Rich Farmbrough, 01:34, 30 May 2009 (UTC).[reply]

Ok I did the move of the 11 above with no ill effect. Rich Farmbrough, 14:52, 30 May 2009 (UTC).[reply]

Distinctions:

  • Use of "sister" meta template
  • Use of search feature
  • USe of parameters
  • Use of PAGENAME/SUPPAGENAME
To merge I would suggest we use the parameter handling, including SUBPAGENAME from here, and the meta template and search feature from wiktionary. Rich Farmbrough, 15:55, 30 May 2009 (UTC).[reply]
I agree that we should use {{sister}} and "[[wiktionary:Special:Search/word]]". But could there be a situation in which someone wants to pipe a link, and also wants to put one or more additional links in the template? In that case, you can't use either. What if we put a parameter like "notpagename=yes" into {{Wiktionary}}, which hides the default PAGENAME? That would prevent us from needing {{Wiktionary pipe}}. Cheers, theFace 16:24, 30 May 2009 (UTC)[reply]
Hmm... forget about that. Not a good solution. Perhaps we could do: "word1=table#Nuon|displayword1=table (nuon)|word2=table#Verb|displayword2=table (verb)" etc. But if nobody is going to use that, it may not be worth creating it. So perhaps your {{Wiktionary pipe}} is the better solution after all. - theFace 08:55, 31 May 2009 (UTC)[reply]

I have created a new Wiktionarypar at Template:Wiktionarypar/sandbox, using {{sister}}. Tests can be seen at Template:Wiktionarypar/testcases (you may need to purge cache). I guess an admin should now copy-past the content of the sandbox to {{Wiktionarypar}}? Cheers, theFace 14:00, 1 June 2009 (UTC)[reply]