Template:Concept to imported docURI

From TDWG Terms Wiki
Revision as of 12:23, 19 October 2012 by Andreas Plank (Talk | contribs) (fix explode)

Jump to: navigation, search

This template gets the documentation 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 docURI|dc:creator}}]] → Dublin Core Metadata Element Set, Version 1.1

Notes:

  • an SMW import page, e.g. MediaWiki:Smw_import_impns must exist

Technical documentation

Uses variables:

  • #var importNameSpace
  • #var importDocURI (is in general an already formatted Wiki link)