Template:Query project: Difference between revisions

From OpenCommons
Jump to navigation Jump to search
No edit summary
No edit summary
 
(20 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!--<noinclude>
<noinclude>
This is the "Query project" template.
This is the "Query project" template.
It should be called in the following format:
It should be called in the following format:
Line 13: Line 13:
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude>
</noinclude>
<includeonly><nowiki>{{#ask:  
<includeonly>If your search produces more than five results and you want to see all the results click the '''... further results''' link at the bottom of the results.
 
{{#ask:  
  [[Category:Activity]]
  [[Category:Activity]]
  {{#if:{{{Has team members}}}|[[Has team members::{{{organization}}}]]|}}
  {{#if:{{{organization|}}} | [[Has team members::{{{organization}}}]] | }}
  {{#if:{{{Has contact}}}|[[Has contact::{{{contact}}}]]|}}-->
  {{#if:{{{contact|}}} | [[Has contact::{{{contact}}}]] | }}
  {{#if:{{{In municipality}}} | [[In municipality::{{{location}}}]] | ""}}
  {{#if:{{{location|}}} | [[In municipality::{{{location}}}]] | }}
  {{#if:{{{Has sector}}} | [[Has sector::{{{sector}}}]] | ""}}
  {{#if:{{{sector|}}} | [[Has sector::{{{sector}}}]] | }}
  {{#ifexpr:{{{status}}}=="" | [[Status::{{{status}}}]] | ""}}  
  {{#if:{{{status|}}} | [[Status::{{{status}}}]] | }}  
<!--
|limit=5
  |?=#
  |?=#
  |?Has image#=2
  |?Has image#=2
Line 31: Line 33:
}}
}}
</includeonly>
</includeonly>
-->

Latest revision as of 18:21, July 31, 2023

This is the "Query project" template. It should be called in the following format:

{{Query project
| organization     = Team Members
| contact          = Point of Contact
| location         = City, State
| status           = Project Status (Completed, Construction, Design, Master Planning, etc.)
| sector           = provide which sector this project is in
}}

Edit the page to see the template text.