Difference between revisions of "Template:Property"
m |
(rdfs fix) |
||
Line 3: | Line 3: | ||
<poem> | <poem> | ||
{{{{t|Property}} | {{{{t|Property}} | ||
− | |{{t|ON}}= Yes/No according to whether this is an | + | |{{t|ON}}= Yes/No according to whether this is an {{ON}} Property |
|{{t|comment}} = a description of the subject resource | |{{t|comment}} = a description of the subject resource | ||
|{{t|status}} = {[[:category:Special Properties|special]], [[:category:Stable Properties|stable]], [[:category:Experimental Properties|experimental]], [[:category:Mooted Properties|mooted]]} <!-- | |{{t|status}} = {[[:category:Special Properties|special]], [[:category:Stable Properties|stable]], [[:category:Experimental Properties|experimental]], [[:category:Mooted Properties|mooted]]} <!-- | ||
Line 21: | Line 21: | ||
|[[image:SMW.png|90px|link=WikiSpooks:Semantic Mediawiki]] | |[[image:SMW.png|90px|link=WikiSpooks:Semantic Mediawiki]] | ||
| style="text-align:left;" | <small>{{RED|{{#ifeq: {{{ON|}}}|Yes|This '''Official Narrative Property''' describes the "official" story. For alternative ideas, use [[Property:{{Capitalize|{{#substring: {{PAGENAMEE}}|3|1}}}}{{#substring: {{PAGENAMEE}}|4}}]].|{{#ifexist: Property:ON_{{Uncapitalize|{{PAGENAMEE}}}}| To describe the {{on}} as distinct from the truth, use the alternative [[Property:ON {{Uncapitalize|{{PAGENAMEE}}}}]].}}}}}}</small><br/> | | style="text-align:left;" | <small>{{RED|{{#ifeq: {{{ON|}}}|Yes|This '''Official Narrative Property''' describes the "official" story. For alternative ideas, use [[Property:{{Capitalize|{{#substring: {{PAGENAMEE}}|3|1}}}}{{#substring: {{PAGENAMEE}}|4}}]].|{{#ifexist: Property:ON_{{Uncapitalize|{{PAGENAMEE}}}}| To describe the {{on}} as distinct from the truth, use the alternative [[Property:ON {{Uncapitalize|{{PAGENAMEE}}}}]].}}}}}}</small><br/> | ||
− | {{#if: {{{subPropertyOf|}}}|Sub-property of: [[Property:{{{subPropertyOf|}}}| ]] <br/> | + | {{#if: {{{subPropertyOf|}}}|Sub-property of: [[Property:{{{subPropertyOf|}}}| ]] <br/>}} |
− | {{#ifexpr:{{#ask: [[Subproperty of::{{PAGENAME}}]]|format=count}}=1|Has subproperty: {{#ask: [[Subproperty of::{{PAGENAMEE}}]]}} <br/>|{{#ifexpr:{{#ask: {{{expression|}}}| | + | {{#ifexpr: {{#ask: [[Subproperty of::{{PAGENAME}}]]|format=count}}=1|Has subproperty: {{#ask: [[Subproperty of::{{PAGENAMEE}}]]}} <br/>|{{#ifexpr:{{#ask: {{{expression|}}}|formatOfficial Narrative=count}}>0| |
Has subproperties: {{#ask: [[Subproperty of::{{PAGENAMEE}}]]}} <br/>}}}} | Has subproperties: {{#ask: [[Subproperty of::{{PAGENAMEE}}]]}} <br/>}}}} | ||
''{{{comment|}}}''<br/> | ''{{{comment|}}}''<br/> | ||
Line 28: | Line 28: | ||
| | | | ||
|- | |- | ||
− | |colspan="2"|RDF Logic: {{#if: {{{rdfs|}}}| (RDFs equivalent: [http://www.infowebml.ws/rdf-owl/{{ | + | |colspan="2"|RDF Logic: {{#if: {{{rdfs|}}}| (RDFs equivalent: [http://www.infowebml.ws/rdf-owl/{{{rdfs}}}.htm {{{rdfs}}}])|}} |
*{{BLUE|Subject: }} {{#if: {{{domain|}}}|{{{domain|}}}|{{RED|Error: Unspecified {{t|domain}} parameter!}} }} | *{{BLUE|Subject: }} {{#if: {{{domain|}}}|{{{domain|}}}|{{RED|Error: Unspecified {{t|domain}} parameter!}} }} | ||
*{{BLUE|Predicate: }} ''{{PAGENAME}}'' | *{{BLUE|Predicate: }} ''{{PAGENAME}}'' |
Revision as of 06:32, 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