Jump to content

Template talk:synonyms

Page contents not supported in other languages.
Add topic
From Wiktionary, the free dictionary
Latest comment: 2 years ago by Vahagn Petrosyan in topic tag=

@CodeCat: as the antonym of grower in the fourth sense, I'd like to have a direct link to shower#Etymology_2; is that feasible? --Barytonesis (talk) 00:45, 28 May 2017 (UTC)Reply

tag=

[edit]

@Benwing2 I've seen this template used with |tag= (e.g. ბძგირი) and I have an idea of what it does but not exactly. Can this behavior be added to the documentation? Also, wouldn't this better be done on a per-term basis (using <tag:)? — Fytcha T | L | C 19:35, 24 October 2022 (UTC)Reply

@Fytcha Apologies for the delayed response. There was a Beer Parlour discussion a few months ago (here: WT:Beer parlour/2022/June#Making it easier to add several descendants) that led to the implementation of these dialect tags. They are also supported for {{alt}} and do work on a per-term basis as well. I thought I documented them but apparently not. Will do. Benwing2 (talk) 02:54, 29 October 2022 (UTC)Reply
@Benwing2: Perfect, thank you a lot! — Fytcha T | L | C 03:42, 30 October 2022 (UTC)Reply
@Benwing2: Your change in Special:Diff/69619510 seems fine to me. At first glance it looked slightly unusual (I don't think we use [] anywhere else, apart from IPA of course) but I guess it's better than having two pairs of parentheses in front of a term. OTOH, we could also merge the tag and the qualifier in one pair of parentheses if both are present, e.g. if we have
Lua error in Module:parse_utilities at line 549: Unrecognized prefix, should be one of '⁠alt'⁠, '⁠g'⁠, '⁠gloss'⁠, '⁠id'⁠, '⁠l'⁠, '⁠lb'⁠, '⁠lit'⁠, '⁠ll'⁠, '⁠pos'⁠, '⁠q'⁠, '⁠qq'⁠, '⁠ref'⁠, '⁠sc'⁠, '⁠t'⁠, '⁠tr'⁠ and '⁠ts'⁠: modifier prefix '⁠tag'⁠ in <⁠tag:ակն> in 2=մըյներ<⁠g:p><⁠q:something><⁠tag:ակն>
instead display it as
Synonym: (Akn, something) մըյներ pl (məyner)
Just putting this idea out there with no preference for which one is better. — Fytcha T | L | C 04:14, 30 October 2022 (UTC)Reply
@Fytcha What you propose is in fact exactly what was formerly done, before I made the change. You can see what this looks like by going to [1] and previewing Template:synonyms/documentation. I changed it because it seemed somewhat awkward-looking when there are several dialect tags, as in the example; but maybe the old way is in fact better. Benwing2 (talk) 04:19, 30 October 2022 (UTC)Reply
@Benwing2: Ah, I see, I missed that. Another possibility would also be to separate the dialects from the other qualifiers (within the parentheses) using a semicolon (or maybe even a vertical bar?). I'm just putting ideas out there, I have no strong feelings one way or the other but maybe @Vahagn Petrosyan who I've seen use this feature does. — Fytcha T | L | C 19:15, 30 October 2022 (UTC)Reply
I don't have a preference. Vahag (talk) 19:28, 30 October 2022 (UTC)Reply