From 4763161bfb4384164ba7a4b8ff4f8f367f10159d Mon Sep 17 00:00:00 2001 From: Peter Desmet Date: Tue, 13 Jan 2015 12:15:14 +0100 Subject: [PATCH] Update template --- build/terms.tmpl | 176 ++++++++++++++++++++++++++++++----------------- 1 file changed, 113 insertions(+), 63 deletions(-) diff --git a/build/terms.tmpl b/build/terms.tmpl index e9c09a9..be913e5 100644 --- a/build/terms.tmpl +++ b/build/terms.tmpl @@ -1,31 +1,84 @@ - - Darwin Core Terms: A quick reference guide - - + + + + Darwin Core Terms + + + + + + + + + + + + + + + + + + + - + + -
+
+
+ -
-

Darwin Core Term Reference

-

This document is a quick reference for all recommended Darwin Core terms. For complete historical term information, including version changes and pre-standard terms, see [HISTORY]. For a comparative table of elements from pre-standard versions of Darwin Core to the current terms in the standard, see [VERSIONS].

-
+

Audience: This document is targeted toward those who need a reference (lists and definitions) to the essential information about the current recommended Darwin Core terms.

+

This quick guide provides a list of all current terms of the Darwin core. The terms are organized by categories (in bold) in the index. The categories correspond to Darwin Core terms that are classes (terms that have other terms to describe them). The terms that describe a given class (the class properties) appear in the list immediately below the name of the category in the index. The index provides links to the term descriptions in the table below the index.

-

-Audience: This document is targeted toward those who need a reference (lists and definitions) to the essential information about the current recommended Darwin Core terms.

+

Names that begin with dcterms: are terms managed by the Dublin Core Metadata Initiative [DCMI], which are reproduced here and which may include a description and comments adapted for the biodiversity community. The original definition of such terms can be found by following the link given in the Details section for the term.

-

This quick guide provides a list of all current terms of the Darwin core. The terms are organized by categories (in bold) in the index. The categories correspond to Darwin Core terms that are classes (terms that have other terms to describe them). The terms that describe a given class (the class properties) appear in the list immediately below the name of the category in the index. The index provides links to the term descriptions in the table below the index.

+

Terms under the Record-level Terms section apply to the whole record regardless of the record type. For example, a record for a camera trap bird sighting would fall into the Dublin Core dcterms:type category StillImage and at the same time into the Darwin Core basisOfRecord category MachineObservation - a particular type of Occurrence, so the value of dcterms:type term for the record would be "StillImage" and the value of the basisOfRecord term would be "MachineObservation" to show which kind of Occurrence record it is. All of the rest of the record-level terms would apply to the Occurrence record.

-

Names that begin with dcterms: are terms managed by the Dublin Core Metadata Initiative [DCMI], which are reproduced here and which may include a description and comments adapted for the biodiversity community. The original definition of such terms can be found by following the link given in the Details section for the term.

- -

Terms under the Record-level Terms section apply to the whole record regardless of the record type. For example, a record for a camera trap bird sighting would fall into the Dublin Core dcterms:type category StillImage and at the same time into the Darwin Core basisOfRecord category MachineObservation - a particular type of Occurrence, so the value of dcterms:type term for the record would be "StillImage" and the value of the basisOfRecord term would be "MachineObservation" to show which kind of Occurrence record it is. All of the rest of the record-level terms would apply to the Occurrence record.

- -

The terms found under the Auxiliary Terms section can only be meaningfully implemented in an application that supports relational structures. For example, none of the auxiliary terms will be found in the specification of the Simple Darwin Core [SIMPLEDWC], which is "flat" in structure.

- +

The terms found under the Auxiliary Terms section can only be meaningfully implemented in an application that supports relational structures. For example, none of the auxiliary terms will be found in the specification of the Simple Darwin Core [SIMPLEDWC], which is "flat" in structure.

#def showTerm($t, $isProperty) #if $t.uri is not None @@ -34,61 +87,58 @@ id="$t.name" #end if class="dl-horizontal class-dl"> -
Name
-
$t.name
- -
Label
-
$t.label
- -
Identifier
-
$t.uri
- - #if $isProperty -
Class
-
$t.class
+
Name
$t.name
+
Label
$t.label
+
Identifier
$t.uri
+ #if $isProperty +
Class
$t.class
#end if - -
Definition
-
$t.definition
- -
Comment
-
$t.comment
- -
Reference
-
http://terms.tdwg.org/wiki/$t.fullname
- -
History
-
$t.version
+
Definition
$t.definition
+
Comment
$t.comment
+
Reference
http://terms.tdwg.org/wiki/$t.fullname
+
History
$t.version
#end if #end def - #for $group in $groups
-
- #if $group.uri is not None -

$group.name

- #else -

$group.name

- #end if -
    - #for $term in $group.terms -
  • $term.name
  • - #end for -
-
+
+

$group.name

+
    + #for $term in $group.terms +
  • $term.name
  • + #end for +
+
$showTerm(group, False) - #for $t in $group.terms - $showTerm(t, True) - #end for - + #for $t in $group.terms + $showTerm(t, True) + #end for #end for +
+
+ + + + + + + \ No newline at end of file