Template:Infobox COVID-19: Difference between revisions

From OpenCommons
Jump to navigation Jump to search
No edit summary
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 17: Line 17:
</noinclude>
</noinclude>
<includeonly>
<includeonly>
{| class="wikitable" style="float:right;width:400px"
{| class="wikitable" style="float:right;width:400px;margin-left: 40px"
! colspan="2" style="background:lightblue;font-size:10pt" | {{PAGENAME}}
! colspan="2" style="background:lightblue;font-size:10pt" | {{PAGENAME}}
|-
|-
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>}}
| {{#arraymap:{{{contributors}}}|,|x|{{#set: Has contact=x}}|}} {{#arraymap:{{{contributors}}}|,|x|[[x]]|<br>}}{{#set: Has website={{{website}}}}} {{#ifeq: {{{download}}} | None | | {{#set: Has pdf={{{download}}} }} }}
|-
|-
! Website
! Website
| {{{website}}}
|{{#ifeq: {{{website}}} | None | None | {{#arraymap:{{{website|}}}|,|x| [{{{website}}} Website] }} }}
|-
|-
! Download
! Document
| {{{download}}}
|{{#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.