Template talk:grc-adj-2nd

From Wiktionary, the free dictionary
Latest comment: 6 years ago by Erutuon
Jump to navigation Jump to search

@Erutuon: Hi. This template (and other adjective templates as well, I guess) doesn't throw in a module error when I write {{grc-adj-2nd|ᾰ̓δέσποτος|ᾰ̓δέσποτον}} instead of {{grc-adj-2nd|ᾰ̓δέσποτον|head=ᾰ̓δέσποτος}} (and why are my two parameters reversed here?). This is a different behaviour from {{grc-noun}}. Do you think it should be changed? --Barytonesis (talk) 16:01, 22 September 2017 (UTC)Reply

@Barytonesis: I'll add some kind of error message warning that the second parameter shouldn't be used. It's not a fully Lua-based template, though. We haven't finished Module:grc-headword yet.
{{temp}} reversed the parameters because the module Module:template link doesn't get named parameters (|x=) in any particular order, and it prints numbered parameters before named ones. You can use {{=}}, though, to change the named parameter to a numbered one, in which case it will be in order: {{grc-adj-2nd|head=ᾰ̓δέσποτος|ᾰ̓δέσποτον}}. — Eru·tuon 18:00, 22 September 2017 (UTC)Reply