Form:Show activity: Difference between revisions

From OpenCommons
Jump to navigation Jump to search
No edit summary
No edit summary
 
(21 intermediate revisions by the same user not shown)
Line 1: Line 1:
  <noinclude>
  <noinclude>
Use this with [[Special:RunQuery/Show activity]]
{{#queryformlink:form=Show activity}}
 
</noinclude><includeonly>
</noinclude><includeonly>
{|style="width: 1200px;"
|{{#ask:
[[Category:Project]]
|sort=In municipality
|order=random
|limit=1
|?=#
|?Has image#=2
|format=plainlist
|named args=yes
|template=Single image alone
|searchlabel=
}}
|{{#ask:
[[Category:Project]]
|sort=In municipality
|order=random
|limit=1
|?=#
|?Has image#=2
|format=plainlist
|named args=yes
|template=Single image alone
|searchlabel=
}}
|-
|{{#ask:
[[Category:Project]]
|sort=In municipality
|order=random
|limit=1
|?=#
|?Has image#=2
|format=plainlist
|named args=yes
|template=Single image alone
|searchlabel=
}}
|{{#ask:
[[Category:Project]]
|sort=In municipality
|order=random
|limit=1
|?=#
|?Has image#=2
|format=plainlist
|named args=yes
|template=Single image alone
|searchlabel=
}}
|}
</br>
</br>
{{{for template|Show activity}}}
{{{for template|Show activity}}}
{| class="formtable"
{| class="formtable"
! Enter the Category {{#info:This will filter on Category}}:
! Enter the Category:
| {{{field|category|input type=text with autocomplete|values=Transportation, Buildings}}}
| {{{field|category|input type=dropdown|values=All,Buildings, Cybersecurity and Privacy, Data, Education, Public Safety, Rural, Transportation, Utility, Wellbeing, Smart Region|default=All}}}
! Enter the Tag {{#info:This will filter on tag}}:
|-
| {{{field|tag|autocomplete on property=Has tag}}}
! Enter the Tag :
! Enter the Municipality {{#info:This will filter on municipality}}:
| {{{field|tag|input type=dropdown|values from property=Has tag|default=All}}}
| {{{field|municipality|autocomplete on property=In municipality}}}
|-
! Enter the Municipality:
| {{{field|municipality|input type=text|default=All}}}
|-
|-
|}
|}
{{{standard input|run query|label=Find Projects}}}
{{{end template}}}
{{{end template}}}
</includeonly>
</includeonly>

Latest revision as of 02:17, May 19, 2022