Template:Datatype

From Mediawiki1
Jump to navigationJump to search

The {{Datatype}} template can be used to define datatypes.

Usage

{{Datatype 
| labels    =
{{label|en|...}}
{{label|..|...}}
| comments  =
{{comment|en|...}}
{{comment|..|...}}
}}

Details

  • labels: should be defined to provide a human-readable version of a datatype's name. Use ISO language code 639-1 (e.g. {{label|en|...}}).
  • comments: should be defined to provide a human-readable description of a datatype. Use ISO language code 639-1 (e.g. {{comment|en|...}}).

For backwards compatibilty, the following format for labels and comments is also possible but deprecated:

{{Datatype
| rdfs:label@en          =
| rdfs:label@..          =
| rdfs:comment@en        =