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

From TDWG Terms Wiki
Jump to: navigation, search
m (Category: concept scheme → Category:skos:Collection)
m (remove template: Bugfix SMW hased URI, SWM removes ending # in URIs anyway. No way to solve it properly in RDF)
 
(21 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.
  
 
=== Usage ===
 
=== Usage ===
This is the "concept collection" template. It should be called in the following format:
+
It should be called in the following format:
<pre>
+
<div class="no-pre-border">
{{concept collection
+
<nowiki>{{</nowiki>Concept collection
|title=
+
|description=                 → optional ([[property:dc:description]])
|description=
+
|notes=                       → optional ([[property:skos:note]])
|notes=
+
|concept collection=         → optional member of another collection ([[property:vann:termGroup]])
|concept collection=
+
|concept scheme =            → optional ([[property: skos:inScheme]])
}}
+
|collection uri =             → optional canonical URI where collection is used as a class (esp. value lists)
</pre>
+
|preferred namespace prefix=  → optional ([[property: vann:preferredNamespacePrefix]])
[[:Category: skos:Collection]] will be set by this template automatically.
+
|preferred namespace uri=    → optional ([[property: vann:preferredNamespaceUri]])
 +
}}
 +
</div>
 +
=== Technical documentation ===
 +
This template is used by [[Form:Concept collection]]. Dependencies:
 +
* [[template: Logo]]
 +
* [[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]]
 +
* [[:Category: Helper tool for ontologies]]
 
<includeonly>
 
<includeonly>
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category: Templates used 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