Difference between revisions of "Template:Property"

From Wikispooks
Jump to navigation Jump to search
(fix)
m (add link)
Line 10: Line 10:
 
|{{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 <!--
|{{t|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}}      = other similarly related properties
|{{t|isDefinedBy}}  = the definition of the subject resource-->
+
<!--|{{t|isDefinedBy}}  = the definition of the subject resource-->
 
|{{t|note}}          = further note, e.g. for concerns about/problems with this property
 
|{{t|note}}          = further note, e.g. for concerns about/problems with this property
 
}}
 
}}
Line 21: Line 21:
 
|[[image:SMW.png|90px|link=WikiSpooks:Semantic Mediawiki]]
 
|[[image:SMW.png|90px|link=WikiSpooks:Semantic Mediawiki]]
 
| style="text-align:left;" |''{{{comment|}}}''<br/>
 
| style="text-align:left;" |''{{{comment|}}}''<br/>
'''{{#ifeq: {{{status|}}}|system|This is a system property|Status: [[:Category:{{{status}}} Properties|{{{status}}}]]}}'''
+
'''{{#ifeq: {{{status|}}}|system|This is a [[:Category:System Properties|system property]]|Status: [[:Category:{{{status}}} Properties|{{{status}}}]]}}'''
 
| &nbsp;
 
| &nbsp;
 
|-
 
|-

Revision as of 18:27, 19 December 2013

This template provides a standard format for the descriptions of property pages. It takes the following arguments:

{{Property
|comment = a description of the subject resource
|status = {system, stable, experimental, mooted}
|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
|seeAlso = other similarly related properties

|note = further note, e.g. for concerns about/problems with this property
}}


SMW.png '

Status: [[:Category:{{{status}}} Properties|{{{status}}}]]

 
RDF Logic:
  • Subject:      Error: Unspecified domain parameter!
  • Predicate:  Property
  • Object:        Error: Unspecified range parameter! Error: Unspecified type parameter!