Template:Infobox project: Difference between revisions

From OpenCommons
Jump to navigation Jump to search
No edit summary
No edit summary
 
(44 intermediate revisions by the same user not shown)
Line 5: Line 5:
{{Infobox project
{{Infobox project
| image            = jpg or png file image of the project
| image            = jpg or png file image of the project
| largeimage      = jpg, png, webp or svg file for use in seo. Should be a 1:1.91 ration and at least 1200x627
| imagecaption    = Caption for the image
| imagecaption    = Caption for the image
| team-members    = Team Members
| team-members    = Team Members
Line 13: Line 14:
| summary          = provide a couple of sentences to summarize the project
| summary          = provide a couple of sentences to summarize the project
| sector          = provide which sector this project is in
| sector          = provide which sector this project is in
| tag              = tag to group like projects
| chapter          = chapter this project is connected to
| year            = Active years of project
| year            = Active years of project
}}
}}
Line 20: Line 21:
</noinclude>
</noinclude>
<includeonly>
<includeonly>
{{#seo:
|title_mode=replace
|title={{PAGENAMEE}}
|keywords=Digital Infrastructure
|description={{{summary}}}
|image={{#if:{{{largeimage|}}}|{{filepath:{{{largeimage}}}}}|{{filepath:{{{image}}}}}}}
|image_alt={{{imagecaption}}}
|site_name=OpenCommons
|locale=en_US
|type=https://opencommons.org/
|modified_time={{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY2}}
}}
__NOEDITSECTION__
{{#default_form:Project}}
{{#default_form:Project}}
__NOEDITSECTION__
{| class="wikitable" style="float:right;width:600px;margin-left: 40px"
{| class="wikitable" style="float:right;width:400px;margin-left: 40px"
| colspan="2" style="background:lightblue;font-size:16pt" | '''{{PAGENAME}}''' [[File:Envelope-Icon.svg|x24px|link=mailto:?subject=Best%20Practices%20trip%20to%20{{#replace:{{PAGENAMEE}}|_|%20}}&body=Interesting%20report%20on%20the%20State%20of%20Oregon's%20recent%20Best%20Practices%20trip%20to%20{{#replace:{{PAGENAMEE}}|_|%20}}%20https://{{SERVERNAME}}/{{PAGENAMEE}}]] [[File:bluesky-icon.svg|x20px|link=https://bsky.app/intent/compose?text=Check%20out%20this%20article%20on%20{{#replace:{{PAGENAMEE}}|_|%20}}%20Best%20Practices%3A%0Ahttps%3A//{{SERVERNAME}}/{{PAGENAMEE}}]] [[File:linkedin-icon.svg|x20px|link=https://www.linkedin.com/shareArticle?url=https%3A%2F%2F{{SERVERNAME}}/{{PAGENAMEE}}&mini=true&title={{PAGENAMEE}}%Best%20Practices&summary=Best%20Practices%20trip%20to%20{{#replace:{{PAGENAMEE}}|_|%20}}&body=Interesting%20report%20on%20the%20State%20of%20Oregon's%20recent%20Best%20Practices%20trip%20to%20{{#replace:{{PAGENAMEE}}|_|%20}}&source={{SERVERNAME}}/{{PAGENAMEE}}]]
! colspan="2" style="background:lightblue;font-size:10pt" | {{PAGENAME}}
<!--|-
| colspan="2" style="text-align:center;font-size:9pt" | [[File:GCTC_logo_344x80.png|350px|alt=GCTC Logo|link=Category:Supercluster|class=notpageimage]]-->
|-
|-
| colspan="2" style="text-align:center;font-size:9pt" | [[File:{{{image}}}|390px]]<br />{{{imagecaption}}} {{#set: Has image={{{image}}} }}
| colspan="2" style="text-align:center;font-size:9pt" | [[File:{{{image}}}|590px|alt={{{imagecaption}}}]]<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:200px" |Team Organizations
| {{#arraymap:{{{team-members|}}}|,|x|[[Has team members::x]]| <br> }}
| {{#arraymap:{{{team-members|}}}|,|x|{{#set: Has team members=x}}| <br> }} {{#arraymap:{{{team-members|}}}|,|x|[[x]]|<br>}}
|-
|-
| Team Leaders
| Point of Contact
| {{#arraymap:{{{poc}}}|,|x|{{#set: Has contact=x}}|}} {{#arraymap:{{{poc|}}}|,|x|[[x]]|<br>}}
| {{#arraymap:{{{poc}}}|,|x|{{#set: Has contact=x}}|}} {{#arraymap:{{{poc|}}}|,|x|[[x]]|<br>}}
|-
|-
Line 40: Line 55:
| style="width:100px" |Sectors
| style="width:100px" |Sectors
| {{#arraymap:{{{sector|}}}|,|x|[[Has sector::x]]| <br> }}
| {{#arraymap:{{{sector|}}}|,|x|[[Has sector::x]]| <br> }}
|-
| style="width:100px" |Initiative
| {{#arraymap:{{{initiative|}}}|,|x|[[Has initiative::x]]| <br> }}
|-
|-
| Status
| Status
Line 45: Line 63:
|-
|-
| Last Updated
| Last Updated
| {{#set: Has date updated={{CURRENTTIMESTAMP}}}} {{#time:F j, Y|{{CURRENTTIMESTAMP}} }} {{#arraymap:{{{tag|}}}|,|x|{{#set: Has tag=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 }}}}  
|}
|}
=Summary=
=Summary=
[[Has description::{{{summary}}}]] {{#arraymap:{{{sector|}}}|,|x|[[Category:x]]|<br> }} [[Category:Project]] {{#arraymap:{{{year|}}}|,|x|[[Category:Year_x]]|}}</includeonly>
[[Has description::{{{summary}}}]] {{#arraymap:{{{sector|}}}|,|x|[[Category:x]]|<br> }} [[Category:Project]] {{#arraymap:{{{year|}}}|,|x|[[Category:Year_x]]|}}
</includeonly>

Latest revision as of 19:18, June 28, 2025

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
| largeimage       = jpg, png, webp or svg file for use in seo. Should be a 1:1.91 ration and at least 1200x627
| 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.