Difference between revisions of "Template:Property"
(super/sub properties) |
|||
Line 23: | Line 23: | ||
{{#if: {{{subPropertyOf|}}}|Sub-property of: {{{subPropertyOf|}}}<br/>|}} | {{#if: {{{subPropertyOf|}}}|Sub-property of: {{{subPropertyOf|}}}<br/>|}} | ||
{{#ifexpr:{{#ask: [[Subproperty of::{{PAGENAME}}]]|format=count}}=1|Has subproperty: {{#ask: [[Subproperty of::{{PAGENAME}}]]}}<br/>|{{#ifexpr:{{#ask: {{{expression|}}}|format=count}}>0| | {{#ifexpr:{{#ask: [[Subproperty of::{{PAGENAME}}]]|format=count}}=1|Has subproperty: {{#ask: [[Subproperty of::{{PAGENAME}}]]}}<br/>|{{#ifexpr:{{#ask: {{{expression|}}}|format=count}}>0| | ||
− | Has subproperties: {{#ask: [[Subproperty of::{{PAGENAME}}]]|format=count}}<br/>}}} | + | Has subproperties: {{#ask: [[Subproperty of::{{PAGENAME}}]]|format=count}}<br/>}}}} |
''{{{comment|}}}''<br/> | ''{{{comment|}}}''<br/> | ||
'''{{#ifeq: {{{status|}}}|special|This is a [[:Category:Special Properties|special property]]''' [https://semantic-mediawiki.org/wiki/Help:Special_property_{{PAGENAMEE}} <nowiki>[Link]</nowiki>]|Status: [[:Category:{{{status}}} Properties|{{{status}}}]]'''}} | '''{{#ifeq: {{{status|}}}|special|This is a [[:Category:Special Properties|special property]]''' [https://semantic-mediawiki.org/wiki/Help:Special_property_{{PAGENAMEE}} <nowiki>[Link]</nowiki>]|Status: [[:Category:{{{status}}} Properties|{{{status}}}]]'''}} |
Revision as of 06:15, 3 January 2014
This template provides a standard format for the descriptions of property pages.
It takes the following arguments:
{{Property
|ON= Yes/No according to whether this is an Official Narrative Property
|comment = a description of the subject resource
|status = {special, stable, experimental, mooted}
|rdfs = the RDFs equivalent statement
|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
}}
0 Pages use the property "Property"
Return to property page
Use Expand/Collapse + Up/Dn symbols to sort