Template:PirateBeer: Difference between revisions

From Pirate Party Belgium
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 6: Line 6:
|At house number={{{number|}}}
|At house number={{{number|}}}
|In venue={{{place|}}}
|In venue={{{place|}}}
|Has date={{#if {{{date|}}} | {{#time:Y-m-d|{{{date|}}}}} }}
|Has date={{#if: {{{date|}}} | {{#time:Y-m-d|{{{date|}}}}} }}
|Has event type=Pirate Beer
|Has event type=Pirate Beer
}}{{#if: {{{date|}}} | {{#ask: [[-Has subobject::{{FULLPAGENAME}}]] [[Has event type::Pirate Beer]] [[Has date::{{#time:Y-m-d|{{{date}}}}}]]| ?Has date#MEDIAWIKI-F[D j F Y]=  | mainlabel =-}} {{#if: {{{time|}}} | {{#switch: {{{lang|}}} | fr = à | at }} {{{time}}} }} | {{#var:NA}} }}<br />
}}{{#if: {{{date|}}} | {{#ask: [[-Has subobject::{{FULLPAGENAME}}]] [[Has event type::Pirate Beer]] [[Has date::{{#time:Y-m-d|{{{date}}}}}]]| ?Has date#MEDIAWIKI-F[D j F Y]=  | mainlabel =-}} {{#if: {{{time|}}} | {{#switch: {{{lang|}}} | fr = à | at }} {{{time}}} }} | {{#var:NA}} }}<br />

Revision as of 15:13, 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

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