Template:Datatype: Difference between revisions
From Mediawiki1
Jump to navigationJump to search
(labels and comments) |
m (→Usage) |
||
Line 89: | Line 89: | ||
The second argument of a label or comment is the language code, for example ''en'', ''ko'', ''it'', and so on. | The second argument of a label or comment is the language code, for example ''en'', ''ko'', ''it'', and so on. | ||
For backwards compatibilty, the following format is also possible but '''deprecated''' | For backwards compatibilty, the following format for labels and comments is also possible but '''deprecated''': | ||
<pre> | <pre> |
Revision as of 11:16, 12 May 2012
The {{Datatype}} template can be used to define datatypes.
Usage
{{Datatype | labels = {{label|en|...}} {{label|..|...}} | comments = {{comment|en|...}} {{comment|..|...}} }}
The second argument of a label or comment is the language code, for example en, ko, it, and so on.
For backwards compatibilty, the following format for labels and comments is also possible but deprecated:
{{Datatype | rdfs:label@en = | rdfs:label@.. = | rdfs:comment@en =