From Pirate Party Belgium
|
|
(13 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
− | <includeonly>{{#vardefine:time|{{TimeRegex| {{{time|}}} }} }}{{#vardefine:venue|{{#if: {{{linkvenue|}}} | [{{{linkvenue}}} {{{venue|}}}] | {{{venue|}}} }} }}{{#if: {{{date|}}} | {{#time:D j F Y|{{{date}}}|{{{lang|en}}} }} | ? }} {{#if: {{{time|}}} | {{#switch: {{{lang|}}} | fr = à | at }} {{#time:{{#switch: {{{lang|}}} | fr = H\hi | nl = H\ui | h:ia }}|{{#var:time}} }} }}<br />{{#if: {{{address|}}} | {{{address}}} {{#if: {{{venue|}}} | ({{#var:venue}}) }} | {{#if: {{{venue|}}} | {{#var:venue}} | ? }} }}<br />{{#if: {{{postalcode|}}} | {{{postalcode}}} {{{city}}} | {{{city}}} }} {{#if: {{{nocat|}}} | | [[Category:Event]] [[Category:PirateBeer]] }} {{#if: {{{noproperties|}}} | | {{#set: In language={{{lang|en}}}| Has date={{#time:Y/m/d H:i|{{{date}}} {{#var:time}} }}| Has time={{#var:time}}| Has address={{{address|}}}| In venue={{{venue|}}}| Has link venue={{{linkvenue|}}}| In city={{{city|}}}| In postal code={{{postalcode|}}}| Organized by={{{crew|}}}| Has coordinates={{Coordinates|address={{{address|}}}|venue={{{venue|}}}|city={{{city|}}} }}|Has event type=Pirate Beer| Has default form=Pirate event}} }}</includeonly><noinclude>
| + | #REDIRECT [[Template:PirateDrinkSidebar]] |
− | == Usage ==
| |
− | <nowiki>{{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
| |
− | }}</nowiki>
| |
− | | |
− | == Example ==
| |
− | | |
− | {{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
| |
− | |nocat = true
| |
− | |noproperties = true
| |
− | }}</noinclude>
| |
Latest revision as of 12:11, 5 November 2017