Template:PirateBeers: Difference between revisions

From Pirate Party Belgium
Jump to navigation Jump to search
(Redirected page to Template:PirateDrinks)
 
(18 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
#REDIRECT [[Template:PirateDrinks]]
{{#ask:[[Category:PirateBeer]] [[Organized by::{{{1}}}]]
|?In language
|?Has date#MEDIAWIKI-F[D j F Y]
|?Has time
|?In venue
|?Has link venue
|?Has address
|?In city
|?In postal code#
|format=template
|sort=In city
|link=none
|headers=hide
|sep=
|introtemplate=Center floats intro
|template=PirateBeer item
|outrotemplate=Center floats outro
|named args=1
|default={{#switch: {{{lang|}}} | fr = Il n'y a pas encore de Pirate Beer organisée par | There is not yet any pirate beer event organized by }} [[{{{1|{{PAGENAME}} }}}]].
}} {{#ifeq: {{{formlink|true}}} | true | <div style="text-align:right">{{#formlink:form=PirateBeer event|query string=PirateBeer[crew]={{{1|{{PAGENAME}} }}}&PirateBeer[lang]={{{lang|en}}}|link text=''{{#switch: {{{lang|}}} | fr = Ajouter une nouvelle Pirate Beer | Add a new Pirate Beer event }}'' }}</div> }}</includeonly><noinclude>This template lists pirate beer events organized by a given crew.
 
== Usage ==
 
<nowiki>{{PirateBeers
|An awesome crew
|headers=show
|lang=en
|formlink=true
}}</nowiki>
 
All parameters are optional. Default value for the crew name is the page's name where the template is included.
 
== Examples ==
 
=== An awesome crew ===
 
{{PirateBeers|An awesome crew}}
 
=== [[Crew BW#Pirate Beer|Crew BW]] ===
 
{{PirateBeers|Crew BW|lang=fr}}</noinclude>

Latest revision as of 11:14, 5 November 2017