Difference between revisions of "Template:PirateBeer"
m |
|||
Line 1: | Line 1: | ||
− | <includeonly>{{#vardefine: | + | <includeonly>{{#vardefine:venue|{{#set: In venue={{{venue|}}} }}{{#if: {{{linkvenue|}}} | [[Has link venue::{{{linkvenue}}}|{{{venue|}}} ]] | {{{venue|}}} }} }}<nowiki /> |
− | + | {{#if: {{{date|}}} | [[Has date::{{{date}}}|{{#time:D j F Y|{{{date}}}|{{{lang|en}}} }}]] | ? }} {{#if:{{{time|}}} | {{#switch: {{{lang|}}} | fr = à | at }} [[Has time::{{{time}}}]] }}<br /> | |
− | + | {{#if: {{{address|}}} | [[Has address::{{{address}}}]] {{#if: {{{venue|}}} | ({{#var:venue}}) }} | {{#if: {{{venue|}}} | {{#var:venue}} | ? }} }}<br /> | |
− | | | + | {{#if: {{{postalcode|}}} | [[In postal code::{{{postalcode}}}]] [[In city::{{{city}}}]] | [[In city::{{{city}}}]] }} |
− | | | + | |
− | | | + | {{#switch: {{{lang|}}} | fr = Cet évènement est organisé par | This event is organized by }} [[Organized by::{{{crew}}}]]. [[In language::{{{lang|en}}}| ]] [[Has event type::Pirate Beer| ]] [[Has default form::Pirate event| ]] {{#if: {{{nocat|}}} | | [[Category:Event]] [[Category:PirateBeer]] }}</includeonly><noinclude> |
− | |||
− | |Has date | ||
− | | | ||
− | }}{{#if: {{{ | ||
− | {{#if: {{{ | ||
− | |||
− | </includeonly><noinclude> | ||
== Usage == | == Usage == | ||
<nowiki>{{PirateBeer | <nowiki>{{PirateBeer | ||
Line 18: | Line 11: | ||
|date = 14 nov 2016 | |date = 14 nov 2016 | ||
|time = 19:30pm | |time = 19:30pm | ||
− | | | + | |venue = Flying Dutchman |
− | | | + | |linkvenue = http://www.the-flying-dutchman.nl/ |
− | | | + | |address = Treasure Island 666 |
|postalcode = 9000 | |postalcode = 9000 | ||
|city = Atlantis | |city = Atlantis | ||
− | |||
}}</nowiki> | }}</nowiki> | ||
Line 33: | Line 25: | ||
|date = 14 nov 2016 | |date = 14 nov 2016 | ||
|time = 19:30pm | |time = 19:30pm | ||
− | | | + | |venue = Flying Dutchman |
− | | | + | |linkvenue = http://www.the-flying-dutchman.nl/ |
− | | | + | |address = Treasure Island 666 |
|postalcode = 9000 | |postalcode = 9000 | ||
|city = Atlantis | |city = Atlantis | ||
− | |||
|nocat = true | |nocat = true | ||
}}</noinclude> | }}</noinclude> |
Revision as of 12:43, 30 January 2017
Usage
{{PirateBeer |lang = en |crew = An awesome crew |date = 14 nov 2016 |time = 19:30pm |venue = Flying Dutchman |linkvenue = http://www.the-flying-dutchman.nl/ |address = Treasure Island 666 |postalcode = 9000 |city = Atlantis }}
Example
| |||
Crew | An awesome crew | ||
---|---|---|---|
Date | Mon 14 November 2016 | ||
Time | Error: Invalid time. | ||
Venue | Flying Dutchman | ||
Address |
| ||
City | |||
| |||
Loading map...
| |||
Find routes on OpenStreetMap | |||
Export | iCalendar | ||
Clone this event |
"Error: Invalid time." contains an extrinsic dash or other characters that are invalid for a date interpretation.