Template:Infobox project: Difference between revisions

From OpenCommons
Jump to navigation Jump to search
No edit summary
No edit summary
 
(38 intermediate revisions by the same user not shown)
Line 10: Line 10:
| location_city    = City, State
| location_city    = City, State
| status          = Project Status (Completed, Construction, Design, Master Planning, etc.)
| 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
| 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
}}
}}
</pre>
</pre>
Line 16: Line 20:
</noinclude>
</noinclude>
<includeonly>
<includeonly>
{| class="wikitable" style="float:right;width:400px"
__NOEDITSECTION__
{{#default_form:Project}}
__NOEDITSECTION__
{| class="wikitable" style="float:right;width:600px;margin-left: 40px"
! colspan="2" style="background:lightblue;font-size:10pt" | {{PAGENAME}}
! colspan="2" style="background:lightblue;font-size:10pt" | {{PAGENAME}}
|-
|-
| colspan="2" style="text-align:center;font-size:9pt" | [[File:{{{image}}}|350px]]<br />{{{imagecaption}}}
| colspan="2" style="text-align:center;font-size:9pt" | [[File:{{{image}}}|590px]]<br />{{{imagecaption}}} {{#set: Has image={{{image}}} }}
|-
|-
| 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 Members
| style="width:200px" |Team Organizations
| [[Has team members::{{{team-members|}}}]]
| {{#arraymap:{{{team-members|}}}|,|x|{{#set: Has team members=x}}| <br> }} {{#arraymap:{{{team-members|}}}|,|x|[[x]]|<br>}}
|-
|-
| Point of Contact
| Point of Contact
| [[Has contact::{{{poc|}}}]]
| {{#arraymap:{{{poc}}}|,|x|{{#set: Has contact=x}}|}} {{#arraymap:{{{poc|}}}|,|x|[[x]]|<br>}}
|-
|-
| City, State
| Participating Municipalities
| [[From location::{{{location_city|}}}]] [[Property:Has coordinates | ]] [[Has coordinates::{{#Geocode:{{{location_city|}}}}}|]]
| {{#arraymap:{{{location_city|}}}|,|x|{{#set: In municipality=x}}| <br> }} {{#arraymap:{{{location_city|}}}|,|x|[[x]]|<br>}}
|-
| style="width:100px" |Sectors
| {{#arraymap:{{{sector|}}}|,|x|[[Has sector::x]]| <br> }}
|-
|-
| Status
| Status
| [[Status::{{{status|}}}]]
| [[Status::{{{status|}}}]]
|-
| 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 }}}}
|}
|}
=Summary=
=Summary=
:[[Has description::{{{summary|}}}]]
[[Has description::{{{summary}}}]] {{#arraymap:{{{sector|}}}|,|x|[[Category:x]]|<br> }} [[Category:Project]] {{#arraymap:{{{year|}}}|,|x|[[Category:Year_x]]|}}</includeonly>
[[Category:Project]]
</includeonly>

Latest revision as of 15:40, July 1, 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.