Difference between revisions of "Template:PirateBeers"

From Pirate Party Belgium
Jump to: navigation, search
Line 1: Line 1:
 
<includeonly>{| style="margin:auto; text-align: center;" |
 
<includeonly>{| style="margin:auto; text-align: center;" |
 +
{{#ifeq: {{{headers|show}}} | show |
 
{{#ask:[[Category:PirateBeer]] [[Organized by::{{{1}}}]]
 
{{#ask:[[Category:PirateBeer]] [[Organized by::{{{1}}}]]
 
  |?In city
 
  |?In city
Line 10: Line 11:
 
  |template=Table header
 
  |template=Table header
 
}}
 
}}
|-
+
{{!}}- }}
 
{{#ask:[[Category:PirateBeer]] [[Organized by::{{{1}}}]]
 
{{#ask:[[Category:PirateBeer]] [[Organized by::{{{1}}}]]
 
  |?In language
 
  |?In language
Line 28: Line 29:
 
  |named args=1
 
  |named args=1
 
}}
 
}}
|}<includeonly>
+
|}<includeonly><noinclude>This template lists pirate beer events organized by a given crew.
 +
 
 +
== Usage ==
 +
 
 +
<nowiki>{{PirateBeers|An awesome Crew|headers=show}}</nowiki>
 +
 
 +
Both parameters are optional. Default value for the crew name is the page's name where the template is included.
 +
 
 +
== Example ==
 +
 
 +
{{PirateBeers|Crew BW}}</noinclude>

Revision as of 13:30, 30 January 2017