Template:PirateBeer: Difference between revisions

From Pirate Party Belgium
Jump to navigation Jump to search
m (event type)
(Redirected page to Template:PirateDrinkSidebar)
 
(34 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#vardefine:NA|?}}{{#subobject:Pirate Beer
#REDIRECT [[Template:PirateDrinkSidebar]]
|Organized by={{{crew|{{PAGENAME}}}}}
|In city={{{city|}}}
|In postal code={{{postalcode|}}}
|In street={{{street|}}}
|At house number={{{number|}}}
|In venue={{{place|}}}
|Has date={{#time:Y-m-d|{{{date|}}}|{{{lang|en}}}}}
|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: {{{linkplace|}}}{{{place|}}} | [{{{linkplace}}} {{{place}}}] | {{{place|{{#var:NA}}}}} }}, {{{street|{{#var:NA}}}}} {{{number|}}}<br />
{{{postalcode|}}} {{{city|}}}{{#if: {{{nocat|}}} | | {{#if: {{{crew|}}} | [[Category:{{{crew}}}]] }} }}
</includeonly><noinclude>
== Usage ==
<nowiki>{{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/
}}</nowiki>
 
== Example ==
 
{{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/
|nocat = true
}}</noinclude>

Latest revision as of 11:11, 5 November 2017