Template:Query project: Difference between revisions

From OpenCommons
Jump to navigation Jump to search
No edit summary
No edit summary
 
(24 intermediate revisions by the same user not shown)
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}}}]]|}}--></nowiki>
  {{#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:2<3:{{{status}}}="" | [[Status::{{{status}}}]] | ""}}<nowiki>
  {{#if:{{{status|}}} | [[Status::{{{status}}}]] | }}  
|limit=5
  |?=#
  |?=#
  |?Has image#=2
  |?Has image#=2
Line 28: Line 31:
  |template=Show image
  |template=Show image
  |outrotemplate=Show link Footer
  |outrotemplate=Show link Footer
}}</nowiki>
}}
</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.