Difference between revisions of "Template:PirateDrinkSidebar"
m (fix bug invalid time) |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{#vardefine: time | {{TimeRegex | {{{time|}}} }} }}{{#vardefine: endtime | {{TimeRegex | {{{endtime|}}} }} }}{| class="pirate-sidebar piratedrink" | + | <includeonly>{{#set:Title Icon=Toicon-icon-avocado-cheer.svg}}{{#vardefine: time | {{TimeRegex | {{{time|}}} }} }}{{#vardefine: endtime | {{TimeRegex | {{{endtime|}}} }} }}{| class="pirate-sidebar piratedrink" |
| style="padding:0" colspan=2 | | | style="padding:0" colspan=2 | | ||
{| cellspacing=0 style="width:100%;" | {| cellspacing=0 style="width:100%;" | ||
! class="title" | {{int:event-pirate-drink}} {{#if: {{{city|}}} | ({{{city}}}) }} | ! class="title" | {{int:event-pirate-drink}} {{#if: {{{city|}}} | ({{{city}}}) }} | ||
− | | class="icon" | [[File:Toicon-icon-avocado-cheer.svg|x24px|link= | + | | class="icon" | [[File:Toicon-icon-avocado-cheer.svg|x24px|link=Special:MyLanguage/Calendar/PirateDrink]] |
|} | |} | ||
|- | |- | ||
Line 43: | Line 43: | ||
{{!}} {{#if: {{{linkvenue|}}} | [{{{linkvenue}}} {{{venue}}}] | {{{venue}}} }} | {{!}} {{#if: {{{linkvenue|}}} | [{{{linkvenue}}} {{{venue}}}] | {{{venue}}} }} | ||
{{!}}- }} | {{!}}- }} | ||
+ | {{#switch: {{lc:{{{venue|}}}}} | internet = | online = | ||
+ | | #default = | ||
! {{int:sidebar-address}} | ! {{int:sidebar-address}} | ||
− | + | {{!}} rowspan=2 style="padding:0" {{!}} | |
− | { | + | {{{!}} cellspacing="0" style="width:100%;" {{!}} |
− | + | {{!}} {{#if: {{{address|}}} | {{{address}}} | ? }} | |
− | + | {{!}}- | |
− | + | {{!}} {{{postalcode|}}} {{#if: {{{city|}}} | {{{city}}} | ? }} | |
− | + | {{!}}} | |
− | + | {{!}}- | |
! {{int:sidebar-city}} | ! {{int:sidebar-city}} | ||
− | + | {{!}}- }} | |
{{#if: {{#var:prev|}}{{#var:next|}} | {{#if: {{#var:prev|}}{{#var:next|}} | ||
| | | |
Latest revision as of 19:48, 23 March 2020
| |||
Crew | An awesome crew | ||
---|---|---|---|
Date | Sat 4 November 2017 | ||
Time | 12:00am - 2:00am | ||
Venue | Flying Dutchman | ||
Address |
| ||
City | |||
Loading map...
| |||
Find routes on OpenStreetMap | |||
Export | iCalendar | ||
Clone this event |
Usage
{{PirateDrinkSidebar |image = Logo-heart 135px.png |crew = An awesome crew |date = 4 nov 2017 |time = 12am |endtime = 2am |venue = Flying Dutchman |linkvenue = http://www.the-flying-dutchman.nl/ |address = Treasure Island 666 |postalcode = 9000 |city = Atlantica }}