Template:Event
From The Scuba Wiki
(Difference between revisions)
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> | ||
Line 13: | Line 22: | ||
{{#if: {{{eventcountry|}}} |{{{eventcountry}}}|}} | {{#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_address1::{{{eventaddress1|}}}]] | + | | colspan="3"|[[event_address1::{{{eventaddress1|}}}]] |
|- | |- | ||
- | | [[event_address2::{{{eventaddress2|}}}]] | + | | colspan="3"|[[event_address2::{{{eventaddress2|}}}]] |
|- | |- | ||
- | | [[event_address3::{{{eventaddress3|}}}]] | + | | colspan="3"|[[event_address3::{{{eventaddress3|}}}]] |
|- | |- | ||
- | | [[event_city::{{{eventcity| | + | | [[event_city::{{{eventcity|}}}]] |
+ | | [[event_state::{{{eventstate|}}}]] | ||
+ | | [[event_postcode::{{{eventpostcode|}}}]] | ||
|- | |- | ||
- | | [[event_country::{{{eventcountry|}}}]] | + | | colspan="3"|[[event_country::{{{eventcountry|}}}]] |
|- | |- | ||
- | + | ! Cost | |
+ | | colspan="2"|[[Event cost::{{{eventcost|}}}]] | ||
|- | |- | ||
- | + | ! Phone Number | |
+ | | colspan="2"|[[Event phone::{{{eventphone|}}}]] | ||
|- | |- | ||
- | + | ! Are we diving? | |
+ | | colspan="2"|{{#arraymap:{{{eventdiving|}}}|,|x|[[event_diving::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;" | {| 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;" |
Revision as of 05:51, 22 January 2010
This is the "Event" template. It should be called in the following format:
{{Event |eventaddress= |eventagency= |eventcost= |eventdiving= |eventphone= }}
Edit the page to see the template text.