Template:PirateBeers: Difference between revisions

From Pirate Party Belgium
Jump to navigation Jump to search
No edit summary
(Redirected page to Template:PirateDrinks)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
#REDIRECT [[Template:PirateDrinks]]
{{#ask: [[Has event type::PirateBeer]] {{#if: {{{1|}}}
| [[Organized by::{{#arraymap:{{{1}}}|,|x|x|{{!}}{{!}}}}]]
| [[Organized by::+]]
}}
|?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=Table center intro
|template=PirateBeer item
|outrotemplate=Table outro
|userparam={{{nomap|true}}}
|named args=1
|default={{NoEvent|{{{1|+}}}|type=PirateBeer}}
}} <span style="float:right;">''{{NewEvent|{{{1|}}}|type=PirateBeer}}''</span><br /></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
|formlink=true
|nomap=true
}}</nowiki>
 
All parameters are optional. Default value for the crew name is the page's name where the template is included.
 
== Examples ==
 
=== No Events ===
 
<nowiki>{{PirateBeers|An awesome crew}}</nowiki>
 
{{PirateBeers|An awesome crew}}
 
=== [[Crew BW#Pirate Beer|Crew BW]] ===
 
<nowiki>{{PirateBeers|Crew BW}}</nowiki>
 
{{PirateBeers|Crew BW}}
 
=== [[Pirates de Liège]] ===
 
<nowiki>{{PirateBeers|Pirates de Liège|nomap=false}}</nowiki>
 
{{PirateBeers|Pirates de Liège|nomap=false}}</noinclude>

Latest revision as of 11:14, 5 November 2017