Difference between revisions of "Template:Concept to imported URI"
From TDWG Terms Wiki
m (debug) |
m (See also) |
||
Line 39: | Line 39: | ||
* <code>#var importURI</code> | * <code>#var importURI</code> | ||
− | See also [[template: Concept to imported docURI]] | + | See also |
+ | * [[template: Concept to imported docURI] | ||
+ | * [[template: Namespace_prefix_to_imported_namespace_URI]] | ||
[[Category: Helper tool for ontologies]] | [[Category: Helper tool for ontologies]] | ||
</noinclude> | </noinclude> |
Revision as of 13:54, 23 October 2012
This template gets the Equivalent URI of an imported concept from its MediaWiki import page, e.g. MediaWiki:Smw_import_impns. This template can be used only for SMW data types URL and Annotation URI. If you have data type Page you can make SMW to resolve to ther external URI by pointing to the property page where the impoert must be defined there (=has a [[Imported from::impns:conceptTerm]]).
Usage:[[my-URI-property::{{Concept to imported URI|dc:creator}}]] {{Concept to imported URI|property|default=}} → returns default (i.e. "". Usually it returns the string and *not* "")
Notes:
- an SMW import page, e.g. MediaWiki:Smw_import_impns must exist
Technical documentation
Uses variables:
-
#var importNameSpace
-
#var importURI
See also
- [[template: Concept to imported docURI]
- template: Namespace_prefix_to_imported_namespace_URI