|
|
(3 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}}
| |
− | }} {{#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>
| |