Difference between revisions of "Template:Winery"

From Grapevine
Jump to: navigation, search
(Fixed table columns.)
(Fixed row bold and headers.)
Line 30: Line 30:
 
</noinclude><includeonly>{{#cargo_store:_table=Wineries|Location={{{Location|}}}|Phone={{{Phone|}}}|Website={{{Website|}}}|Email={{{Email|}}}|Hours={{{Hours|}}}|Address={{{Address|}}}|Sustainable={{{Sustainable|}}}|Pet_Friendly={{{Pet Friendly|}}}|Food={{{Food|}}}|Picnic_Area={{{Picnic Area|}}}|Family_Friendly={{{Family Friendly|}}}|Group_Friendly={{{Group Friendly|}}}|Price_Point={{{Price Point|}}}|Appointment_Only={{{Appointment Only|}}}|Tours={{{Tours|}}}|Tasting_Fee={{{Tasting Fee|}}}|Entertainment={{{Entertainment|}}}|Weddings={{{Weddings|}}}|Address={{{Address|}}}|Logo={{{Logo|}}} }}
 
</noinclude><includeonly>{{#cargo_store:_table=Wineries|Location={{{Location|}}}|Phone={{{Phone|}}}|Website={{{Website|}}}|Email={{{Email|}}}|Hours={{{Hours|}}}|Address={{{Address|}}}|Sustainable={{{Sustainable|}}}|Pet_Friendly={{{Pet Friendly|}}}|Food={{{Food|}}}|Picnic_Area={{{Picnic Area|}}}|Family_Friendly={{{Family Friendly|}}}|Group_Friendly={{{Group Friendly|}}}|Price_Point={{{Price Point|}}}|Appointment_Only={{{Appointment Only|}}}|Tours={{{Tours|}}}|Tasting_Fee={{{Tasting Fee|}}}|Entertainment={{{Entertainment|}}}|Weddings={{{Weddings|}}}|Address={{{Address|}}}|Logo={{{Logo|}}} }}
 
{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
 
{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
! colspan="2" | {{ #if: {{{Logo|}}} | [[{{{Logo|}}}|center|450x100px]] }}
+
| colspan="2" | {{ #if: {{{Logo|}}} | [[{{{Logo|}}}|center|450x100px]] }}
 
|-  
 
|-  
! style="text-align: center; background-color:#B546A6;" colspan="2" |<span style="font-size: 2em;">{{PAGENAME}}</span>
+
| style="text-align: center; background-color:#B546A6;" colspan="2" |<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_display_map:point={{{Location|}}} |service=googlemaps |width=450px |zoom=15}}
 
|-
 
|-
! colspan="2"  style="text-align:center; background-color:#B546A6; padding: 2px" | Contact Info
+
| colspan="2"  style="text-align:center; background-color:#B546A6; padding: 2px" | <span style="font-weight: bold;">Contact Info</span>
 
|-
 
|-
! Address || {{{Address|}}}
+
| Address || {{{Address|}}}
 
|-
 
|-
! Hours || {{{Hours|}}}
+
| Hours || {{{Hours|}}}
 
|-
 
|-
! Website || {{{Website|}}}
+
| Website || {{{Website|}}}
 
|-
 
|-
! Phone || {{{Phone|}}}
+
| Phone || {{{Phone|}}}
 
|-
 
|-
! Email || {{ #if: {{{Email|}}} | [mailto:{{{Email|}}} {{{Email|}}}] }}
+
| Email || {{ #if: {{{Email|}}} | [mailto:{{{Email|}}} {{{Email|}}}] }}
 
|-
 
|-
! colspan="2"  style="text-align:center; background-color:#B546A6; padding: 2px" | Details
+
| colspan="2"  style="text-align:center; background-color:#B546A6; padding: 2px" | <span style="font-weight: bold;">Details</span>
 
|-
 
|-
! Sustainable || {{{Sustainable|}}}
+
| Sustainable || {{{Sustainable|}}}
 
|-
 
|-
! Pet Friendly || {{{Pet Friendly|}}}
+
| Pet Friendly || {{{Pet Friendly|}}}
 
|-
 
|-
! Food || {{{Food|}}}
+
| Food || {{{Food|}}}
 
|-
 
|-
! Picnic Area || {{{Picnic Area|}}}
+
| Picnic Area || {{{Picnic Area|}}}
 
|-
 
|-
! Family Friendly || {{{Family Friendly|}}}
+
| Family Friendly || {{{Family Friendly|}}}
 
|-
 
|-
! Group Friendly || {{{Group Friendly|}}}
+
| Group Friendly || {{{Group Friendly|}}}
 
|-
 
|-
! Price Point || {{{Price Point|}}}
+
| Price Point || {{{Price Point|}}}
 
|-
 
|-
! Appointment Only || {{{Appointment Only|}}}
+
| Appointment Only || {{{Appointment Only|}}}
 
|-
 
|-
! Tours || {{{Tours|}}}
+
| Tours || {{{Tours|}}}
 
|-
 
|-
! Tasting Fee || {{{Tasting Fee|}}}
+
| Tasting Fee || {{{Tasting Fee|}}}
 
|-
 
|-
! Entertainment || {{{Entertainment|}}}
+
| Entertainment || {{{Entertainment|}}}
 
|-
 
|-
! Weddings || {{{Weddings|}}}
+
| Weddings || {{{Weddings|}}}
 
|-
 
|-
 
|}
 
|}

Revision as of 22:05, 5 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.