User:Patrick/template
From semanticweb.org
Contents |
[edit] Annotation in a template
Support for using annotations in templates has to be enabled by the site administrator.
When an annotation tag is added to a template, then on a page that already included the template the factbox is updated, but queries do not yet take the new annotation into account. For that, for the page that includes the template, edit and save has to be applied (purge does not work). After that, also on the page with the query edit and save has to be applied.
[edit] A query in a template
A query in a template is possible, and it can contain {{PAGENAME}}, see e.g. Template:Ask. However, a query with a template parameter only works with substitution, and cannot be used in computations, see Attribute:Weekday_number.
For example, {{ask|San_Diego}} gives only
while {{subst:ask|San_Diego}} gives, at the time of writing:
warning.pngThe part "has part" of the query was not understood. Results might not be as expected. The part "::" of the query was not understood. Results might not be as expected. The part "San_Diego" of the query was not understood. Results might not be as expected. warning.pngThe part "subevent of" of the query was not understood. Results might not be as expected. The part "::" of the query was not understood. Results might not be as expected. The part "San_Diego" of the query was not understood. Results might not be as expected. warning.pngThe part "extends" of the query was not understood. Results might not be as expected. The part "::" of the query was not understood. Results might not be as expected. The part "San_Diego" of the query was not understood. Results might not be as expected. warning.pngThe part "operational on" of the query was not understood. Results might not be as expected. The part "::" of the query was not understood. Results might not be as expected. The part "San_Diego" of the query was not understood. Results might not be as expected. warning.pngThe part "located in" of the query was not understood. Results might not be as expected. The part "::" of the query was not understood. Results might not be as expected. The part "San_Diego" of the query was not understood. Results might not be as expected. warning.pngThe part "location of" of the query was not understood. Results might not be as expected. The part "::" of the query was not understood. Results might not be as expected. The part "San_Diego" of the query was not understood. Results might not be as expected. warning.pngThe date "*" was not understood (support for dates is still experimental). warning.pngThe part "in street" of the query was not understood. Results might not be as expected. The part "::" of the query was not understood. Results might not be as expected. The part "San_Diego" of the query was not understood. Results might not be as expected. warning.pngThe part "capital of" of the query was not understood. Results might not be as expected. The part "::" of the query was not understood. Results might not be as expected. The part "San_Diego" of the query was not understood. Results might not be as expected. area Sanbegwarning.pngThe part "has capital" of the query was not understood. Results might not be as expected. The part "::" of the query was not understood. Results might not be as expected. The part "San_Diego" of the query was not understood. Results might not be as expected. warning.pngThe part "borders" of the query was not understood. Results might not be as expected. The part "::" of the query was not understood. Results might not be as expected. The part "San_Diego" of the query was not understood. Results might not be as expected. warning.pngThe part "member of" of the query was not understood. Results might not be as expected. The part "::" of the query was not understood. Results might not be as expected. The part "San_Diego" of the query was not understood. Results might not be as expected. warning.pngThe part "has member" of the query was not understood. Results might not be as expected. The part "::" of the query was not understood. Results might not be as expected. The part "San_Diego" of the query was not understood. Results might not be as expected. warning.pngThe part "is a" of the query was not understood. Results might not be as expected. The part "::" of the query was not understood. Results might not be as expected. The part "San_Diego" of the query was not understood. Results might not be as expected. warning.pngThe part "instance of" of the query was not understood. Results might not be as expected. The part "::" of the query was not understood. Results might not be as expected. The part "San_Diego" of the query was not understood. Results might not be as expected. warning.pngThe part "subclass of" of the query was not understood. Results might not be as expected. The part "::" of the query was not understood. Results might not be as expected. The part "San_Diego" of the query was not understood. Results might not be as expected. warning.pngThe part "is in the category" of the query was not understood. Results might not be as expected. The part "::" of the query was not understood. Results might not be as expected. The part "San_Diego" of the query was not understood. Results might not be as expected. warning.pngThe part "license" of the query was not understood. Results might not be as expected. The part "::" of the query was not understood. Results might not be as expected. The part "San_Diego" of the query was not understood. Results might not be as expected. warning.pngThe part "has category" of the query was not understood. Results might not be as expected. The part "::" of the query was not understood. Results might not be as expected. The part "San_Diego" of the query was not understood. Results might not be as expected. warning.pngThe part "category about" of the query was not understood. Results might not be as expected. The part "::" of the query was not understood. Results might not be as expected. The part "San_Diego" of the query was not understood. Results might not be as expected. warning.pngThe part "uses currency" of the query was not understood. Results might not be as expected. The part "::" of the query was not understood. Results might not be as expected. The part "San_Diego" of the query was not understood. Results might not be as expected. warning.pngThe part "uses currency" of the query was not understood. Results might not be as expected. The part "::" of the query was not understood. Results might not be as expected. The part "instance of" of the query was not understood. Results might not be as expected. The part "::" of the query was not understood. Results might not be as expected. The part "San_Diego" of the query was not understood. Results might not be as expected. Some subquery has no valid condition. warning.pngThe part "presented as" of the query was not understood. Results might not be as expected. The part "::" of the query was not understood. Results might not be as expected. The part "San_Diego" of the query was not understood. Results might not be as expected. warning.pngThe part "has stop" of the query was not understood. Results might not be as expected. The part "::" of the query was not understood. Results might not be as expected. The part "San_Diego" of the query was not understood. Results might not be as expected. warning.pngThe following query conditions could not be considered due to the wikis restrictions in query size or depth: [[Friday closing time::*]], [[Saturday closing time::*]], [[Sunday closing time::*]]. The part "near stop" of the query was not understood. Results might not be as expected. The part "::" of the query was not understood. Results might not be as expected. The part "San_Diego" of the query was not understood. Results might not be as expected. The part ">" of the query was not understood. Results might not be as expected. warning.pngThe part "stop of" of the query was not understood. Results might not be as expected. The part "::" of the query was not understood. Results might not be as expected. The part "has stop" of the query was not understood. Results might not be as expected. The part "::" of the query was not understood. Results might not be as expected. The part "San_Diego" of the query was not understood. Results might not be as expected. Some subquery has no valid condition. warning.pngThe following query conditions could not be considered due to the wikis restrictions in query size or depth: [[Friday closing time convenience store::*]], [[Saturday closing time convenience store::*]], [[Sunday closing time convenience store::*]]. The part "stop of" of the query was not understood. Results might not be as expected. The part "::" of the query was not understood. Results might not be as expected. The part "has stop" of the query was not understood. Results might not be as expected. The part "::" of the query was not understood. Results might not be as expected. The part "San_Diego" of the query was not understood. Results might not be as expected. Some subquery has no valid condition. warning.pngThe following query conditions could not be considered due to the wikis restrictions in query size or depth: [[Friday closing time supermarket::*]], [[Saturday closing time supermarket::*]], [[Sunday closing time supermarket::*]]. The part "stop of" of the query was not understood. Results might not be as expected. The part "::" of the query was not understood. Results might not be as expected. The part "has stop" of the query was not understood. Results might not be as expected. The part "::" of the query was not understood. Results might not be as expected. The part "San_Diego" of the query was not understood. Results might not be as expected. Some subquery has no valid condition. warning.pngThe following query conditions could not be considered due to the wikis restrictions in query size or depth: [[Sunday closing time discounter::*]]. The part "has stop" of the query was not understood. Results might not be as expected. The part "::" of the query was not understood. Results might not be as expected. The part "San_Diego" of the query was not understood. Results might not be as expected. Some subquery has no valid condition. The value of property "Stop of" was not understood. warning.pngThe part "has night stop" of the query was not understood. Results might not be as expected. The part "::" of the query was not understood. Results might not be as expected. The part "San_Diego" of the query was not understood. Results might not be as expected. warning.pngThe part "stop of" of the query was not understood. Results might not be as expected. The part "::" of the query was not understood. Results might not be as expected. The part "San_Diego" of the query was not understood. Results might not be as expected. warning.pngThe following query conditions could not be considered due to the wikis restrictions in query size or depth: [[Friday closing time convenience store::*]], [[Saturday closing time convenience store::*]], [[Sunday closing time convenience store::*]]. The part "stop of" of the query was not understood. Results might not be as expected. The part "::" of the query was not understood. Results might not be as expected. The part "San_Diego" of the query was not understood. Results might not be as expected. warning.pngThe following query conditions could not be considered due to the wikis restrictions in query size or depth: [[Friday closing time supermarket::*]], [[Saturday closing time supermarket::*]], [[Sunday closing time supermarket::*]]. The part "stop of" of the query was not understood. Results might not be as expected. The part "::" of the query was not understood. Results might not be as expected. The part "San_Diego" of the query was not understood. Results might not be as expected. warning.pngThe following query conditions could not be considered due to the wikis restrictions in query size or depth: [[Saturday closing time discounter::+]], [[Sunday closing time discounter::*]]. "*" is not a number. warning.pngThe part "has stop" of the query was not understood. Results might not be as expected. The part "::" of the query was not understood. Results might not be as expected. The part "stop of" of the query was not understood. Results might not be as expected. The part "::" of the query was not understood. Results might not be as expected. The part "San_Diego" of the query was not understood. Results might not be as expected. Some subquery has no valid condition. warning.pngThe following query conditions could not be considered due to the wikis restrictions in query size or depth: [[Saturday closing time::*]], [[Sunday closing time::*]]. The part "near stop" of the query was not understood. Results might not be as expected. The part "::" of the query was not understood. Results might not be as expected. The part "stop of" of the query was not understood. Results might not be as expected. The part "::" of the query was not understood. Results might not be as expected. The part "San_Diego" of the query was not understood. Results might not be as expected. Some subquery has no valid condition. warning.pngThe part "night stop of" of the query was not understood. Results might not be as expected. The part "::" of the query was not understood. Results might not be as expected. The part "San_Diego" of the query was not understood. Results might not be as expected. warning.pngThe part "stop near" of the query was not understood. Results might not be as expected. The part "::" of the query was not understood. Results might not be as expected. The part "San_Diego" of the query was not understood. Results might not be as expected. warning.pngThe following query conditions could not be considered due to the wikis restrictions in query size or depth: [[Friday closing time convenience store::*]], [[Saturday closing time convenience store::*]], [[Sunday closing time convenience store::*]]. The part "stop near" of the query was not understood. Results might not be as expected. The part "::" of the query was not understood. Results might not be as expected. The part "San_Diego" of the query was not understood. Results might not be as expected. warning.pngThe following query conditions could not be considered due to the wikis restrictions in query size or depth: [[Friday closing time supermarket::*]], [[Saturday closing time supermarket::*]], [[Sunday closing time supermarket::*]]. The part "stop near" of the query was not understood. Results might not be as expected. The part "::" of the query was not understood. Results might not be as expected. The part "San_Diego" of the query was not understood. Results might not be as expected. warning.pngThe following query conditions could not be considered due to the wikis restrictions in query size or depth: [[Saturday closing time discounter::+]], [[Sunday closing time discounter::*]]. "*" is not a number. warning.pngThe following query conditions could not be considered due to the wikis restrictions in query size or depth: [[*]], [[Saturday closing time::*]], [[Sunday closing time::*]]. The part "stop near" of the query was not understood. Results might not be as expected. The part "::" of the query was not understood. Results might not be as expected. The part "San_Diego" of the query was not understood. Results might not be as expected. Some subquery has no valid condition. The value of property "Near stop" was not understood. warning.pngThe part "has stop" of the query was not understood. Results might not be as expected. The part "::" of the query was not understood. Results might not be as expected. The part "stop near" of the query was not understood. Results might not be as expected. The part "::" of the query was not understood. Results might not be as expected. The part "San_Diego" of the query was not understood. Results might not be as expected. Some subquery has no valid condition. warning.pngThe part "part of" of the query was not understood. Results might not be as expected. The part "::" of the query was not understood. Results might not be as expected. The part "San_Diego" of the query was not understood. Results might not be as expected. warning.pngThe following query conditions could not be considered due to the wikis restrictions in query size or depth: [[*]], [[Thursday closing time::*]], [[Friday closing time::*]], [[Saturday closing time::*]], [[Sunday closing time::*]]. warning.pngThe part "stop near" of the query was not understood. Results might not be as expected. The part "::" of the query was not understood. Results might not be as expected. The part "part of" of the query was not understood. Results might not be as expected. The part "::" of the query was not understood. Results might not be as expected. The part "San_Diego" of the query was not understood. Results might not be as expected. Some subquery has no valid condition. warning.pngThe following query conditions could not be considered due to the wikis restrictions in query size or depth: [[Friday closing time convenience store::*]], [[Saturday closing time convenience store::*]], [[Sunday closing time convenience store::*]]. The part "stop near" of the query was not understood. Results might not be as expected. The part "::" of the query was not understood. Results might not be as expected. The part "part of" of the query was not understood. Results might not be as expected. The part "::" of the query was not understood. Results might not be as expected. The part "San_Diego" of the query was not understood. Results might not be as expected. Some subquery has no valid condition. warning.pngThe following query conditions could not be considered due to the wikis restrictions in query size or depth: [[Friday closing time supermarket::*]], [[Saturday closing time supermarket::*]], [[Sunday closing time supermarket::*]]. The part "stop near" of the query was not understood. Results might not be as expected. The part "::" of the query was not understood. Results might not be as expected. The part "part of" of the query was not understood. Results might not be as expected. The part "::" of the query was not understood. Results might not be as expected. The part "San_Diego" of the query was not understood. Results might not be as expected. Some subquery has no valid condition. warning.pngThe following query conditions could not be considered due to the wikis restrictions in query size or depth: [[Sunday closing time discounter::*]]. The part "part of" of the query was not understood. Results might not be as expected. The part "::" of the query was not understood. Results might not be as expected. The part "San_Diego" of the query was not understood. Results might not be as expected. Some subquery has no valid condition. The value of property "Stop near" was not understood. search: [1] [2]
[edit] See also
- http://wiki.ontoworld.org/wiki/Help:Semantic_templates
- http://www.mail-archive.com/semediawiki-devel@lists.sourceforge.net/msg00002.html
All categories | properties | types
Advice on Annotation | Ask | Attribute name | Browsing and searching | Category | Chains of relations and attributes | Custom units | Namespace | Relation name | Selection | SearchTriple | Sorting | Templates in SMW
