Template:PirateBeers: Difference between revisions

From Pirate Party Belgium
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
{{#ask: [[Has event type::PirateBeer]] {{#if: {{{1|}}}  
{{#ask: [[Has event type::PirateBeer]] {{#if: {{{1|}}}  
| [[Organized by::{{#arraymap:{{{1}}}|,|x|x|{{!}}{{!}}}}]]
| [[Organized by::{{#arraymap:{{{1}}}|,|x|x|{{!}}{{!}}}}]]
| [[Organized by::+]]
}}
}}
  |?Has date#ISO
  |?Has date#ISO
Line 21: Line 20:
  |userparam={{{nomap|true}}}
  |userparam={{{nomap|true}}}
  |named args=1
  |named args=1
  |default={{NoEvent|{{{1|+}}}|type=PirateBeer}}
  |default={{NoEvent|{{{1|}}}|type=PirateBeer}}
}} {{#ifeq: {{{formlink|true}}} | true
}} {{#ifeq: {{{formlink|true}}} | true
| <span style="float:right;">''{{NewEvent|{{{1|}}}|type=PirateBeer}}''</span><br />
| <span style="float:right;">''{{NewEvent|{{{1|}}}|type=PirateBeer}}''</span><br />

Revision as of 21:34, 9 March 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