Template:Infobox project: Difference between revisions

From OpenCommons
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 30: Line 30:
| colspan="2" style="background:lightblue;text-align:center;font-size:9pt" |
| colspan="2" style="background:lightblue;text-align:center;font-size:9pt" |
|-
|-
| style="width:100px" |Team Organizations<!--
| style="width:100px" |Team Organizations
| {{#arraymap:{{{team-members|}}}|,|x|[[Has team members::x]]| <br> }}-->
| {{#arraymap:{{{team-members|}}}|,|x|{{#set: Has team members=x}}| <br> }} {{#arraymap:{{{team-members|}}}|,|x|[[x]]|<br>}}
| {{#arraymap:{{{team-members|}}}|,|x|{{#set: Has team members=x}}| <br> }} {{#arraymap:{{{team-members|}}}|,|x|[[x]]|<br>}}
|-
|-
Line 48: Line 47:
| Last Updated
| Last Updated
| {{#set: Has date updated={{CURRENTTIMESTAMP}}}} {{#time:F j, Y|{{CURRENTTIMESTAMP}} }} {{#arraymap:{{{tag|}}}|,|x|{{#set: Has tag=x }}}} {{#arraymap:{{{chapter|}}}|,|x|{{#set: In chapter=x }}}}  
| {{#set: Has date updated={{CURRENTTIMESTAMP}}}} {{#time:F j, Y|{{CURRENTTIMESTAMP}} }} {{#arraymap:{{{tag|}}}|,|x|{{#set: Has tag=x }}}} {{#arraymap:{{{chapter|}}}|,|x|{{#set: In chapter=x }}}}  
<!--|-
| colspan="2" |{{#if: {{{team-members}}} | '''Activities''' | }}{{#ask:
[[Category:Organization]]
[[{{{team-members}}}]]
|?=
|?Has logo#=2
|?Has description#=3
|format=plainlist
|named args=yes
|introtemplate=Show image Header
|template=Show page
|outrotemplate=Show link Footer
}}{{#if: {{{location_city}}} | '''Municipalities''' | }}{{#ask:
[[Category:Municipality]]
[[{{{location_city}}}]]
|?=
|?Has logo#=2
|?Has description#=3
|format=plainlist
|named args=yes
|introtemplate=Show image Header
|template=Show page
|outrotemplate=Show link Footer
}}-->
|}
|}
=Summary=
=Summary=
[[Has description::{{{summary}}}]] {{#arraymap:{{{sector|}}}|,|x|[[Category:x]]|<br> }} [[Category:Project]] {{#arraymap:{{{year|}}}|,|x|[[Category:Year_x]]|}}</includeonly>
[[Has description::{{{summary}}}]] {{#arraymap:{{{sector|}}}|,|x|[[Category:x]]|<br> }} [[Category:Project]] {{#arraymap:{{{year|}}}|,|x|[[Category:Year_x]]|}}</includeonly>

Latest revision as of 16:28, March 21, 2024

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

{{Infobox project
| image            = jpg or png file image of the project
| imagecaption     = Caption for the image
| team-members     = Team Members
| poc              = Point of Contact
| location_city    = City, State
| status           = Project Status (Completed, Construction, Design, Master Planning, etc.)
| updated          = Last date on which this information was up to date
| summary          = provide a couple of sentences to summarize the project
| sector           = provide which sector this project is in
| chapter          = chapter this project is connected to
| year             = Active years of project
}}

Edit the page to see the template text.