Giving function arguments in templates

Fragment of a discussion from User talk:Rua

Because we need it done in the headword, and we need to transliterate in both directions, reworking {{head}} to handle this with through its normal transliteration mechanisms would be impractical.

As for writing the module, I just want it to function the same as the old template system for now, until we figure out what inflectional information we want to require in the headword.


The concrete problem I have is why {{User:Crom daba/sh-noun|head=gòblēn}}, which is defined as {{#invoke:User:Crom_daba/sh-headword|head_t|nouns}}, won't function the same as {{User:Crom daba/sh-head|nouns|head=head=gòblēn}} but rather as {{User:Crom daba/sh-head|head=head=gòblēn}}.

Crom daba (talk)00:24, 6 November 2016

Can you not just use the tr= parameter of {{head}}?

CodeCat00:33, 6 November 2016