Thread:User talk:CodeCat/Creating language-specific links inside declension tables/reply

is probably the best choice for now. It hasn't been converted to Lua yet, but it works as long as you don't add embedded wikilinks to it. You can also use no template at all and create the links yourself (with the appropriate HTML tags for language and script), but that may be too limited in some cases. There is currently no template equivalent to, which processes links (including embedding) but doesn't add tags. Do you think there should be one?