Template:Event

From The Scuba Wiki

(Difference between revisions)
Jump to: navigation, search
 
(95 intermediate revisions not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
This is the "Event" template.
This is the "Event" template.
-
It should be called in the following format:
+
 
-
<pre>
+
-
{{Event
+
-
|eventaddress=
+
-
|eventagency=
+
-
|eventcost=
+
-
|eventdiving=
+
-
|eventphone=
+
-
}}
+
-
</pre>
+
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>
</noinclude><includeonly>
 +
[[event_coordinates::{{#geocode:
 +
  {{#if: {{{eventaddress1|}}} |{{{eventaddress1}}}|}}
 +
  {{#if: {{{eventaddress2|}}} |{{{eventaddress2}}}|}}
 +
  {{#if: {{{eventaddress3|}}} |{{{eventaddress3}}}|}}
 +
  {{#if: {{{eventcity|}}}, |{{{eventcity}}}|}}
 +
  {{#if: {{{eventstate|}}} |{{{eventstate}}}|}}
 +
  {{#if: {{{eventpostcode|}}} |{{{eventpostcode}}}|}},
 +
  {{#if: {{{eventcountry|}}} |{{{eventcountry}}}|}}
 +
}}|]]
{| style="width: 36em; 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="width: 36em; 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;"
-
! Address
+
! colspan="3"|Address
-
| [[Event address::{{{eventaddress|}}}]]
+
|-
|-
-
! Address2
+
| colspan="3"|[[event_address1::{{{eventaddress1|}}}]]
-
| #geocode:{{{eventaddress}}}
+
|-
 +
| colspan="3"|[[event_address2::{{{eventaddress2|}}}]]
 +
|-
 +
| colspan="3"|[[event_address3::{{{eventaddress3|}}}]]
 +
|-
 +
| colspan="3"|[[event_city::{{{eventcity|}}}]], [[event_state::{{{eventstate|}}}]] [[event_postcode::{{{eventpostcode|}}}]]
 +
|-
 +
| colspan="3"|[[event_country::{{{eventcountry|}}}]]
|-
|-
! Cost
! Cost
-
| [[Event cost::{{{eventcost|}}}]]
+
| colspan="2"|[[Event cost::{{{eventcost|}}}]]
|-
|-
! Phone Number
! Phone Number
-
| [[Event phone::{{{eventphone|}}}]]
+
| colspan="2"|[[Event phone::{{{eventphone|}}}]]
|-
|-
! Are we diving?
! Are we diving?
| colspan="2"|{{#arraymap:{{{eventdiving|}}}|,|x|[[event_diving::x]]}}
| colspan="2"|{{#arraymap:{{{eventdiving|}}}|,|x|[[event_diving::x]]}}
|-
|-
-
! Agency
+
! Type of Event:
-
| [[event_agency::{{{eventagency|}}}]]
+
| colspan="2"|{{#arraymap:{{{eventtype|}}}|,|x|[[event_type::x]]}}
|}
|}
-
 
+
{| style="width: 36em; 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;"
-
[[Category:Event]]
+
! colspan="3"|Map
-
</includeonly>
+
|-
 +
| colspan="3"|{{#ask:[[{{PAGENAME}}]]|? event_coordinates|format=googlemaps|height=400|width=400|zoom=14|type=normal}}
 +
|}
 +
[[Category:Events]]</includeonly>

Latest revision as of 03:15, 12 February 2010

This is the "Event" template.

Edit the page to see the template text.

Personal tools
support the site