Re: [Wikidata-l] Request for comments: syntax for including data on client wikis (aka how to make infoboxes)

2012-05-23 Thread Helder Wiki
On Wed, May 23, 2012 at 9:33 AM, Gabriel Wicke wi...@wikidev.net wrote: I don't really like this global variable business at all. Much of the ugliness above disappears when the id is mandatory: {{#data:{{id}}|color}} or (if you prefer): {{#data:color|{{id If it is missing, simply

[Wikidata-l] Request for comments: syntax for including data on client wikis (aka how to make infoboxes)

2012-05-22 Thread Daniel Kinzler
Hello all I have created a first preliminary draft of how data items from the Wikidata repository may be accessed and rendered on the client wiki, e.g. to make infoboxes. https://meta.wikimedia.org/wiki/Wikidata/Notes/Inclusion_syntax It would be great if you could have a look and let us know

Re: [Wikidata-l] Request for comments: syntax for including data on client wikis (aka how to make infoboxes)

2012-05-22 Thread Jérémie Roquet
Hi Daniel, everyone, 2012/5/22 Daniel Kinzler daniel.kinz...@wikimedia.de: I have created a first preliminary draft of how data items from the Wikidata repository may be accessed and rendered on the client wiki, e.g. to make infoboxes.

Re: [Wikidata-l] Request for comments: syntax for including data on client wikis (aka how to make infoboxes)

2012-05-22 Thread Nikola Smolenski
On 22/05/12 13:47, Daniel Kinzler wrote: I have created a first preliminary draft of how data items from the Wikidata repository may be accessed and rendered on the client wiki, e.g. to make infoboxes. https://meta.wikimedia.org/wiki/Wikidata/Notes/Inclusion_syntax It would be great if you

Re: [Wikidata-l] Request for comments: syntax for including data on client wikis (aka how to make infoboxes)

2012-05-22 Thread Gabriel Wicke
On 05/22/2012 03:16 PM, Nikola Smolenski wrote: I see no reason for creating a new parser function for inclusion of templates. Also, this syntax would not allow a template to draw data from more than one item, which would probably be a requirement in phase3. Rather, I would include a

Re: [Wikidata-l] Request for comments: syntax for including data on client wikis (aka how to make infoboxes)

2012-05-22 Thread Daniel Kinzler
On 22.05.2012 21:27, Gabriel Wicke wrote: So, instead of {{{data}}} there would be {{#data:}}, instead of {{{data.color}}} there would be {{#data:color}}, instead of {{{data.color(ACME_SURVEY_2010)}}} there would be {{#data:color|ref=ACME_SURVEY_2010}} and so on. This could even be

Re: [Wikidata-l] Request for comments: syntax for including data on client wikis (aka how to make infoboxes)

2012-05-22 Thread Gabriel Wicke
On 05/22/2012 09:39 PM, Daniel Kinzler wrote: the {{#data-value}} function lets you output all of these parts all at once (or separately, if you like), and lets you control aspects like the format of the output using parameters. If you choose to output multiple parts at once,

Re: [Wikidata-l] Request for comments: syntax for including data on client wikis (aka how to make infoboxes)

2012-05-22 Thread Gregor Hagedorn
I added some comments on the wiki ___ Wikidata-l mailing list Wikidata-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-l