Template:Infobox project: Difference between revisions

From OpenCommons
Jump to navigation Jump to search
No edit summary
No edit summary
Line 48: Line 48:
| {{#set: Has date updated={{CURRENTTIMESTAMP}}}} {{#time:F j, Y|{{CURRENTTIMESTAMP}} }} {{#arraymap:{{{tag|}}}|,|x|{{#set: Has tag=x }}}} {{#arraymap:{{{chapter|}}}|,|x|{{#set: In chapter=x }}}}  
| {{#set: Has date updated={{CURRENTTIMESTAMP}}}} {{#time:F j, Y|{{CURRENTTIMESTAMP}} }} {{#arraymap:{{{tag|}}}|,|x|{{#set: Has tag=x }}}} {{#arraymap:{{{chapter|}}}|,|x|{{#set: In chapter=x }}}}  
|-
|-
| colspan="2" |{{#ifexpr: {{#ask: [[Category:Activity]]  [[In chapter::{{PAGENAME}}]] |format=count}}>0 | '''Activities''' | }}{{#ask:  
| colspan="2" |{{#ifexpr: {{{team-members}}}>0 | '''Activities''' | }}{{#ask:  
  [[Category:Organization]]
  [[Category:Organization]]
  [[Amazon]]
  [[{{{team-members}}}]]
  |?=
  |?=
  |?Has logo#=2
  |?Has logo#=2
Line 59: Line 59:
  |template=Show page
  |template=Show page
  |outrotemplate=Show link Footer
  |outrotemplate=Show link Footer
}}{{#ifexpr: {{#ask: [[Category:Activity]]  [[In chapter::{{PAGENAME}}]] |format=count}}>0 | '''Activities''' | }}{{#ask:  
}}{{#ifexpr: {{{location_city}}}>0 | '''Municipalities''' | }}{{#ask:  
  [[Category:Municipality]]
  [[Category:Municipality]]
  [[Cambridge UK]]
  [[{{{location_city}}}]]
  |?=
  |?=
  |?Has logo#=2
  |?Has logo#=2

Revision as of 23:35, January 18, 2023

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
| location_city    = City, State
| status           = Project Status (Completed, Construction, Design, Master Planning, etc.)
| updated          = Last date on which this information was up to date
| summary          = provide a couple of sentences to summarize the project
| sector           = provide which sector this project is in
| chapter          = chapter this project is connected to
| year             = Active years of project
}}

Edit the page to see the template text.