Template:Infobox COVID-19: Difference between revisions

From OpenCommons
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 37: Line 37:
! 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]] }} }}
|-
|Test
|{{#ifeq: {{{download}}} | None | Testing}}
|}
|}

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.