Template:Datatype: Difference between revisions

From DBpedia Mappings
Jump to navigationJump to search
(<!-- no message -->)
Line 6: Line 6:
</tr>
</tr>
{{#if:{{{labels|}}}|{{{labels}}}|
{{#if:{{{labels|}}}|{{{labels}}}|
{{#if:{{{rdfs:label@en|}}}||
{{#if:{{{rdfs:label@en|}}}|<!-- no message -->|
<tr>
<tr>
  <td width="150px">rdfs:label@en</td>
  <td width="150px">rdfs:label@en</td>

Revision as of 13:04, 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        =