Difference between revisions of "Template:BeerLabel"

From Pumping Station One
Jump to navigation Jump to search
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 +
 +
This is totally a ripoff of [[Template:EquipmentLabel]].
 +
 +
==Problems==
 +
 +
* Need to make QR code work with a cylinder, or do barcode: http://stackoverflow.com/questions/11591850/qr-code-on-non-flat-surface-projection-software - not sure.
 +
* Need to make the blurb wrap.
 +
* Need to handle non-existence of team.
  
 
==Fields==
 
==Fields==
Line 90: Line 98:
 
</g>
 
</g>
  
<g id="title" transform="translate(165,0)">
+
<g id="beer_name" transform="translate(150,0)">
<text font-family="Arial,Helvetica,sans-serif" font-size="18" font-weight="bold"></html>{{FULLPAGENAME}}<html></text>
+
<text font-family="Arial,Helvetica,sans-serif" font-size="20" font-weight="bold"></html>{{{name}}}<html></text>
 +
</g>
 +
 
 +
<g id="beer_abv" transform="translate(150,43)">
 +
<text font-family="Arial,Helvetica,sans-serif" font-size="12" font-weight="bold"></html>ABV: {{{abv_percentage}}}%<html></text>
 +
</g>
 +
 
 +
<g id="beer_brewmaster" transform="translate(150,63)">
 +
<text font-family="Arial,Helvetica,sans-serif" font-size="12" font-weight="bold"></html>Brewmaster: {{{brewmaster}}}<html></text>
 
</g>
 
</g>
  
 +
<g id="beer_team" transform="translate(150,83)">
 +
<text font-family="Arial,Helvetica,sans-serif" font-size="10" font-weight="bold"></html>Team: {{{team}}}<html></text>
 +
</g>
 +
 +
<g id="beer_blurb" transform="translate(17,133)">
 +
<text font-family="Arial,Helvetica,sans-serif" font-size="8" font-weight="bold"></html>{{{blurb}}}<html></text>
 +
</g>
  
<g id="url" transform="translate(6,267)">
+
<g id="beer_url" transform="translate(6,200)">
 
<text font-family="Arial,Helvetica,sans-serif" font-size="12"></html>{{fullurl:{{FULLPAGENAMEE}}}}<html></text>
 
<text font-family="Arial,Helvetica,sans-serif" font-size="12"></html>{{fullurl:{{FULLPAGENAMEE}}}}<html></text>
 
</g>
 
</g>

Latest revision as of 23:05, 3 March 2013


This is totally a ripoff of Template:EquipmentLabel.

Problems

Fields

{{{brewmaster}}}

The person in charge of the brew. There can be only one brewmaster.

  • brewmaster

{{{abv_percentage}}}

The percentage alcohol. Doesn't need a percent sign. A hyphenated range is fine. Only provide as many significant digits as you have.

  • abv_percentage

{{{team}}}

Those who really helped out during the brew. Up to the brewmaster to decide who to put here; but don't be a dick about it and skip people who mopped up after you and fetched things for 5 hours. They helped too. Comma separated, spaces. If not provided, you're saying you went it alone.

  • team

{{{name}}}

The name of the beer.

  • brewmaster

{{{blurb}}}

A short paragraph describing the beer; or just a little story. Suggestions: what's this guy taste like, what were the challenges and inspirations, etc.

  • brewmaster

Label

{{{name}}} ABV: {{{abv_percentage}}}% Brewmaster: {{{brewmaster}}} Team: {{{team}}} {{{blurb}}} https://wiki.pumpingstationone.org/wiki/Template:BeerLabel