Difference between revisions of "Template:Property"

From Wikispooks
Jump to navigation Jump to search
Line 28: Line 28:
 
*{{BLUE|Predicate: }} ''{{PAGENAME}}''
 
*{{BLUE|Predicate: }} ''{{PAGENAME}}''
 
*{{BLUE|Object:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}} {{#if: {{{range|}}}|{{{range|}}}|{{RED|Error: Unspecified {{t|range}} parameter!}} }} {{#if: {{{type|}}}|(type [[Has type::{{{type|}}}]])|{{#ifeq: {{{status|}}}|system||{{RED|Error: Unspecified {{t|type}} parameter!}} }} }}{{#if: {{{note|}}}|<br/>'''Note: ''' {{{note|}}}|}}
 
*{{BLUE|Object:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}} {{#if: {{{range|}}}|{{{range|}}}|{{RED|Error: Unspecified {{t|range}} parameter!}} }} {{#if: {{{type|}}}|(type [[Has type::{{{type|}}}]])|{{#ifeq: {{{status|}}}|system||{{RED|Error: Unspecified {{t|type}} parameter!}} }} }}{{#if: {{{note|}}}|<br/>'''Note: ''' {{{note|}}}|}}
{{#ifeq: {{{ON|}}}|Yes|This is an [[Category:Official Narrative Properties]][[:Category:Official Narrative Property]], used to described the {{on}}. Where you are describing an alternative truth, you should use [[Property:{{#substring:{{{PAGENAME}}}|3|}}]] instead.|}}
+
{{#ifeq: {{{ON|}}}|Yes|This is an [[Category:Official Narrative Properties]][[:Category:Official Narrative Properties|Official Narrative Propertiy]], used to described the {{on}}. To describe alternative information, use [[Property:{{#substring: {{{PAGENAME}}}|3|}}]] instead.|}}
 
|}
 
|}
 
{{PropertyUseTable}}[[Has status::{{{status}}}| ]]
 
{{PropertyUseTable}}[[Has status::{{{status}}}| ]]
 
[[Category:{{{status|}}} Properties]]
 
[[Category:{{{status|}}} Properties]]

Revision as of 16:40, 26 December 2013

This template provides a standard format for the descriptions of property pages. It takes the following arguments:

{{Property
|ON= Yes/No according to
|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!


0 Pages use the property "Property"

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