Template:Event: Difference between revisions

From OpenCommons
Jump to navigation Jump to search
No edit summary
No edit summary
 
(11 intermediate revisions by the same user not shown)
Line 12: Line 12:
|Website=
|Website=
|Virtual Access=
|Virtual Access=
|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>
__NOEDITSECTION__
{{#default_form:Event}}
{| class="wikitable" style="float:right;width:700px"
! colspan="2" style="background:ltgrey;font-size:10pt" | Event
|-
!Image
!Image
|[[File:{{{Image|}}}|x500px|Logo]] {{#set: Has image={{{Image}}}}}
|[[File:{{{Image|}}}|x500px|Logo]] {{#set: Has image={{{Image}}}}}
Line 26: Line 32:
|-
|-
! 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 35: Line 41:
|-
|-
! 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}}|}}
 
|}
|}


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

Latest revision as of 15:07, August 24, 2023

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.