Difference between revisions of "Template:Validate and render identifier URI"
From TDWG Terms Wiki
m (fix namespace prefix) |
m (fix bug #pos) |
||
Line 27: | Line 27: | ||
-->{{#if: {{#var: namespaceURIpageList}}<!-- | -->{{#if: {{#var: namespaceURIpageList}}<!-- | ||
check e.g. "(http://rs.tdwg.org/ac/terms/)" | check e.g. "(http://rs.tdwg.org/ac/terms/)" | ||
− | -->|{{#if: {{#pos: | + | -->|{{#if: {{#pos: {{#var: namespaceURIpageList}} | ({{#var: importNamespaceUri}}) }}<!-- |
− | -->|_is_definedURI<!-- | + | then-->|_is_definedURI<!-- |
− | + | else-->|{{#if: {{#var: importNamespaceUri}} <!-- | |
-->|_conflicts_with_definedURI<!-- | -->|_conflicts_with_definedURI<!-- | ||
no importURI just a definedURI | no importURI just a definedURI | ||
Line 41: | Line 41: | ||
-->{{#if: {{#var: namespaceURIpageList}}<!-- | -->{{#if: {{#var: namespaceURIpageList}}<!-- | ||
check e.g. "(http://rs.tdwg.org/ac/terms/)" | check e.g. "(http://rs.tdwg.org/ac/terms/)" | ||
− | -->|{{#if: {{#pos: | + | -->|{{#if: {{#pos: {{#var: namespaceURIpageList}} | ({{#var: importNamespaceUri}}) }}<!-- |
-->|_is_definedURI<!-- | -->|_is_definedURI<!-- | ||
-->|{{#if: {{#var: importNamespaceUri}} <!-- | -->|{{#if: {{#var: importNamespaceUri}} <!-- |
Revision as of 12:58, 25 October 2012
Technical documentation
Dependent on: Template:Warning about conflict of concept URI with SMW import and Concept or Collection
Sets management category: Category: Check semantic properties (suppressed by parameter "set management category=no")
Uses variables: hasConflict
, importNamespaceUri
, namespaceURIpageList