Difference between revisions of "Template:Concept collection/doc"

From TDWG Terms Wiki
Jump to: navigation, search
m (remove template: Bugfix SMW hased URI, SWM removes ending # in URIs anyway. No way to solve it properly in RDF)
 
(6 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
<div class="no-pre-border">
 
<div class="no-pre-border">
 
  <nowiki>{{</nowiki>Concept collection
 
  <nowiki>{{</nowiki>Concept collection
  |description=         → optional ([[property:dc:description]])
+
  |description=                 → optional ([[property:dc:description]])
  |notes=               → optional ([[property:skos:note]])
+
  |notes=                       → optional ([[property:skos:note]])
  |concept collection=   → optional member of another collection ([[property:vann:termGroup]])
+
  |concept collection=         → optional member of another collection ([[property:vann:termGroup]])
  |concept scheme =     → optional ([[property: skos:inScheme]])
+
  |concept scheme =             → optional ([[property: skos:inScheme]])
  |preferred namespace prefix=   → [[property: vann:preferredNamespacePrefix]]
+
|collection uri =            → optional canonical URI where collection is used as a class (esp. value lists)
  |preferred namespace uri=     → [[property: vann:preferredNamespaceUri]]
+
  |preferred namespace prefix= optional ([[property: vann:preferredNamespacePrefix]])
 +
  |preferred namespace uri=     optional ([[property: vann:preferredNamespaceUri]])
 
  }}
 
  }}
 
Removed:
 
<s>|imported from</s>=        → usually set (↗ [[property:Imported from]])
 
 
</div>
 
</div>
Note: the page title is mapped to ↗ [[property:dc:title]].
 
 
[[:Category:Concept collection]] will be set by this template automatically.
 
 
 
=== Technical documentation ===
 
=== Technical documentation ===
 
This template is used by [[Form:Concept collection]]. Dependencies:
 
This template is used by [[Form:Concept collection]]. Dependencies:
Line 26: Line 20:
 
* [[template: Generate concept formlinks from SMW import page]]
 
* [[template: Generate concept formlinks from SMW import page]]
 
* [[template: Validate and render identifier URI]]
 
* [[template: Validate and render identifier URI]]
 +
 +
==== Additional properties/Classes ====
 +
* page title is mapped to [[property:dc:title]].
 +
* [[:Category:Concept collection]] will be set by this template automatically.
  
 
=== See also ===
 
=== See also ===
  
* [[Template:Concept scheme]]
+
* [[Template: Concept scheme]]
* [[:{{ns:category}}:Helper tool for ontologies]]
+
* [[:Category: Helper tool for ontologies]]
 
<includeonly>
 
<includeonly>
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
[[{{ns:category}}:Helper tool for ontologies]]
 
[[{{ns:category}}:Helper tool for ontologies]]
 
</includeonly>
 
</includeonly>

Latest revision as of 23:45, 7 September 2016

This is a documentation subpage for Template:Concept collection (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

This is the "Concept collection" template and should be used on Class-pages.

Usage

It should be called in the following format:

{{Concept collection
|description=                 → optional (property:dc:description)
|notes=                       → optional (property:skos:note)
|concept collection=          → optional member of another collection (property:vann:termGroup)
|concept scheme =             → optional (property: skos:inScheme)
|collection uri =             → optional canonical URI where collection is used as a class (esp. value lists)
|preferred namespace prefix=  → optional (property: vann:preferredNamespacePrefix)
|preferred namespace uri=     → optional (property: vann:preferredNamespaceUri)
}}

Technical documentation

This template is used by Form:Concept collection. Dependencies:

Additional properties/Classes

See also