Difference between revisions of "Template:PirateDrinkSidebar"
m |
|||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{#vardefine: time | {{TimeRegex | {{{time|}}} }} }}{| 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 34: | Line 34: | ||
|- | |- | ||
! {{int:sidebar-time}} | ! {{int:sidebar-time}} | ||
− | | {{#if: {{{time|}}} | {{#time:{{int:sidebar-time-format}}|{{#var:time}} }} | ? }} | + | | {{#if: {{{time|}}} |
+ | | {{#time:{{int:sidebar-time-format}}|{{#var:time}} }} {{#if: {{{endtime|}}} | - {{#time:{{int:sidebar-time-format}}|{{#var:endtime}} }} }} | ||
+ | | ? | ||
+ | }} | ||
|- | |- | ||
{{#if: {{{venue|}}} | | {{#if: {{{venue|}}} | | ||
Line 40: | 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|}} | ||
| | | | ||
Line 89: | Line 94: | ||
| Organized by={{{crew|}}} | | Organized by={{{crew|}}} | ||
| Has date={{#time:Y/m/d H:i|{date} {{#var: time}} }} | | Has date={{#time:Y/m/d H:i|{date} {{#var: time}} }} | ||
+ | | Has end date={{#time:Y/m/d H:i|{date} {{#if: {{#var: endtime}} | {{#var: endtime}} | {{#var: time}} }} }} | ||
| Has time={{#if: {{#var:time}} | {{#time:H:i|{{#var: time}} }} }} | | Has time={{#if: {{#var:time}} | {{#time:H:i|{{#var: time}} }} }} | ||
+ | | Has end time={{#if: {{#var:endtime}} | ||
+ | | {{#time:H:i|{{#var: endtime}} }} | ||
+ | | {{#if: {{#var: time}} | {{#time:H:i|{{#var: time}} }} }} | ||
+ | }} | ||
| In venue={{{venue|}}} | | In venue={{{venue|}}} | ||
| Has link venue={{{linkvenue|}}} | | Has link venue={{{linkvenue|}}} | ||
Line 116: | Line 126: | ||
|date = 4 nov 2017 | |date = 4 nov 2017 | ||
|time = 12am | |time = 12am | ||
+ | |endtime = 2am | ||
|venue = Flying Dutchman | |venue = Flying Dutchman | ||
|linkvenue = http://www.the-flying-dutchman.nl/ | |linkvenue = http://www.the-flying-dutchman.nl/ | ||
Line 130: | Line 141: | ||
|date = 4 nov 2017 | |date = 4 nov 2017 | ||
|time = 12am | |time = 12am | ||
+ | |endtime = 2am | ||
|venue = Flying Dutchman | |venue = Flying Dutchman | ||
|linkvenue = http://www.the-flying-dutchman.nl/ | |linkvenue = http://www.the-flying-dutchman.nl/ |
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 }}