Template:Infobox COVID-19: Difference between revisions

From OpenCommons
Jump to navigation Jump to search
No edit summary
No edit summary
 
(19 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}}
|-
|-
| colspan="2" style="text-align:center;font-size:9pt" | {{{image}}}]]<br />{{{imagecaption}}} {{#set: Has image={{{image}}} }}
| 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:{{{image}}}]]<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" |
|-
|-
! style="width:100px" |Team Organizations
! style="width:100px" |Team Organizations
| {{#arraymap:{{{team-members|}}}|,|x|[[Has team members::x]]| <br> }}
| {{#arraymap:{{{team-members|}}}|,|x|{{#set: Has team members=x}}|}} {{#arraymap:{{{team-members}}}|,|x|[[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>}}
| {{#arraymap:{{{poc}}}|,|x|{{#set: Has contact=x}}|}} {{#arraymap:{{{poc|}}}|,|x|[[x]]|<br>}}
|-
|-
! City, State
! City, State
| [[From location::{{{municipalities|}}}]] [[Property:Has coordinates | ]] [[Has coordinates::{{#Geocode:{{{municipalities|}}}}}|]]
| {{#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" | -->
|-
|-
! style="font-size:9pt;width:100px" | <b>Contributors</b> || style="font-size:9pt" | {{#arraymap:{{{contributors}}}|,|x|{{#set: Has contact=x}}|}} {{#arraymap:{{{contributors}}}|,|x|[[x]]|<br>}}
! Contributors
| {{#arraymap:{{{contributors}}}|,|x|{{#set: Has contact=x}}|}} {{#arraymap:{{{contributors}}}|,|x|[[x]]|<br>}}{{#set: Has website={{{website}}}}} {{#ifeq: {{{download}}} | None | | {{#set: Has pdf={{{download}}} }} }}
|-
|-
| style="font-size:9pt;width:100px" | <b>Website</b> || style="font-size:9pt" | {{{website}}}
! Website
|{{#ifeq: {{{website}}} | None | None | {{#arraymap:{{{website|}}}|,|x| [{{{website}}} Website] }} }}
|-
|-
| style="font-size:9pt;width:100px" | <b>Download</b> || style="font-size:9pt" | {{{download}}}
! Document
|{{#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.