The basic idea is to update templates like Infobox film to prefer to pull data from Wikidata. So for a film article whose corresponding item on Wikidata is fairly complete you can just put {{Infobox film}} at the top of the article and everything will work as expected. They can click the link at the bottom of the article to go to the item on Wikidata and update the values. Then anywhere in the article, including the template and other language versions of the article, the information will be automatically updated. To do this means changing in the template where it says:
| label1       = Directed by
| data1        = {{{director|}}}
to say:
| label1       = Directed by
| data1        = {{{director|{{#property:p57}}}}}
In the next update you will just be able to write {{#property:film director}} instead of {{#property:p57}}.

As far as statements to include on templates, it could be interesting once the transition has more momentum to see what types of items use a template. You can already see what pages embed a template with the Wikimedia API. I'm not sure what the best workflow would be for this. I can imagine that eventually it would be awesome if I have some information about a new movie coming out, so I go to create a new article. Then when I am writing the article it has a textbox on the side to specify a type for the article. So then if I type in film for the type, it automatically adds the typical templates used in a film article to the article text and then shows part of the Wikidata UI to specify the properties that most films have. Then when I click save it could automatically add the appropriate statements to Wikidata at the same time I create the article.


Date: Mon, 1 Apr 2013 10:28:23 +0800
From: zhjyong@gmail.com
To: Wikidata-l@lists.wikimedia.org
Subject: [Wikidata-l] A question about wikidata for templates

Hi,

I have a question about how wikidata will behave for template pages. For example, for http://www.wikidata.org/wiki/Q6171351, currently it has interlanguage links as a regular wikipedia page. I'm wondering if wikidata project will also add statements for it. If so, how will it look like and how will people use it in wikipedia articles with that template?

Thanks.

_______________________________________________ Wikidata-l mailing list Wikidata-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-l