Template:Infobox action-cluster: Difference between revisions

From OpenCommons
Jump to navigation Jump to search
No edit summary
No edit summary
Line 36: Line 36:
| Status
| Status
| [[Status::{{{status}}}]] {{#set: Has website={{{website}}}}} {{#set: Has pdf={{{download}}}}}
| [[Status::{{{status}}}]] {{#set: Has website={{{website}}}}} {{#set: Has pdf={{{download}}}}}
<!--{{#if:{{{website|}}} |{{{website|}}}|&#124;-</br>&#124; Website </br>&#124; [[Has website::{{{website|}}}]]}}
{{#if:{{{download|}}} |{{{download|}}}|&#124;-</br>&#124; Document </br>&#124; {{{download|}}} }}-->
|-
|-
| Document
| Document
|{{#if:{{{download}}} |{{#arraymap:{{{download}}}|,|x|[[File:x|100px|Document]]}}| }}
|{{#if:{{{download}}} |{{#arraymap:{{{download}}}|,|x|[[File:x|100px|Document]]}}| }}
<!--|-
| 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>

Revision as of 04:39, March 19, 2022

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.