Open main menu

Changes

Created page with "<noinclude> This template is used to return all the objects that with the given value of the given property in a vertical list (bullets are optional). '''NOTE:''' As any "pr..."
<noinclude>
This template is used to return all the objects that with the given value of the given property in a vertical list (bullets are optional).

'''NOTE:''' As any "printing" template, it doesn't store any values anywhere, but merely prints them on the page.

'''Parameters:'''
* <code><nowiki>|property=</nowiki></code> - the property to search for.
* <code><nowiki>|value=</nowiki></code> - the value to search for; if not indicated, objects with any value for this property will be returned.
* <code><nowiki>|category=</nowiki></code> - if given, only the objects of this category will be searched.
* <code><nowiki>|intro=</nowiki></code> - initial text that precedes the output, if at least some results exist.
* <code><nowiki>|outro=</nowiki></code> - text that is appended to the output, if at least some results exist.
* <code><nowiki>|default=</nowiki></code> - if, for any reason, the query returns no results, this will be printed instead.
* <code><nowiki>|link=</nowiki></code> - determines whether the objects 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.
* <code><nowiki>|bullets=</nowiki></code> - if ''yes'', bullets will appear before every value.
* <code><nowiki>|order=</nowiki></code> - ''ascending''/''asc'', ''descending''/''desc''/''reverse'', ''random''/''rand'' or a list of those if more than one property is used for sorting.

</noinclude><includeonly><!--
-->{{#if: {{{property|}}}<!--
-->|<!--
-->{{#arraydefine: objects<!--
-->|{{#ask: {{#if: {{{category|}}}|[[Category:{{{category|}}}]]|}}<!--
-->[[{{{property|}}}::{{{value|+}}}]]<!--
-->|headers=hide<!--
-->|link={{{link|}}}<!--
-->|limit=10000<!--
-->}}<!--
-->| , |unique<!--
-->}}<!--arraydefine
--><!--
-->{{#switch: {{#arraysize: objects}}<!--
-->|0={{{default|}}}<!--
-->|{{{intro|}}}<!--
-->{{#arraysort: objects|{{{order|none}}}}}<!--
-->{{#arrayprint: objects||@@@@|<nowiki/>
{{#ifeq: {{{bullets|}}}|yes|* |}}@@@@{{#ifeq: {{{bullets|}}}|yes||<br/>}}<!--
-->}}<!--
-->{{{outro|}}}<!--
-->}}<!-- switch
--><!--
-->}}<!-- if
--></includeonly>