Template:Infobox action-cluster: Difference between revisions

From OpenCommons
Jump to navigation Jump to search
No edit summary
No edit summary
 
(41 intermediate revisions by the same user not shown)
Line 16: Line 16:
</noinclude>
</noinclude>
<includeonly>
<includeonly>
{| class="wikitable" style="float:right;width:400px"
{| class="wikitable" style="float:right;width:40%;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:GCTC_logo_344x80.png|350px|link=Category:Supercluster]]
| colspan="2" style="text-align:center;font-size:9pt" | [[File:GCTC_logo_344x80.png|350px|link=Category:Supercluster]]
|-
|-
| colspan="2" style="text-align:center;font-size:9pt" | {{{image}}}<br />{{{imagecaption}}}
| colspan="2" style="text-align:center;font-size:9pt" | [[File:{{{image}}}|600px]]<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" |
|-
|-
| Team Organizations
! Team Organizations
| {{#arraymap:{{{team-members|}}}|,|x|[[Has team members::x]]| <br> }}
| {{#arraymap:{{{team-members|}}}|,|x|[[Has team members::x]]| <br> }}
|-
|-
| Team Leaders
! Team Leaders
| {{#arraymap:{{{poc|}}}|,|x|[[Has contact::x]]| <br> }}
| {{#arraymap:{{{poc}}}|,|x|{{#set: Has contact=x}}|}} {{#arraymap:{{{poc|}}}|,|x|[[x]]|<br>}}
|-
|-
| Team Leaders
! Participating Municipalities
| {{#arraymap:{{{municipalities|}}}|,|x|[[In municipality::x]]| <br> }}
| {{#arraymap:{{{municipalities|}}}|,|x|{{#set: In municipality=x}}| <br> }} {{#arraymap:{{{municipalities|}}}|,|x|[[x]]|<br>}}
|-
|-
| Status
! Status
| [[Status::{{{status}}}]]
| [[Status::{{{status}}}]] {{#set: Has website={{{website}}}}} {{#ifeq: {{{download}}} | None | | {{#set: Has pdf={{{download}}} }} }}
|-
|-
| Website
! Document
| [[Has website::{{{website}}}]]
|{{#ifeq: {{{download}}} | None | None | {{#arraymap:{{{download|}}}|,|x| [[File:x|Download]] }} }}
|-
| Download
|{{{download}}}
<!-- |-
| style="font-size:9pt;width:100px" | <b>[[Property:Has team members | Team Members]]</b> || style="font-size:9pt" | [[Has team members::{{{team-members}}}]]
|-
| style="font-size:9pt;width:100px" | <b>[[Property:Has contact | Point of Contact]]</b> || style="font-size:9pt" | [[Has contact::{{{poc}}}]] [[Property:Has email| ]] [[Has email::{{{email}}}| ]]
|-
| style="font-size:9pt;width:100px" | <b>[[Property:In municipality | Participating Municipality]]</b> || style="font-size:9pt" | [[In municipality::{{{municipalities}}}]] [[Property:Has coordinates | ]]
| {{#arraymap:{{{municipalities|}}}|,|x|[[Has coordinates::{{#Geocode:{{{municipalities|}}}}}|]]| |}}
|-
| style="font-size:9pt;width:100px" | <b>[[Property:Status | Status]]</b> || style="font-size:9pt" | [[Status::{{{status}}}]]
|-
| style="font-size:9pt;width:100px" | <b>[[Property:Has website | Website ]]</b> || style="font-size:9pt" | [[Has website::{{{website}}}]]
|-
| style="font-size:9pt;width:100px" | <b>Download</b> || style="font-size:9pt" | {{{download}}} -->
|}
|}
</includeonly>
</includeonly>

Latest revision as of 06:35, March 16, 2023

This is the "Infobox action-cluster" template. It should be called in the following format:

{{Infobox action-cluster
| team-members      = List the Company/People teaming on this actioncluster
| poc               = Who is the point of contact
| image             = Image of the action cluster
| imagecaption      = Image Caption
| municipalities    = List the municipalities partnering on this actioncluster
| status            = Status of the project
| website           = Website of the project
| download          = File that can be downloaded
}}

Edit the page to see the template text.