Difference between revisions of "Template:Concept to imported URI"
From TDWG Terms Wiki
(Created page with "<includeonly><!-- 2 alternativ approaches a) use the import page directly or alternatively b) use #ask → {{#ask: [[Property:{{{1|property not set}}}]] [[Equivalent URI::+...") |
m (fix if no importURI) |
||
Line 21: | Line 21: | ||
-->{{#if: {{#var: importURI}}<!-- | -->{{#if: {{#var: importURI}}<!-- | ||
then-->|{{#var: importURI}}<!-- | then-->|{{#var: importURI}}<!-- | ||
− | else-->| | + | else-->|{{{1|unknown URI}}}<!-- |
-->}}<!-- end if | -->}}<!-- end if | ||
Revision as of 09:27, 19 October 2012
This template gets the Equivalent URI of an imported concept and can be used for SMW data types URL and Annotation URI.
Usage:[[my-URI-property::{{Concept to imported URI|dc:creator}}]]
Notes:
- an SMW import page MediaWiki:Smw_import_mynamespace must exist