Template:Event: Difference between revisions

From Mallala
Nowandth (talk | contribs)
No edit summary
Nowandth (talk | contribs)
No edit summary
Line 17: Line 17:
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude>
</noinclude>
<includeonly>
<includeonly>{| class="fastfacts" border="0" cellspacing="2" cellpadding="2" width="240"
{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
! style="text-align: center; background-color:#ccccff;" colspan="2" |<big>{{PAGENAME}}</big>
|-
|-
| '''Fast Facts'''
{{#if: {{{AltName|}}} |
{{!}}-
! Also known as
! Also known as
| {{#arraymap:{{{Also known as|}}}|,|x|[[AltName::x]]}}
| {{#arraymap:{{{Also known as|}}}|,|x|[[AltName::x]]}}}}  
|-
{{#if: {{{Type of event|}}} |
! Type of event
{{!}}-
| [[EventSubCategory::{{{Type of event|}}}]]
{{!}} Type of event
|-
{{!}} [[EventSubCategory::{{{Type of event|}}}]]}}
! Street name
{{#if: {{{Street name|}}} |
| [[LocationAddressStreetName::{{{Street name|}}}]]
{{!}}-
|-
{{!}} Street name
! Street suffix
{{!}} [[LocationAddressStreetName::{{{Street name|}}}]]}}
| [[LocationAddressStreetSuffix::{{{Street suffix|}}}]]
{{#if: {{{Street suffix|}}} |
|-
{{!}}-
! Town or locality
{{!}} Street suffix
| [[LocationAddressTownLocality::{{{Town or locality|}}}]]
{{!}} [[LocationAddressStreetSuffix::{{{Street suffix|}}}]]}}
|-
{{#if: {{{Town or locality|}}} |
! Geocoordinates
{{!}}-
| [[LocationCoordinates::{{{Geocoordinates|}}}]]
{{!}} Town or locality
|-
{{!}} [[LocationAddressTownLocality::{{{Town or locality|}}}]]}}
! Date occurred or began
{{#if: {{{Date occurred or began|}}} |
| [[DateStart::{{{Date occurred or began|}}}]]
{{!}}-
|-
{{!}} Date occurred or began
! Date ended
{{!}} [[DateStart::{{{Date occurred or began|}}}]]}}
| [[DateEnd::{{{Date ended|}}}]]
{{#if: {{{Date ended|}}} |
|-
{{!}}-
! Managed or hosted by
{{!}} Date ended
| [[EventActivity::{{{Managed or hosted by|}}}]]
{{!}} [[DateEnd::{{{Date ended|}}}]]}}
{{#if: {{{Managed or hosted by|}}} |
{{!}}-
{{!}} Managed or hosted by
{{!}} [[EventActivity::{{{Managed or hosted by|}}}]]}}
|}
|}


<div id="articlemap">
{{#if:{{{Geocoordinates|}}}|{{#display_point:{{{Geocoordinates}}}|service=googlemaps|types=normal|controls=small|height=240|width=240}}}}[[LocationCoordinates::{{{Geocoordinates}}}|]]
</div>
[[Category:Event]]
[[Category:Event]]
</includeonly>
</includeonly>

Revision as of 03:11, 14 September 2009

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

{{Event
|Also known as=
|Type of event=
|Street name=
|Street suffix=
|Town or locality=
|Geocoordinates=
|Date occurred or began=
|Date ended=
|Managed or hosted by=
}}

Edit the page to see the template text.