Difference between revisions of "Template:GetObjectsWithValue"
Jump to navigation
Jump to search
Line 19: | Line 19: | ||
-->|{{#ask: {{#if: {{{category|}}}|[[Category:{{{category|}}}]]|}}<!-- | -->|{{#ask: {{#if: {{{category|}}}|[[Category:{{{category|}}}]]|}}<!-- | ||
-->[[{{{property|property}}}::{{{value|+}}}]]<!-- | -->[[{{{property|property}}}::{{{value|+}}}]]<!-- | ||
− | |||
-->|headers=hide<!-- | -->|headers=hide<!-- | ||
-->|link={{{link|}}}<!-- | -->|link={{{link|}}}<!-- | ||
− | |||
-->|limit=10000<!-- | -->|limit=10000<!-- | ||
-->}}<!-- | -->}}<!-- |
Revision as of 20:37, 19 January 2023
This template is used to return all the values of a given object's property.
NOTE: As any "printing" template, it doesn't store any values anywhere, but merely prints them on the page.
Parameters:
|property=
- the property to search for.|value=
- the value to search for; if not indicated, objects with any value for this property will be returned.|category=
- if given, only the objects of this category will be searched.|intro=
- initial text that precedes the output, if at least some results exist.|outro=
- text that is appended to the output, if at least some results exist.|default=
- if, for any reason, the query returns no results, this will be printed instead.|link=
- determines whether the values are to be printed as links to the respective pages (where available); possible values are none, subject, all. If not given all is the default.|pretty=
- if non empty, a pretty list is produced where the last two elements are chained with an and (or the local languages equivalent).