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 36: |
Line 44: |
| | | |
| <html> | | <html> |
− | <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="550px" height="250px" viewBox="0 0 550 175" enable-background="new 0 0 550 175" xml:space="preserve" style="border:2px solid #000000;"> | + | <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="550px" height="250px" viewBox="0 0 550 175" enable-background="new 0 0 530 175" xml:space="preserve" style="border:2px solid #000000;"> |
| | | |
| <g id="qr" transform="translate(0, -25)"> | | <g id="qr" transform="translate(0, -25)"> |
Line 90: |
Line 98: |
| </g> | | </g> |
| | | |
− | <g id="title" transform="translate(165,20)"> | + | <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> |
| | | |
− | </html> | + | <g id="beer_brewmaster" transform="translate(150,63)"> |
− | <html> | + | <text font-family="Arial,Helvetica,sans-serif" font-size="12" font-weight="bold"></html>Brewmaster: {{{brewmaster}}}<html></text> |
| + | </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,167)"> | + | <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> |