Template:PirateBeers: Difference between revisions
Jump to navigation
Jump to search
m (→Crew BW) |
(link to PirateBeer form) |
||
Line 19: | Line 19: | ||
|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}} }}}]]. | |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}} }}}]]. | ||
}} {{#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. | }} {{#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. You can create a new pirate beer event with {{#formlink:form=PirateBeer event|link text=this form}}. | ||
== Usage == | == Usage == |
Revision as of 19:33, 30 January 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 |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.
Crew BW
Il n'y a pas encore de Pirate Beer organisée par Crew BW.