Template:PirateBeer: Difference between revisions

From Pirate Party Belgium
Jump to navigation Jump to search
No edit summary
(Redirected page to Template:PirateDrinkSidebar)
 
(25 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#vardefine:venue|{{#set: In venue={{{venue|}}} }}{{#if: {{{linkvenue|}}} | [[Has link venue::{{{linkvenue}}}|{{{venue|}}} ]] | {{{venue|}}} }} }}<nowiki />
#REDIRECT [[Template:PirateDrinkSidebar]]
{{#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>
== 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
}}</noinclude>

Latest revision as of 11:11, 5 November 2017