User:Cavila

Quering other pages with the same value
If on a certain page, say page A, you need to create a list of other pages with the same property value(s), it would make good sense to exclude page A from the query.

In the two solutions below it is assumed that you are using templates to handle properties on pages of a certain type.

1. Comparator !
Wildcards and comparators in inline queries can be used only on properties of type 'String', not on page names. For this reason, the following will not produce the intended results:

Instead, create a new property of type 'String' (Property B in our example) and make sure that it gets its values from the page name. For instance, include the following silent annotation in your template:

In this way, you will be able to use the ! parameter for negation:

2. Template
You can also choose format=template and create a new template in which you exclude the results if the parameter for the page matches PAGENAME. For instance, assuming that the first value in the template corresponds to the name of the page you are using it for: