Difference between revisions of "Template:Concept translation/doc"
From TDWG Terms Wiki
m (link to template: concept) |
m (+docu property mapping) |
||
Line 3: | Line 3: | ||
=== Usage === | === Usage === | ||
This is the "Concept translation" template and holds the translation of a concept per language (see [[template: concept]]). It has the following parameter: | This is the "Concept translation" template and holds the translation of a concept per language (see [[template: concept]]). It has the following parameter: | ||
− | < | + | <nowiki>{{</nowiki>concept translation |
− | {{ | + | |language = ISO 639 code, eg: fr or de etc. → [[property: xml:lang]] |
− | |language = ISO 639 code, eg: fr or de etc. | + | |label = translated label (mandatory) → [[property: skos:prefLabel]] |
− | |label = translated label (mandatory) | + | |definition = translated definition (mandatory) → [[property: skos:definition]] |
− | |definition = translated definition (mandatory) | + | |example = optional a translated example → [[property: skos:example]] |
− | |example = optional a translated example | + | |is released = is it released? (yes/no) |
− | |is released = is it released? (yes/no) | + | <nowiki>}}</nowiki> |
− | }} | + | |
− | </ | + | |
=== Technical documentation === | === Technical documentation === | ||
Used subtemplates: | Used subtemplates: |
Revision as of 12:31, 27 August 2012
Usage
This is the "Concept translation" template and holds the translation of a concept per language (see template: concept). It has the following parameter:
{{concept translation |language = ISO 639 code, eg: fr or de etc. → property: xml:lang |label = translated label (mandatory) → property: skos:prefLabel |definition = translated definition (mandatory) → property: skos:definition |example = optional a translated example → property: skos:example |is released = is it released? (yes/no) }}
Technical documentation
Used subtemplates:
Template:Concept translation/doc ├─ template: concept translation/doc documentation ├─ template: concept translation/definition translated label of definition ├─ template: concept translation/example translated label of example └─ template: concept translation/label translation of label itself