Template:Infobox COVID-19: Difference between revisions

From OpenCommons
Jump to navigation Jump to search
No edit summary
No edit summary
Line 45: Line 45:
! 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 |
! Document
! Document
|{{#ifeq: {{{download}}} | None | None | {{#arraymap:{{{download|}}}|,|x| [[File:x]] }} }}
| [[File:{{{download}}}]] }}
<!--|{{#ifeq: {{{download}}} | None | None | {{#arraymap:{{{download|}}}|,|x| [[File:x]] }} }}-->
|}
|}

Revision as of 20:33, May 10, 2022

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.