Template:PirateBeers: Difference between revisions

From Pirate Party Belgium
Jump to navigation Jump to search
No edit summary
No edit summary
Line 22: Line 22:
  |named args=1
  |named args=1
  |default={{NoEvent|{{{1|+}}}|type=PirateBeer}}
  |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}}.
}} {{#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 ==
== Usage ==
Line 30: Line 34:
|formlink=true
|formlink=true
|nomap=true
|nomap=true
|export=true
}}</nowiki>
}}</nowiki>



Revision as of 21:10, 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