Difference between revisions of "Template:Property"
Jump to navigation
Jump to search
(An effort to pin down the RDF) |
(prettify) |
||
Line 7: | Line 7: | ||
|{{t|domain}} = description of the domain of the property (which subjects it applies to) | |{{t|domain}} = description of the domain of the property (which subjects it applies to) | ||
|{{t|range}} = description of the range of the property (which values it can take) | |{{t|range}} = description of the range of the property (which values it can take) | ||
− | |{{t|type}} = the property type | + | |{{t|type}} = the property type <!-- |
− | <!--|member = a member of the subject resource | + | |{{t|member}} = a member of the subject resource |
|{{t|seeAlso}} = further information about the subject resource | |{{t|seeAlso}} = further information about the subject resource | ||
|{{t|isDefinedBy}} = the definition of the subject resource--> | |{{t|isDefinedBy}} = the definition of the subject resource--> | ||
Line 19: | Line 19: | ||
|- | |- | ||
|RDF Logic: | |RDF Logic: | ||
− | *Subject: {{#if: {{{domain|}}}|{{{domain|}}}|{{RED|Error: Unspecified {{t|domain}} parameter!}} }} | + | *{{BLUE|Subject: }} {{#if: {{{domain|}}}|{{{domain|}}}|{{RED|Error: Unspecified {{t|domain}} parameter!}} }} |
− | *Predicate: {{PAGENAME}} | + | *{{BLUE|Predicate: }} {{PAGENAME}} |
− | *Object: {{#if: {{{range|}}}|{{{range|}}}|{{RED|Error: Unspecified {{t|range}} parameter!}} }} ({{#if: {{{type|}}}|(type [[Has type::{{{type|}}}]])|{{RED|Error: Unspecified {{t|type}} parameter!}} }}) | + | *{{BLUE|Object: }} {{#if: {{{range|}}}|{{{range|}}}|{{RED|Error: Unspecified {{t|range}} parameter!}} }} ({{#if: {{{type|}}}|(type [[Has type::{{{type|}}}]])|{{RED|Error: Unspecified {{t|type}} parameter!}} }}) |
|} | |} | ||
[[Category:WikiSpooks Templates]] | [[Category:WikiSpooks Templates]] |
Revision as of 18:44, 16 December 2013
This template provides a standard format for the descriptions of property pages. It takes the following arguments:
|comment = a description of the subject resource
|subPropertyOf = the parent property of this property (only applies to subproperties)
|domain = description of the domain of the property (which subjects it applies to)
|range = description of the range of the property (which values it can take)
|type = the property type
' | |
RDF Logic:
|