Difference between revisions of "Template:Concept translation/doc"
From TDWG Terms Wiki
m (+forms) |
m (sections) |
||
Line 1: | Line 1: | ||
{{Documentation/subpage}} | {{Documentation/subpage}} | ||
− | + | == 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 | <nowiki>{{</nowiki>concept translation | ||
Line 13: | Line 13: | ||
<nowiki>}}</nowiki> | <nowiki>}}</nowiki> | ||
− | + | == Technical documentation == | |
Used subpages/subtemplates: | Used subpages/subtemplates: | ||
{{FULLPAGENAME}} | {{FULLPAGENAME}} | ||
Line 31: | Line 31: | ||
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> | 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 == | |
* [[template: concept]] | * [[template: concept]] | ||
<includeonly> | <includeonly> |
Revision as of 08:28, 17 October 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 |alternative labels= (optional) → property: skos:altLabel |definition = translated definition (mandatory) → property: skos:definition |example = optional a translated example → property: skos:example |notes = optional → property: skos:note |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 (add translation here) ├─ Template: Concept translation/example translated label of example (add translation here) ├─ Template: Concept translation/notes translated label of notes (add translation here) ├─ Template: Concept translation/also translated label of also (add translation here) └─ Template: Concept translation/label translation of label itself (add translation here)
Add supported translation for languages in above listed subtemplates …/definition, …/example, …/notes, …/also and …/label. Translated languages so far are:
- de (Deutsch, German)
- en (English, English)
- es (Español, Spanish)
- fr (Français, French)
Forms
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"