Disputatio Formulae:Cite web

E Vicipaedia
Jump to navigation Jump to search

The language= parameter appears to add an unnecessary "in." For example {{cite web|url = http://google.com|title=nescioqui situs interretialis|language=anglice}} yields:

"nescioqui situs interretialis" (anglice) 

I came to this page to fix that, but I can't find where the problem lies in the code. Can anyone help? --Iustinus (disputatio) 03:58, 3 Ianuarii 2014 (UTC)

There is a solution that that we can copy from one of the other "Cite" templates. I'll try to hunt it down. Andrew Dalby (disputatio) 09:49, 3 Ianuarii 2014 (UTC)
No, unluckily, I see now that the older templates, which I adapted (I think), have all been replaced (by Mattie and an anonym). For good reasons, I'm sure. They all now depend on Formula:Citation/core, the syntax of which is a bit strange (to me, anyway), so attempting to patch the correct "Ling" instruction into it makes it go wrong. Damn. I wouldn't ever recommend anyone to use citation templates, but of course it is handy to be able to copy them over! Maybe UV, who is cleverer than I am, will be able to adjust the awkward lines. In case you look in here, UV, the current text at Formula:Citation/core is {{ #if: {{{language|}}} | (in {{{language}}}) }} and I would have liked to replace it with {{#if: {{{language|}}} | <includeonly>{{Ling|{{{language}}}}}<includeonly/> }}. Thanks! Andrew Dalby (disputatio) 15:12, 3 Ianuarii 2014 (UTC)
I just left out the includeonly tags and it seems to work now! Greetings, --UV (disputatio) 20:27, 4 Ianuarii 2014 (UTC)
Ha! Silly of me not to try that. Thank you as always Andrew Dalby (disputatio) 20:58, 4 Ianuarii 2014 (UTC)
Yay! Thanks. --Iustinus (disputatio) 02:36, 5 Ianuarii 2014 (UTC)