Anonymous

Changes

From Pumping Station One
1,010 bytes added ,  23:05, 3 March 2013
no edit summary
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, -50)">
+
<g id="qr" transform="translate(0, -25)">
 
<image width="150" height="150" xlink:href="http://chart.apis.google.com/chart?chs=150x150&cht=qr&chld=H%7C0&chl=http://wiki.pumpingstationone.org/</html>{{FULLPAGENAMEE}}<html>&.png" />
 
<image width="150" height="150" xlink:href="http://chart.apis.google.com/chart?chs=150x150&cht=qr&chld=H%7C0&chl=http://wiki.pumpingstationone.org/</html>{{FULLPAGENAMEE}}<html>&.png" />
 
</g>
 
</g>
   −
<g id="psonelogo" transform="scale(1.29) translate(340,0)">
+
<g id="psonelogo" transform="scale(1.29) translate(310,-15)">
 
<path d="M91.96,69.331c-1.228-0.708-2.618-0.859-3.892-0.546l0.005-0.009c0,0-1.667,0.637-1.943-2.097
 
<path d="M91.96,69.331c-1.228-0.708-2.618-0.859-3.892-0.546l0.005-0.009c0,0-1.667,0.637-1.943-2.097
 
c0.086-3.432-1.662-6.814-4.851-8.652c-2.436-1.407-5.226-1.637-7.719-0.872c0,0-0.008,0.005-0.022,0.01
 
c0.086-3.432-1.662-6.814-4.851-8.652c-2.436-1.407-5.226-1.637-7.719-0.872c0,0-0.008,0.005-0.022,0.01
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>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.