Difference between revisions of "Template:Event"

From Technologia Incognita
Jump to: navigation, search
m
m (fix example)
 
(16 intermediate revisions by 3 users not shown)
Line 4: Line 4:
 
<pre>
 
<pre>
 
{{Event
 
{{Event
|Name=
 
 
|Date=
 
|Date=
 +
|Time=
 
|Location=
 
|Location=
|Type=
+
|EventType=
 
|Contact=
 
|Contact=
 
}}
 
}}
Line 16: Line 16:
 
|- style="font-size:150%; background: #CCCCCC; text-align:center;"  
 
|- style="font-size:150%; background: #CCCCCC; text-align:center;"  
 
! colspan=2|  {{PAGENAME}}  
 
! colspan=2|  {{PAGENAME}}  
{{!}}-
+
|-
{{#if:{{{Name|}}}
 
! width="30%" style="background-color:#DDDDDD;"| Name
 
{{!}} [[Name::{{{Name|}}}]]
 
}}
 
 
! style="background-color:#DDDDDD;" | Date
 
! style="background-color:#DDDDDD;" | Date
 
| [[Date::{{{Date|}}}]]
 
| [[Date::{{{Date|}}}]]
{{!}}-
+
|-
{{#if:{{{Location|}}}
+
! style="background-color:#DDDDDD;" | Time
 +
| [[Time::{{{Time|}}}]]
 +
|-
 
! style="background-color:#DDDDDD;" | Location
 
! style="background-color:#DDDDDD;" | Location
{{!}} {{#arraymap:{{{Location|}}}|,|x|[[Location::x]]}}
+
| {{#arraymap:{{{Location|}}}|,|x|[[Location::x]]}}
}}
 
 
|-
 
|-
 
! style="background-color:#DDDDDD;" | Type
 
! style="background-color:#DDDDDD;" | Type
 
| [[EventType::{{{EventType|}}}]]
 
| [[EventType::{{{EventType|}}}]]
 
{{!}}-
 
{{!}}-
{{#if:{{{Contact|}}}
+
{{#if:{{{Contact|}}}|
! style="background-color:#DDDDDD;" | Contact
+
! style="background-color:#DDDDDD;" {{!}} Contact
 
{{!}} {{#arraymap:{{{Contact|}}}|,|x|[[Contact::x]]}}
 
{{!}} {{#arraymap:{{{Contact|}}}|,|x|[[Contact::x]]}}
 
}}
 
}}
 
 
|}
 
|}
  
 
[[Category:Events]]
 
[[Category:Events]]
 
</includeonly>
 
</includeonly>

Latest revision as of 16:26, 12 September 2020

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

{{Event
|Date=
|Time=
|Location=
|EventType=
|Contact=
}}

Edit the page to see the template text.