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

From TDWG Terms Wiki
Jump to: navigation, search
m
m (remove template: Bugfix SMW hased URI, SWM removes ending # in URIs anyway. No way to solve it properly in RDF)
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{Documentation/subpage}}
 
{{Documentation/subpage}}
This is the "concept collection" template and should be used on {{ns:category}}-pages.
+
This is the "Concept collection" template and should be used on {{ns:category}}-pages.
  
 
=== Usage ===
 
=== Usage ===
 
It should be called in the following format:
 
It should be called in the following format:
 
<div class="no-pre-border">
 
<div class="no-pre-border">
  <nowiki>{{</nowiki>concept collection
+
  <nowiki>{{</nowiki>Concept collection
  |title=               → optional ([[property:dc:title]])
+
  |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]])
  |imported from=       usually set ([[property:Imported from]])
+
  |concept scheme =             optional ([[property: skos:inScheme]])
  |concept collection=   member of another collection ([[property:vann:termGroup]])
+
  |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]])
 
  }}
 
  }}
 
</div>
 
</div>
[[: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:
 
* [[template: Logo]]
 
* [[template: Logo]]
 
* [[template: Generate concept formlinks from SMW import page]]
 
* [[template: Generate concept formlinks from SMW import page]]
 +
* [[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