Actions

Template

Project: Difference between revisions

From dotnet

(Created page with "<noinclude> This is the "Project" template. It should be called in the following format: <pre> {{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...")
 
No edit summary
 
(20 intermediate revisions by the same user not shown)
Line 5: Line 5:
{{Project
{{Project
| image            = jpg or png file image of the project
| image            = jpg or png file image of the project
| imagecaption    = Caption for the image
| team-members    = Team Members
| team-members    = Team Members
| poc              = Point of Contact
| manager          = Program manager
| location_city    = City, State
| location_city    = City, State
| status          = Project Status (Completed, Construction, Design, Master Planning, etc.)
| status          = Project Status (Idea, Startup, Development, Mature, EOL)
| updated         = Last date on which this information was up to date
| sectors         = provide which sector this project is in
| 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
| opencommons      = Project page name on OpenCommons.org
| chapter          = chapter this project is connected to
| year            = Active years of project
}}
}}
</pre>
</pre>
Line 21: Line 18:
<includeonly>
<includeonly>
__NOEDITSECTION__
__NOEDITSECTION__
This {{#formlink:form=Project|link text=link|linktype=button|wpRunQuery=true|target={{PAGENAME}} }} will let you edit this project.
{{#default_form:Project}}
{{#default_form:Project}}
__NOEDITSECTION__
{| class="wikitable" style="float:left;width:1100px"
{| class="wikitable" style="float:right;width:600px;margin-left: 40px"
! colspan="2" style="background:lightgrey;font-size:20pt" | {{PAGENAME}}
! colspan="2" style="background:lightblue;font-size:10pt" | {{PAGENAME}}
|-
|-
| colspan="2" style="text-align:center;font-size:9pt" | [[File:{{{image}}}|590px]]<br />{{{imagecaption}}} {{#set: Has image={{{image}}} }}
| colspan="2" style="text-align:center;font-size:9pt" | [[File:{{{image}}}|1100px]] {{#set: Image={{{image}}} }}
|-
|-
| colspan="2" style="background:lightblue;text-align:center;font-size:9pt" |
| colspan="2" style="background:lightgrey;text-align:center;font-size:4pt" |
|-
|-
| style="width:100px" |Team Organizations
| style="width:200px" | Program manager
| {{#arraymap:{{{team-members|}}}|,|x|[[Has team members::x]]| <br> }}
| {{#set: Manager={{{manager|}}} }}[[{{{manager|}}}]]
|-
|-
| Team Leaders
|Team
| {{#arraymap:{{{poc}}}|,|x|{{#set: Has contact=x}}|}} {{#arraymap:{{{poc|}}}|,|x|[[x]]|<br>}}
| {{#arraymap:{{{team-members|}}}|,|x|{{#set: Team members=x}}|}} {{#arraymap:{{{team-members|}}}|,|x|[[x]]|<br>}}
|-
|-
| Participating Municipalities
| Project home
| {{#arraymap:{{{location_city|}}}|,|x|{{#set: In municipality=x}}| <br> }} {{#arraymap:{{{location_city|}}}|,|x|[[x]]|<br>}}
|{{#set: City={{{location_city|}}} }} [[wikipedia:{{{location_city|}}}|{{{location_city|}}}]]
|-
|-
| style="width:100px" |Sectors
| style="width:100px" |Sectors
| {{#arraymap:{{{sector|}}}|,|x|[[Has sector::x]]| <br> }}
| {{#arraymap:{{{sectors|}}}|,|x|[[Sector::x]]| <br> }}
|-
|-
| Status
| Status
| [[Status::{{{status|}}}]]
| {{#set: Status={{{status|}}}}} [[{{{status}}}]]
|-style="vertical-align:top;"
| Project Description
| {{#set: Summary={{{summary|}}}}} {{{summary|}}}
|-
| Project Details
| {{#set: Opencommons={{{opencommons|}}}}} [[opencommons:{{{opencommons|}}}|{{{opencommons|}}}]]
|-
|-
| 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 }}}}
<!--|-
| 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=
[[Category:Project]]</includeonly>
[[Has description::{{{summary}}}]] {{#arraymap:{{{sector|}}}|,|x|[[Category:x]]|<br> }} [[Category:Project]] {{#arraymap:{{{year|}}}|,|x|[[Category:Year_x]]|}}</includeonly>

Latest revision as of 01:05, September 21, 2023

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

{{Project
| image            = jpg or png file image of the project
| team-members     = Team Members
| manager          = Program manager
| location_city    = City, State
| status           = Project Status (Idea, Startup, Development, Mature, EOL)
| sectors          = provide which sector this project is in
| summary          = provide a couple of sentences to summarize the project
| opencommons      = Project page name on OpenCommons.org
}}

Edit the page to see the template text.