Difference between revisions of "Template:Winery"

From Grapevine
Jump to: navigation, search
(Removed tinkering with logo)
Line 27: Line 27:
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
{{#cargo_declare:_table=Wineries|Location=Coordinates|Phone=Text|Website=URL|Email=Email|Hours=String|Address=Text|Sustainable=Boolean|Pet_Friendly=Boolean|Food=Boolean|Picnic_Area=Boolean|Family_Friendly=Boolean|Group_Friendly=Boolean|Price_Point=String (allowed values=$,$$,$$$,$$$$,$$$$$)|Appointment_Only=Boolean|Tours=Boolean|Tasting_Fee=Text|Entertainment=Text|Weddings=Boolean|Address=Text|Logo=Page (values from namespace=File)}}
+
{{#cargo_declare:_table=Wineries|Location=Coordinates|Phone=Text|Website=URL|Email=Email|Hours=String|Address=Text|Sustainable=Boolean|Pet_Friendly=Boolean|Food=Boolean|Picnic_Area=Boolean|Family_Friendly=Boolean|Group_Friendly=Boolean|Price_Point=String (allowed values=$,$$,$$$,$$$$,$$$$$)|Appointment_Only=Boolean|Tours=Boolean|Tasting_Fee=Text|Entertainment=Text|Weddings=Boolean|Address=Text|Logo=Page}}
</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|uploadable|input type=text with autocomplete|remote autocompletion|values from namespace=File}}} }}
+
</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|450px]] }}
 
! colspan="2" | {{ #if: {{{Logo|}}} | [[{{{Logo|}}}|center|450px]] }}

Revision as of 18:23, 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.