Jeremyb helped me to fix the {{wikidata}} template, to make it subst-able:
https://en.wikipedia.org/w/index.php?title=Template:Wikidata&diff=774791...
(The {{#invoke}} on my sandbox had been produced by subst-ing the old version of {{wikidata}}.)
Thanks, Pharos
On Tue, Apr 18, 2017 at 11:18 AM, Lucas Werkmeister < mail@lucaswerkmeister.de> wrote:
Hi Pharos,
I tried this on my own sandbox [1], and the subst seems to work without a problem. I’m not sure what’s in your own sandbox – the big red error in the revision you linked to seems to be caused by something different (the {{#invoke}} at the bottom), not the substituted Wikidata template.
I realize this reply is a bit late – is there still a problem, or did this get cleared up in some other way in the meantime? :)
Cheers, Lucas
Werkmeister_%28WMDE%29%2Fsandbox&type=revision&diff= 776029766&oldid=776029748
On 05.04.2017 02:41, Pharos wrote:
Hi Wikidata-niks,
I'm trying to subst using Template:Wikidata on Wikipedia:
https://en.wikipedia.org/w/index.php?title=User:Pharos/ sandbox&oldid=773859189
I'd like to put something like {{subst:wikidata|title|Q42}} in the edit box, click save, and then have "Douglas Adams" saved, like how subst works for other templates.
Where have I gone wrong?
Thanks, Pharos
Wikidata mailing listWikidata@lists.wikimedia.orghttps://lists.wikimedia.org/mailman/listinfo/wikidata
Wikidata mailing list Wikidata@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata