Difference between revisions of "Template:Property"

From Wikispooks
Jump to navigation Jump to search
(Disable "Import From")
m (Text replacement - "WikiSpooks" to "Wikispooks")
Line 19: Line 19:
 
|{{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
 
}}
 
}}
</poem></noinclude>{{WikiSpooks:Site Status}}{{SMWDefaultMarkup}}
+
</poem></noinclude>{{Wikispooks:Site Status}}{{SMWDefaultMarkup}}
 
{|style="width:100%; background:#{{#ifeq: {{{ON|}}}|Yes|ffaaaa|f6f6f6}}; margin-top:0.7em; border:1px solid #9a9a9a;"
 
{|style="width:100%; background:#{{#ifeq: {{{ON|}}}|Yes|ffaaaa|f6f6f6}}; margin-top:0.7em; border:1px solid #9a9a9a;"
|[[image:SMW.png|90px|link=WikiSpooks:Semantic Properties]]
+
|[[image:SMW.png|90px|link=Wikispooks:Semantic Properties]]
 
| 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/>
 
{{#if: {{{subPropertyOf|}}}|Sub-property of: [[Subproperty of::{{{subPropertyOf}}}]] <br/>}}{{#ifexpr: {{#ask: [[Subproperty of::{{PAGENAME}}]]|format=count}} >1 |Has subproperties: {{#ask: [[Subproperty of::{{PAGENAME}}]]}} <br/>}}
 
{{#if: {{{subPropertyOf|}}}|Sub-property of: [[Subproperty of::{{{subPropertyOf}}}]] <br/>}}{{#ifexpr: {{#ask: [[Subproperty of::{{PAGENAME}}]]|format=count}} >1 |Has subproperties: {{#ask: [[Subproperty of::{{PAGENAME}}]]}} <br/>}}

Revision as of 17:15, 14 October 2018

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
|description = a description of the subject resource (<500 characters of plaintext)
|status = {special, stable, experimental, mooted}
|rdfs = the RDF Export equivalent statement (Special properties only?)
|importFrom = to match this property to one from an imported vocabulary - Should still be assigned, but the parameter is currently disabled due to SMW incompatibility
|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!


0 Pages use the property "Property"

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