Difference between revisions of "Template:Property"

From Wikispooks
Jump to navigation Jump to search
(mark up property pages)
(fix?)
Line 23: Line 23:
 
| 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&nbsp;{{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&nbsp;{{Uncapitalize|{{PAGENAMEE}}}}]].}}}}}}</small><br/>
 
z
 
z
{{#if: {{{subPropertyOf|}}}|Sub-property of: [[Property:[[Subproperty of::{{{subPropertyOf}}}]]]] <br/>}}
+
{{#if: {{{subPropertyOf|}}}|Sub-property of: [[Subproperty of::{{{subPropertyOf}}}]] <br/>}}
 
x{{#ask: [[Subproperty of::{{PAGENAME}}]]}}v
 
x{{#ask: [[Subproperty of::{{PAGENAME}}]]}}v
 
{{#ifexpr: {{#ask: [[Subproperty of::{{PAGENAME}}]]|format=count}}=1|Has subproperty: {{#ask: [[Subproperty of::{{PAGENAMEE}}]]}} <br/>|{{#ifexpr:{{#ask: {{{expression|}}}|formatOfficial Narrative=count}}>0|
 
{{#ifexpr: {{#ask: [[Subproperty of::{{PAGENAME}}]]|format=count}}=1|Has subproperty: {{#ask: [[Subproperty of::{{PAGENAMEE}}]]}} <br/>|{{#ifexpr:{{#ask: {{{expression|}}}|formatOfficial Narrative=count}}>0|

Revision as of 07:21, 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
|display = Yes/No according to whether this is a Display 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
}}

SMW.png

z

xv Expression error: Unexpected < operator. yDescription:
Status: [[:Category:{{{status}}} Properties|{{{status}}}]]

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


0 Pages use the property "Property"

Return to property page
Use Expand/Collapse + Up/Dn symbols to sort