Template:Event: Difference between revisions

From Mallala
Nowandth (talk | contribs)
m Protected "Template:Event" ([edit=sysop] (indefinite) [move=sysop] (indefinite))
Upgrade: maps use OpenStreetMap
 
(3 intermediate revisions by one other user not shown)
Line 18: Line 18:
</noinclude>
</noinclude>
<includeonly>{| class="fastfacts" border="0" cellspacing="2" cellpadding="2" width="240"
<includeonly>{| class="fastfacts" border="0" cellspacing="2" cellpadding="2" width="240"
|-
|+ '''Fast Facts'''
| '''Fast Facts'''
{{#if: {{{Type of event|}}} |
{{!}}-
{{!}} Type of event
{{!}} [[EventSubCategory::{{{Type of event|}}}]]}}
{{#if: {{{AltName|}}} |
{{#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|}}}]]}}
{{#if: {{{Street name|}}} |
{{#if: {{{Street name|}}} |
{{!}}-
{{!}}-
Line 55: Line 54:


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