Gebruiker:Daniel Mietchen/Arbitrary access
About
[bewerken | brontekst bewerken]The Dutch Wikipedia and the French Wikisource are the first wikis on which arbitrary access is enabled. I am using this page to familiarize myself with the system.
Examples
[bewerken | brontekst bewerken]Calling one property from one item
[bewerken | brontekst bewerken]{{#property:P36|from=Q183}}
gives: Berlijn
Adapting citation templates
[bewerken | brontekst bewerken]Original citation templates
[bewerken | brontekst bewerken]{{en}}{{Aut|Ying J, Rahbar MH, Hallman DM, Hernandez LM, Spitz MR, Forman MR, et al.}} Associations between dietary intake of choline and betaine and lung cancer risk. PLoS ONE. Public Library of Science; 2013;8(2):e54561. {{DOI|10.1371/journal.pone.0054561}}. {{PMID|23383301}}. Dit is een [[open access]] artikel, beschikbaar onder de licentie [[Creative Commons#Kenmerken|Creative Commons Naamsvermelding]] (CC BY).
from this citation
gives
(en) Ying J, Rahbar MH, Hallman DM, Hernandez LM, Spitz MR, Forman MR, et al. Associations between dietary intake of choline and betaine and lung cancer risk. PLoS ONE. Public Library of Science; 2013;8(2):e54561. DOI:10.1371/journal.pone.0054561. PMID 23383301. Dit is een open access artikel, beschikbaar onder de licentie Creative Commons Naamsvermelding (CC BY).
The license mentioned therein can now be retrieved from Wikidata by asking which value the property license (P275) has for the item about that paper (Q19896534):
{{#property:P275|from=Q19896534}}
to yield
Creative Commons Naamsvermelding 2.5 Unported.
This obviously needs some more work, but the basic functionality is there.