Template:PirateBeer: Difference between revisions

From Pirate Party Belgium
Jump to navigation Jump to search
m (event type)
(simplify date format)
Line 6: Line 6:
|At house number={{{number|}}}
|At house number={{{number|}}}
|In venue={{{place|}}}
|In venue={{{place|}}}
|Has date={{#time:Y-m-d|{{{date|}}}|{{{lang|en}}}}}
|Has date={{{date|{{#var:NA}}}}}
|Has event type=Pirate Beer
|Has event type=Pirate Beer
}}{{#if: {{{date|}}} | {{#time:D. j M. Y|{{{date}}}|{{{lang|en}}}}} {{#if: {{{time|}}} | {{#switch: {{{lang|}}} | fr = à | at }} {{{time}}} }} | {{#var:NA}} }}<br />
}}{{#if: {{{date|}}} | {{{date}}} {{#if: {{{time|}}} | {{#switch: {{{lang|}}} | fr = à | at }} {{{time}}} }} | {{#var:NA}} }}<br />
{{#if: {{{linkplace|}}}{{{place|}}} | [{{{linkplace}}} {{{place}}}] | {{{place|{{#var:NA}}}}} }}, {{{street|{{#var:NA}}}}} {{{number|}}}<br />
{{#if: {{{linkplace|}}}{{{place|}}} | [{{{linkplace}}} {{{place}}}] | {{{place|{{#var:NA}}}}} }}, {{{street|{{#var:NA}}}}} {{{number|}}}<br />
{{{postalcode|}}} {{{city|}}}{{#if: {{{nocat|}}} | | {{#if: {{{crew|}}} | [[Category:{{{crew}}}]] }} }}
{{{postalcode|}}} {{{city|}}}{{#if: {{{nocat|}}} | | {{#if: {{{crew|}}} | [[Category:{{{crew}}}]] }} }}

Revision as of 14:33, 21 January 2017

Usage

{{PirateBeer
|lang = en
|crew = An awesome crew
|date = 14 nov 2016
|time = 19:30pm
|place = Flying Dutchman
|street = Treasure Island
|number = 666
|postalcode = 9000
|city = Atlantis
|linkplace=http://www.the-flying-dutchman.nl/
}}

Example

14 nov 2016 at 19:30pm
Flying Dutchman, Treasure Island 666
9000 Atlantis