Template:Event: Difference between revisions

From Mallala
Nowandth (talk | contribs)
No edit summary
Upgrade: maps use OpenStreetMap
 
(5 intermediate revisions by 2 users not shown)
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;"
|+ '''Fast Facts'''
! style="text-align: center; background-color:#ccccff;" colspan="2" |<big>{{PAGENAME}}</big>
{{#if: {{{Type of event|}}} |
|-
{{!}}-
{{!}} Type of event
{{!}} [[EventSubCategory::{{{Type of event|}}}]]}}
{{#if: {{{AltName|}}} |
{{!}}-
! Also known as
! Also known as
| {{#arraymap:{{{Also known as|}}}|,|x|[[AltName::x]]}}
| {{#arraymap:{{{Also known as|}}}|,|x|[[AltName::x]]}}}}  
|-
{{#if: {{{Street name|}}} |
! Type of event
{{!}}-
| [[EventSubCategory::{{{Type of event|}}}]]
{{!}} Street name
|-
{{!}} [[LocationAddressStreetName::{{{Street name|}}}]]}}
! Street name
{{#if: {{{Street suffix|}}} |
| [[LocationAddressStreetName::{{{Street name|}}}]]
{{!}}-
|-
{{!}} Street suffix
! Street suffix
{{!}} [[LocationAddressStreetSuffix::{{{Street suffix|}}}]]}}
| [[LocationAddressStreetSuffix::{{{Street suffix|}}}]]
{{#if: {{{Town or locality|}}} |
|-
{{!}}-
! Town or locality
{{!}} Town or locality
| [[LocationAddressTownLocality::{{{Town or locality|}}}]]
{{!}} [[LocationAddressTownLocality::{{{Town or locality|}}}]]}}
|-
{{#if: {{{Date occurred or began|}}} |
! Geocoordinates
{{!}}-
| [[LocationCoordinates::{{{Geocoordinates|}}}]]
{{!}} Date occurred or began
|-
{{!}} [[DateStart::{{{Date occurred or began|}}}]]}}
! Date occurred or began
{{#if: {{{Date ended|}}} |
| [[DateStart::{{{Date occurred or began|}}}]]
{{!}}-
|-
{{!}} Date ended
! Date ended
{{!}} [[DateEnd::{{{Date ended|}}}]]}}
| [[DateEnd::{{{Date ended|}}}]]
{{#if: {{{Managed or hosted by|}}} |
|-
{{!}}-
! Managed or hosted by
{{!}} Managed or hosted by
| [[EventActivity::{{{Managed or hosted by|}}}]]
{{!}} [[EventActivity::{{{Managed or hosted by|}}}]]}}
|}
|}


[[Category:Event]]
<div id="articlemap">
{{#if:{{{Geocoordinates|{{#geocode: {{{Street number|}}} {{{Street name|}}} {{{Street suffix|}}} {{{Town or Locality|}}} }}}}}|{{#display_point:{{{Geocoordinates|{{#geocode: {{{Street number|}}} {{{Street name|}}} {{{Street suffix|}}} {{{Town or Locality|{{SITENAME}}}}} }}}}}|service=leaflet|height=240|width=240}}}}{{#set:LocationCoordinates={{{Geocoordinates|{{#geocode: {{{Street number|}}} {{{Street name|}}} {{{Street suffix|}}} {{{Town or Locality|{{SITENAME}}}}} }}}}}}}
</div>
[[Category:Event]]__NOEDITSECTION__<big>
</includeonly>
</includeonly>

Latest revision as of 23:34, 21 October 2026

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.