Difference between revisions of "Template:Winery"

From Grapevine
Jump to: navigation, search
(Changed border color to dark grey)
(Trying different call so icon works.)
Line 34: Line 34:
 
| 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:#B546A6; border:1px solid #777777;" |<span style="font-size: 2em; font-weight: bold;">{{PAGENAME}}</span>
 
|-
 
|-
| colspan="2" | {{#cargo_display_map:point={{{Location|}}} |service=googlemaps |width=450px |zoom=15}}
+
| colspan="2" | {{#cargo_compound_query:tables=Wineries;where=_pageName='{{PAGENAME}}';fields=Location;icon=GrapeMarker.png|zoom=15|format=googlemaps}}
 
|-
 
|-
 
| colspan="2"  style="text-align:center; background-color:#B546A6; padding: 2px; border:1px solid #777777;" | <span style="font-weight: bold;">Contact Info</span>
 
| colspan="2"  style="text-align:center; background-color:#B546A6; padding: 2px; border:1px solid #777777;" | <span style="font-weight: bold;">Contact Info</span>

Revision as of 01:20, 6 September 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=
|Address=
|Logo=
}}

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