Difference between revisions of "Template:ExternalEventSidebar"
Line 54: | Line 54: | ||
{{!}}- }} | {{!}}- }} | ||
| colspan="2" style="text-align: center;" | {{#formlink:form=External event|preload={{FULLPAGENAME}}|link text={{int:sidebar-clone-event}} }} | | colspan="2" style="text-align: center;" | {{#formlink:form=External event|preload={{FULLPAGENAME}}|link text={{int:sidebar-clone-event}} }} | ||
− | |}{{#arraymap:{{{date|}}}|,|{date}|{{#subobject:{{#time:d m Y|{date} }} | + | |}{{#switch: {{SUBPAGENAME}} |
− | + | | fr = | nl = | en = | de = | |
− | + | | {{#arraymap:{{{date|?}}}|,|{date}|{{#subobject:{{#time:d m Y|{date} }} | |
− | + | | Has title={{{title|}}} | |
− | + | | Organized by={{{workgroup|}}}|+sep=, | |
− | + | | Has date={{#ifeq: {date} | ? | |
− | + | | | |
− | + | | {{#time:Y/m/d H:i|{date} {{#var: time}}}} | |
− | + | }} | |
− | + | | Has time={{#time:H:i|{{#var: time}} }} | |
− | + | | In venue={{{venue|}}} | |
− | + | | Has link venue={{{linkvenue|}}} | |
− | + | | Has address={{{address|}}} | |
− | + | | In postal code={{{postalcode|}}} | |
− | + | | In city={{{city|}}} | |
− | + | | Has price={{#switch: {{lc:{{{price|free}}}}} | |
− | + | | free = 0 | |
− | + | | gratuit = 0 | |
− | + | | gratis = 0 | |
− | + | | {{{price}}} | |
− | + | }} | |
− | + | | Has url={{#if: {{{url|}}} | |
− | + | | {{{url}}} | |
− | + | | {{fullurl:{{FULLPAGENAME}}}} | |
− | + | }} | |
− | + | | Has coordinates={{#var:coords}} | |
− | + | | Has location={{#if: {{{venue|}}} | |
− | + | | {{{venue}}} {{#if: {{{address|}}}{{{city|}}} | – }} | |
− | + | }} {{#if: {{{address|}}} | |
− | }} | + | | {{{address}}}{{#if: {{{city|}}} | , }} |
+ | }} {{{city|}}} | ||
+ | | Has event type=External | ||
+ | | Has default form=External event | ||
+ | | Has page={{FULLPAGENAME}} | ||
+ | }}| | ||
+ | }} | ||
}} {{#if: {{{nocat|}}} | }} {{#if: {{{nocat|}}} | ||
| <!-- no categories --> | | <!-- no categories --> |
Revision as of 23:31, 9 March 2017
| |||
Date | Mon 14 November 2016 | ||
---|---|---|---|
Time | 12:00am | ||
Venue | Flying Dutchman | ||
Address |
| ||
City | |||
Price | Free | ||
Website | [1] | ||
Loading map...
| |||
Find routes on OpenStreetMap | |||
Export | iCalendar | ||
Clone this event |
Usage
{{ExternalEventSidebar |title = An awesome event |workgroup = An awesome crew |date = 14 nov 2016 |time = 12am |venue = Flying Dutchman |linkvenue = http://www.the-flying-dutchman.nl/ |address = Treasure Island 666 |postalcode = 9000 |city = Atlantica |url = https://pirateparty.be |price = free }}