Form:Show activity: Difference between revisions

From OpenCommons
Jump to navigation Jump to search
No edit summary
No edit summary
 
(25 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>
{{{field|category}}}
{{#queryformlink:form=Show activity}}
 
</noinclude><includeonly>
{{#ask:  
{|style="width: 1200px;"
  [[Category:Activity]]
|{{#ask:  
  [[Category:{{{category}}}]]
  [[Category:Project]]
  |sort=In municipality
|order=random
|limit=1
  |?=#
  |?=#
  |?Has image#=2
  |?Has image#=2
|?Has description#=3
  |format=plainlist
  |format=plainlist
  |named args=yes
  |named args=yes
|introtemplate=Show image Header
  |template=Single image alone
  |template=Show image
  |searchlabel=
  |outrotemplate=Show link Footer
}}
}}
|{{#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}}}
{| class="formtable"
! Enter the Category:
| {{{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 :
| {{{field|tag|input type=dropdown|values from property=Has tag|default=All}}}
|-
! Enter the Municipality:
| {{{field|municipality|input type=text|default=All}}}
|-
|}
{{{standard input|run query|label=Find Projects}}}
{{{end template}}}
</includeonly>

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