Difference between revisions of "Template:Property"

From Wikispooks
Jump to navigation Jump to search
m (Fix link)
Line 20: Line 20:
 
{|style="width:100%; background:#f6f6f6; margin-top:0.7em; border:1px solid #9a9a9a;"
 
{|style="width:100%; background:#f6f6f6; margin-top:0.7em; border:1px solid #9a9a9a;"
 
|[[image:SMW.png|90px|link=WikiSpooks:Semantic Mediawiki]]
 
|[[image:SMW.png|90px|link=WikiSpooks:Semantic Mediawiki]]
| style="text-align:left;" |''{{{comment|}}}''<br/>'''{{#ifeq: {{{status|}}}|special|This is a [[:Category:Special Properties|special property]] [https://semantic-mediawiki.org/wiki/Help:Special_property_{{PAGENAME}} Link]|Status: [[:Category:{{{status}}} Properties|{{{status}}}]]}}'''
+
| style="text-align:left;" |''{{{comment|}}}''<br/>'''{{#ifeq: {{{status|}}}|special|This is a [[:Category:Special Properties|special property]] [https://semantic-mediawiki.org/wiki/Help:Special_property_{{PAGENAMEE}} Link]|Status: [[:Category:{{{status}}} Properties|{{{status}}}]]}}'''
 
| &nbsp;
 
| &nbsp;
 
|-
 
|-

Revision as of 19:55, 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 = {special, 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
|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!