Difference between revisions of "Template:Event"

From Technologia Incognita
Jump to: navigation, search
m
m
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
! width="30%" style="background-color:#DDDDDD;"{{!}} Name
+
| [[Name::{{{Name|}}}]]
{{!}} [[Name::{{{Name|}}}]]
 
}}
 
 
|-
 
|-
 
! style="background-color:#DDDDDD;" | Date
 
! style="background-color:#DDDDDD;" | Date
 
| [[Date::{{{Date|}}}]]
 
| [[Date::{{{Date|}}}]]
{{!}}-
+
|-
{{#if:{{{Location|}}}
+
! 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
{{!}}-
+
| [[EventType::{{{EventType|}}}]]
{{#if:{{{EventType|}}}
 
! style="background-color:#DDDDDD;" {{!}} Type
 
{{!}} [[EventType::{{{EventType|}}}]]
 
}}
 
 
|-
 
|-
 
! 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>

Revision as of 03:05, 16 June 2012

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

{{Event
|Name=
|Date=
|Location=
|Type=
|Contact=
}}

Edit the page to see the template text.