Template:PirateBeers: Difference between revisions

From Pirate Party Belgium
Jump to navigation Jump to search
No edit summary
(Redirected page to Template:PirateDrinks)
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
#REDIRECT [[Template:PirateDrinks]]
{{#ask:[[Category:PirateBeer]] [[Organized by::{{{1|{{PAGENAME}} }}}]]
|?In language
|?Has date#ISO
|?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
|userparam={{{headers|}}}
|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. You can create a new pirate beer event with {{#formlink:form=PirateBeer event|link text=this form}}.
 
== 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