Difference between revisions of "Template:Winery"

From Grapevine
Jump to: navigation, search
(Added phone link.)
Line 44: Line 44:
 
| '''Website''' || {{{Website|}}}
 
| '''Website''' || {{{Website|}}}
 
|-
 
|-
| '''Phone''' || {{{Phone|}}}
+
| '''Phone''' || {{ #if: {{{Phone|}}} | [tel:+1-{{#replace: {{{Phone}}} | |1}} {{{Phone}}} ] }}
 
|-
 
|-
 
| '''Email''' || {{ #if: {{{Email|}}} | [mailto:{{{Email|}}} {{{Email|}}}] }}
 
| '''Email''' || {{ #if: {{{Email|}}} | [mailto:{{{Email|}}} {{{Email|}}}] }}

Revision as of 12:29, 12 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.