Difference between revisions of "Template:Concept translation/doc"
From TDWG Terms Wiki
m (docu) |
m (→TODO) |
||
Line 26: | Line 26: | ||
==== TODO ==== | ==== TODO ==== | ||
− | Check if it is appropriate to generate hash IDs by #subobject {{abbr|SMW}}-parser-function like: ''skos:prefLabel@en''. This shows up in RDF as <code><nowiki>rdf:resource="http://…/Special:URIResolver/wikiPageName#skos:prefLabel@en"</nowiki></code> | + | Check if it is appropriate to generate hash IDs by #subobject {{abbr|SMW}}-parser-function like: ''#skos:prefLabel@en''. This shows up then in RDF as <code><nowiki>rdf:resource="http://…/Special:URIResolver/wikiPageName#skos:prefLabel@en"</nowiki></code> |
+ | |||
=== See also === | === See also === | ||
* [[template: concept]] | * [[template: concept]] |
Revision as of 21:06, 7 September 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: dc:language |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 subpages/subtemplates:
Template:Concept translation/doc ├─ template: concept translation/doc documentation ├─ template: concept translation/definition translated label of definition (additional translations here) ├─ template: concept translation/example translated label of example (additional translations here) ├─ template: concept translation/also translated label of also (additional translations here) └─ template: concept translation/label translation of label itself (additional translations here)
Add supported languages in above listed subtemplates …/definition, …/example and …/label. Supported languages so far are:
- de (Deutsch, German)
- en (English, English)
- es (Español, Spanish)
- fr (Français, French)
TODO
Check if it is appropriate to generate hash IDs by #subobject SMW-parser-function like: #skos:prefLabel@en. This shows up then in RDF as rdf:resource="http://…/Special:URIResolver/wikiPageName#skos:prefLabel@en"