Template:Graphic search: Difference between revisions

no edit summary
(Created page with "<noinclude>See also Form:Graphic search.</noinclude><includeonly> {{#ask: Category:All PNG files {{#arraymap:{{{Subject|}}}|,|@@|Has subject::@@|\s}} |?Has title=Title |?Has subject=Subject |headers=plain |mainlabel=Image |format=broadtable |class=smwtable-clean sortable |sort=Has sort key |order=desc |default=<div class="error">No drawings found matching all these subjects: {{{Subject|}}}. Try making your search broader.</div> }} </includeonly>")
 
No edit summary
 
Line 2: Line 2:
{{#ask:
{{#ask:
  [[Category:All PNG files]]
  [[Category:All PNG files]]
{{#arraymap:{{{Type|}}}|,|@@|[[Has graphic type::@@]]|\s}}
{{#arraymap:{{{Subtype|}}}|,|@@|[[Has graphic subtype::@@]]|\s}}
  {{#arraymap:{{{Subject|}}}|,|@@|[[Has subject::@@]]|\s}}
  {{#arraymap:{{{Subject|}}}|,|@@|[[Has subject::@@]]|\s}}
  |?Has title=Title
  |?Has title=Title
|?Has graphic type=Type
|?Has graphic subtype=Subtype
  |?Has subject=Subject
  |?Has subject=Subject
  |headers=plain
  |headers=plain
Line 11: Line 15:
  |sort=Has sort key
  |sort=Has sort key
  |order=desc
  |order=desc
  |default=<div class="error">No drawings found matching all these subjects: {{{Subject|}}}. Try making your search broader.</div>
  |default=<div class="error">No drawings found matching all these conditions:
{{#if:{{{Type|}}}|* Type: {{{Type|}}}|}}
{{#if:{{{Subtype|}}}|* Subtype: {{{Subtype|}}}|}}
{{#if:{{{Subject|}}}|* Subjects: {{{Subject|}}}|}}
Try making your search broader.</div>
}}
}}
</includeonly>
</includeonly>