Difference between revisions of "Template:Winery"

From Grapevine
Jump to: navigation, search
(Removed redundant Address field)
m (Changed background color (Jesse))
Line 31: Line 31:
 
| colspan="2" | {{ #if: {{{Logo|}}} | [[File:{{{Logo|}}}|center|450x100px|link=]] }}
 
| colspan="2" | {{ #if: {{{Logo|}}} | [[File:{{{Logo|}}}|center|450x100px|link=]] }}
 
|-  
 
|-  
| colspan="2" style="text-align: center; background-color:#B546A6; border:1px solid #777777;" |<span style="font-size: 2em; font-weight: bold;">{{PAGENAME}}</span>
+
| colspan="2" style="text-align: center; background-color:#8A244E; border:1px solid #777777;" |<span style="font-size: 2em; font-weight: bold;">{{PAGENAME}}</span>
 
|-
 
|-
 
| colspan="2" | {{#cargo_compound_query:tables=Wineries;where=_pageName='{{PAGENAME}}';fields=Location;icon=GrapeMarker.png|width=450px|zoom=15|format=googlemaps}}
 
| colspan="2" | {{#cargo_compound_query:tables=Wineries;where=_pageName='{{PAGENAME}}';fields=Location;icon=GrapeMarker.png|width=450px|zoom=15|format=googlemaps}}
 
|-
 
|-
| colspan="2"  style="text-align:center; background-color:#B546A6; padding: 2px; border:1px solid #777777;" | <span style="font-size: 1.2em; font-weight: bold;">Contact Info</span>
+
| colspan="2"  style="text-align:center; background-color:#8A244E; padding: 2px; border:1px solid #777777;" | <span style="font-size: 1.2em; font-weight: bold;">Contact Info</span>
 
|-
 
|-
 
| '''Address:''' || {{ #if: {{{Address|}}} | [https://www.google.com/maps/dir/Current+Location/{{#replace: {{{Address}}} | |+}} {{{Address}}} ] }}
 
| '''Address:''' || {{ #if: {{{Address|}}} | [https://www.google.com/maps/dir/Current+Location/{{#replace: {{{Address}}} | |+}} {{{Address}}} ] }}
Line 47: Line 47:
 
| '''Email:''' || {{ #if: {{{Email|}}} | [mailto:{{{Email|}}} {{{Email|}}}] }}
 
| '''Email:''' || {{ #if: {{{Email|}}} | [mailto:{{{Email|}}} {{{Email|}}}] }}
 
|-
 
|-
| colspan="2"  style="text-align:center; background-color:#B546A6; padding: 2px; border:1px solid #777777;" | <span style="font-size: 1.2em; font-weight: bold;">Wine Details</span>
+
| colspan="2"  style="text-align:center; background-color:#8A244E; padding: 2px; border:1px solid #777777;" | <span style="font-size: 1.2em; font-weight: bold;">Wine Details</span>
 
|-
 
|-
 
| '''Price Point:''' || {{{Price Point|}}}
 
| '''Price Point:''' || {{{Price Point|}}}
Line 53: Line 53:
 
| '''Tasting Fee:''' || {{{Tasting Fee|}}}
 
| '''Tasting Fee:''' || {{{Tasting Fee|}}}
 
|-
 
|-
| colspan="2"  style="text-align:center; background-color:#B546A6; padding: 2px; border:1px solid #777777;" | <span style="font-size: 1.2em; font-weight: bold;">Amenities</span>
+
| colspan="2"  style="text-align:center; background-color:#8A244E; padding: 2px; border:1px solid #777777;" | <span style="font-size: 1.2em; font-weight: bold;">Amenities</span>
 
|-
 
|-
 
| '''Sustainable:''' || {{{Sustainable|}}}
 
| '''Sustainable:''' || {{{Sustainable|}}}

Revision as of 19:26, 12 October 2018

This is the "Winery" template. It should be called in the following format:

{{Winery
|Location=
|Phone=
|Website=
|Email=
|Hours=
|Address=
|Sustainable=
|Pet Friendly=
|Food=
|Picnic Area=
|Family Friendly=
|Group Friendly=
|Price Point=
|Appointment Only=
|Tours=
|Tasting Fee=
|Entertainment=
|Weddings=
|Logo=
}}

Edit the page to see the template text. This template defines the table "Wineries". View table.