Template:Infobox COVID-19: Difference between revisions

From OpenCommons
Jump to navigation Jump to search
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 30: Line 30:
|-
|-
! Team Leaders
! Team Leaders
<!--| {{#arraymap:{{{poc|}}}|,|x|[[Has contact::x]]| <br> }}-->
| {{#arraymap:{{{poc}}}|,|x|{{#set: Has contact=x}}|}} {{#arraymap:{{{poc|}}}|,|x|[[x]]|<br>}}
| {{#arraymap:{{{poc}}}|,|x|{{#set: Has contact=x}}|}} {{#arraymap:{{{poc|}}}|,|x|[[x]]|<br>}}
|-
|-
! City, State
! City, State
| {{#arraymap:{{{municipalities|}}}|,|x|{{#set: From location=x}}|}} {{#arraymap:{{{municipalities|}}}|,|x|x|<br>}}
| {{#arraymap:{{{municipalities|}}}|,|x|{{#set: From location=x}}|}} {{#arraymap:{{{municipalities|}}}|,|x|x|<br>}}
<!--|-
| style="width:100px" |Sectors
| {{#arraymap:{{{sector|}}}|,|x|[[Has sector::x]]| <br> }}
|-
| Status
| [[Status::{{{status|}}}]]
| style="font-size:9pt;width:100px" | <b>Participating Municipalities</b> || style="font-size:9pt" | -->
|-
|-
! Contributors
! Contributors
| {{#arraymap:{{{contributors}}}|,|x|{{#set: Has contact=x}}|}} {{#arraymap:{{{contributors}}}|,|x|[[x]]|<br>}}{{#set: Has website={{{website}}}}} {{#ifeq: {{{download}}} | None | | {{#set: Has pdf={{{download}}} }} }}
| {{#arraymap:{{{contributors}}}|,|x|{{#set: Has contact=x}}|}} {{#arraymap:{{{contributors}}}|,|x|[[x]]|<br>}}{{#set: Has website={{{website}}}}} {{#ifeq: {{{download}}} | None | | {{#set: Has pdf={{{download}}} }} }}
|-{{#ifeq: {{{download}}} | None | None |  
|-
! Website
|{{#ifeq: {{{website}}} | None | None | {{#arraymap:{{{website|}}}|,|x| [{{{website}}} Website] }} }}
|-
! Document
! Document
| {{#arraymap:{{{download|}}}|,|x| [[File:x]] }} }}
|{{#ifeq: {{{download}}} | None | None | {{#arraymap:{{{download|}}}|,|x| [[Media:x|Download]] }} }}
|}
|}

Latest revision as of 06:37, January 22, 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
| municipalities   = City, State
| contributor      = People contributing to the program
| website          = Project website if any
| download         = Typically a file to download
}}

Edit the page to see the template text.