Difference between revisions of "Template:PirateBeers"
(Redirected page to Template:PirateDrinks) |
|||
Line 1: | Line 1: | ||
− | # | + | <includeonly> |
+ | {{#ask: [[Has event type::PirateBeer]] {{#if: {{{1|}}} | ||
+ | | [[Organized by::{{#arraymap:{{{1}}}|,|x|x|{{!}}{{!}}}}]] | ||
+ | }} | ||
+ | |?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}} | ||
+ | }} {{#ifeq: {{{formlink|true}}} | true | ||
+ | | <span style="float:right;">''{{NewEvent|{{{1|}}}|type=PirateBeer}}''</span><br /> | ||
+ | }} {{#ifeq: {{{export|true}}} | true | ||
+ | | <span style="float:right">''{{ExportEvent|workgroup={{{1|}}}|type=PirateBeer|date=now|text={{int:event-export-for|iCalendar}} }}''</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 | ||
+ | |export=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> |
Revision as of 01:27, 5 November 2017
This template lists pirate beer events organized by a given crew. You can create a new pirate beer event with this form.
Usage
{{PirateBeers |An awesome crew |formlink=true |nomap=true |export=true }}
All parameters are optional. Default value for the crew name is the page's name where the template is included.
Examples
No Events
{{PirateBeers|An awesome crew}}
- REDIRECT Template:PirateDrinks
Crew BW
{{PirateBeers|Crew BW}}
- REDIRECT Template:PirateDrinks
Pirates de Liège
{{PirateBeers|Pirates de Liège|nomap=false}}
- REDIRECT Template:PirateDrinks