Template:PirateBeers: Difference between revisions

From Pirate Party Belgium
Jump to navigation Jump to search
(Redirected page to Template:PirateDrinks)
(Undo revision 29119 by HgO (talk))
Line 1: Line 1:
#REDIRECT [[Template:PirateDrinks]]
<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 00: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}}


There is no event for An awesome crew. Add a new event
Export for iCalendar

Crew BW

{{PirateBeers|Crew BW}}


There is no event for Crew BW. Add a new event
Export for iCalendar

Pirates de Liège

{{PirateBeers|Pirates de Liège|nomap=false}}


There is no event for Pirates de Liège. Add a new event
Export for iCalendar