Form:Show activity: Difference between revisions

From OpenCommons
Jump to navigation Jump to search
No edit summary
No edit summary
 
(26 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{{for template|Show activity}}}
<noinclude>
'''Category:''' select the category of project to display
{{#queryformlink:form=Show activity}}
 
</noinclude><includeonly>
{{{field|category}}}
{|style="width: 1200px;"
 
|{{#ask:
{{{end template}}}
[[Category:Project]]
 
|sort=In municipality
{{#ask:  
|order=random
  [[Category:Activity]]
|limit=1
  [[Category:{{{category}}}]]
|?=#
|?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
  |?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
}}
}}
|}
</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