Template talk:Wiktionary-inline

(Redirected from Template talk:Wiktionary-inline/doc)
Latest comment: 3 years ago by Swaare in topic Edit/feature request

Inline?

edit

If this template is meant to be used inline, why does it emit a newline and a bullet? To correct this behaviour, I suggest to change the template code similar to {{Commons category-inline}} where a parameter |bullet=none will avoid this problem. The result might look like this:

{{#ifeq: {{{bullet|}}} | none
|
| *
}}[[Image:Wiktionary-logo-en.svg|16px| ]] The [[Wiktionary]] definition of [[wiktionary:{{{1|Special:Search/{{lc:{{PAGENAME}}}}}}}|{{{2|{{{1|{{lc:{{PAGENAME}}}}}}}}}}]]]

-- Michael Bednarek (talk) 09:15, 23 April 2011 (UTC)Reply

problems with the "reimplementation"

edit

The documentation for Template:Wiktionary says

I have converted a lot of templates such as {{Wiktionary|B|b}} on articles about letters of alphabets where there is no External links section to
{{Wiktionary-inline|B}}
{{Wiktionary-inline|b}}

The latest "reimplementation" has at least the following problems:

  1. They are no longer bullet points: all existing calls that were bullet points must be now be edited to make them bullet points again, or to restructure the use.
  2. The parameter is being ignored: The above calls both link to lower case b, and calls from pages such as Pe (Cyrillic) don't work at all, as I found when I tried it there.

For now I am reverting this back to the old version. —Coroboy (talk) 07:48, 5 October 2011 (UTC)Reply

  • Having the template default to adding a bullet makes it inconsistent with the majority of external links templates. The fallout from switching the default is minimal; for the time being all it does is slightly misalign existing uses, and there are few enough existing transclusions (which in my experience often use a bullet anyway) that readers are not significantly inconvenienced for the time being. The issue with calling parameters certainly looks like a bug: I'll look into it. Thanks. Chris Cunningham (user:thumperward) - talk 10:02, 5 October 2011 (UTC)Reply
The sandbox template works correctly. I will update the pages I have edited to add the bullets. Thanks for your help. —Coroboy (talk) 00:24, 6 October 2011 (UTC)Reply

Italics

edit

Shouldn't this template italicize the term being linked to per WP:WORDSASWORDS? Thus: "The Wiktionary entry for wiktionary-inline" rather than "The Wiktionary entry for wiktionary-inline". Hyacinth (talk) 00:27, 25 July 2012 (UTC)Reply

@Hyacinth: Just to note that the template now does this. Since when, I'm not sure, since I haven't taken the time to check. —DocWatson42 (talk) 10:28, 12 November 2020 (UTC)Reply

Edit/feature request

edit

As it stands this template's output starts with "The dictionary definition of [entry]", which is occasionally inappropriate. E.g., for "Appendix: Brexit glossary" ("The dictionary definition of Appendix: Brexit glossary" is...grammatically incorrect). Would someone please be so kind as to add the option to change the prefixed phrase in these cases? I'm open to suggestions as to what that prefix should be. —DocWatson42 (talk) 10:26, 12 November 2020 (UTC)Reply

I was going to create a new section for the very same reason. I support the proposal.  e • 🗣 • 🏲 13:54, 13 July 2021 (UTC)Reply