Template:PirateBeers: Difference between revisions

From Pirate Party Belgium
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
<includeonly>{| style="margin:auto; text-align: center;" |
<includeonly>
{{#ifeq: {{{headers|show}}} | show |
{{#ask:[[Category:PirateBeer]] [[Organized by::{{{1}}}]]
|?In city
|format=list
|sort=In city
|sep=
|headers=hide
|link=none
|mainlabel=-
|template=Table header
}}
{{!}}- }}
{{#ask:[[Category:PirateBeer]] [[Organized by::{{{1}}}]]
{{#ask:[[Category:PirateBeer]] [[Organized by::{{{1}}}]]
  |?In language
  |?In language
Line 21: Line 9:
  |?In city
  |?In city
  |?In postal code#
  |?In postal code#
  |format=list
  |format=template
  |sort=In city
  |sort=In city
  |link=none
  |link=none
  |headers=hide
  |headers=hide
  |sep=
  |sep=
|introtemplate=Center floats intro
  |template=PirateBeer item
  |template=PirateBeer item
|outrotemplate=Center floats outro
  |named args=1
  |named args=1
}}
|default={{#switch: {{{lang|}}} | fr = Il n'y a pas encore de Pirate Beer organisée par | There is not yet any pirate beer event organized by }} [[{{{1|{{PAGENAME}} }}}]].
|}</includeonly><noinclude>This template lists pirate beer events organized by a given crew.  
}} {{#ifeq: {{{formlink|true}}} | true | <div style="text-align:right">{{#formlink:form=PirateBeer event|query string=PirateBeer[crew]={{{1|{{PAGENAME}} }}}&PirateBeer[lang]={{{lang|en}}}|link text=''{{#switch: {{{lang|}}} | fr = Ajouter une nouvelle Pirate Beer | Add a new Pirate Beer event }}'' }}</div> }}</includeonly><noinclude>This template lists pirate beer events organized by a given crew.  


== Usage ==
== Usage ==


  <nowiki>{{PirateBeers|Crew BW|headers=show}}</nowiki>
  <nowiki>{{PirateBeers
|An awesome crew
|headers=show
|lang=en
|formlink=true
}}</nowiki>
 
All parameters are optional. Default value for the crew name is the page's name where the template is included.
 
== Examples ==
 
=== An awesome crew ===


Both parameters are optional. Default value for the crew name is the page's name where the template is included.
{{PirateBeers|An awesome crew}}


== Example ==
=== Crew BW ===


{{PirateBeers|Crew BW}}</noinclude>
{{PirateBeers|Crew BW|lang=fr}}</noinclude>

Revision as of 19:21, 30 January 2017

This template lists pirate beer events organized by a given crew.

Usage

{{PirateBeers
|An awesome crew
|headers=show
|lang=en
|formlink=true
}}

All parameters are optional. Default value for the crew name is the page's name where the template is included.

Examples

An awesome crew

There is not yet any pirate beer event organized by An awesome crew.

Add a new Pirate Beer event

Crew BW

Il n'y a pas encore de Pirate Beer organisée par Crew BW.

Ajouter une nouvelle Pirate Beer