Template:Event: Difference between revisions

From OpenCommons
Jump to navigation Jump to search
No edit summary
No edit summary
 
(12 intermediate revisions by the same user not shown)
Line 12: Line 12:
|Website=
|Website=
|Virtual Access=
|Virtual Access=
|Tag=
|chapter=
}}
}}
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>{| class="wikitable" style="float:right;width:700px"
</noinclude><includeonly>
{{#seo:
|title_mode=replace
|title={{{Title}}}
|keywords=Digital Infrastructure
|description={{{Description}}}
|image={{#if:{{{largeimage|}}}|{{filepath:{{{largeimage}}}}}|{{filepath:{{{Image}}}}}}}
|image_alt={{{Title}}}
|site_name=OpenCommons
|locale=en_US
|type=https://opencommons.org/
|modified_time={{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY2}}
}}
__NOEDITSECTION__
{{#default_form:Event}}
{| class="wikitable" style="float:right;width:700px"
| colspan="2" style="background:ltgrey;font-size:16pt" | Event [[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}}]]
|-
!Image
!Image
|[[File:{{{Image|}}}|x500px|Logo]] {{#set: Has image={{{Image}}}}}
|[[File:{{{Image|}}}|x500px|Logo]] {{#set: Has image={{{Image}}}}}
Line 27: Line 44:
|-
|-
! Start Date
! Start Date
| [[Has start date::{{{Start Date|}}}]]
| {{#time:F j, Y|{{{Start Date}}} }} {{#set: Has start date={{{Start Date|}}}}}
|-
|-
! End Date
! End Date
| [[Has end date::{{{End Date|}}}]]
| {{#time:F j, Y|{{{End Date}}} }} {{#set: Has end date={{{End Date|}}}}}
|-
|-
! Location
! Location
Line 36: Line 53:
|-
|-
! Website
! Website
| [[Has website::{{{Website|}}}]]
| [{{{Website|}}} Website] {{#set: Has website={{{Website|}}}}}
|-
|-
! Virtual Access
! Virtual Access
| {{#arraymap:{{{Virtual Access|}}}|,|x|[[Has virtual access::x]]}}
| [[Has virtual access::{{{Virtual Access|}}}]] {{#arraymap:{{{Tag|}}}|,|x|{{#set: Has tag=x}}|}} {{#arraymap:{{{chapter|}}}|,|x|{{#set: In chapter=x}}|}}
|-
! Tags
| {{#arraymap:{{{Tag|}}}|,|x|[[Has tag::x]]| <br> }}
|}
|}


[[Category:Event]]
[[Category:Event]]
</includeonly>
</includeonly>

Latest revision as of 06:20, June 12, 2025

This is the "Event" template. It should be called in the following format:

{{Event
|Image=
|Title=
|Description=
|Start Date=
|End Date=
|Location=
|Website=
|Virtual Access=
|chapter=
}}

Edit the page to see the template text.