Difference between revisions of "Template:Property"
(Display property link) |
(test) |
||
Line 6: | Line 6: | ||
|{{t|display}} = Yes/No according to whether this is a Display Property | |{{t|display}} = Yes/No according to whether this is a Display 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]]} |
− | |||
|{{t|rdfs}} = the RDF Export equivalent statement (Special properties only?) | |{{t|rdfs}} = the RDF Export equivalent statement (Special properties only?) | ||
|{{t|subPropertyOf}} = the parent property of this property (only applies to subproperties) | |{{t|subPropertyOf}} = the parent property of this property (only applies to subproperties) | ||
Line 23: | Line 22: | ||
| 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: [[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/>}} | ||
− | {{#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}}}]]'''}}<br/>{{#ifeq: {{{display|}}}|Yes|[[image:display property.png | + | {{#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}}}]]'''}}<br/>{{#ifeq: {{{display|}}}|Yes|[[image:display property.png{{!}}45px{{!}}This is a [[:Category:Display Properties{{!}}Display Property]][[Category:Display Properties]] <small>[[Template:{{PAGENAME}}{{!}}<nowiki>[LINK]</nowiki>]]</small>|}} |
''[[Description::{{{comment|}}}]]''<br/>''' | ''[[Description::{{{comment|}}}]]''<br/>''' | ||
| | | |
Revision as of 18:20, 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 RDF Export equivalent statement (Special properties only?)
|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
}}
Status: [[:Category:{{{status}}} Properties|{{{status}}}]] |
||
RDF logic:
|
0 Pages use the property "Property"
Return to property page
Use Expand/Collapse + Up/Dn symbols to sort