Difference between revisions of "Template:Property"
(Tweak) |
(Add text linking to ON_ properties) |
||
Line 21: | Line 21: | ||
{|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 Mediawiki]] | |[[image:SMW.png|90px|link=WikiSpooks:Semantic Mediawiki]] | ||
− | | style="text-align:left;" |<small>{{RED|{{#ifeq: {{{ON|}}}|Yes|An [[Category:Official Narrative Properties]] [[:Category:Official Narrative Properties|Official Narrative Property]], this should be used only to describe the {{on}}. To describe alternative information, use [[Property:{{Capitalize|{{#substring: {{PAGENAMEE}}|3|1}}}}{{#substring: {{PAGENAMEE}}|4|}}]] | + | | style="text-align:left;" |<small>{{RED|{{#ifeq: {{{ON|}}}|Yes|An [[Category:Official Narrative Properties]] [[:Category:Official Narrative Properties|Official Narrative Property]], this should be used only to describe the {{on}}. To describe alternative information, use [[Property:{{Capitalize|{{#substring: {{PAGENAMEE}}|3|1}}}}{{#substring: {{PAGENAMEE}}|4|}}]].|To describe the {{on}} as distinct from the truth, use the alternative [[Property:ON_{{Uncapitalize|{{#substring: {{PAGENAMEE}}|0|1}}}}{{#substring: {{PAGENAMEE}}|1|1}}]].}}}}</small><br/> |
''{{{comment|}}}''<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}}}]]'''}} | ''{{{comment|}}}''<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}}}]]'''}} | ||
| | | |
Revision as of 16:52, 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
}}
To describe the official narrative as distinct from the truth, use the alternative [[Property:ON_{{#substring: Property|0|1}}{{#substring: Property|1|1}}]]. ' |
||
RDF Logic:
|
0 Pages use the property "Property"
Return to property page
Use Expand/Collapse + Up/Dn symbols to sort