Infobox Market
From Eating Asturias, the Encyclopedia of Asturian Gastronomy
JonTillman (talk | contribs) (initial creation) |
JonTillman (talk | contribs) m (added auto categories and geocoding) |
||
| Line 1: | Line 1: | ||
<infobox type="market" theme="eating-asturias"> | <infobox type="market" theme="eating-asturias"> | ||
<title source=" | <title source="market_name"> | ||
<default>{{PAGENAME}}</default> | <default>{{PAGENAME}}</default> | ||
</title> | </title> | ||
<data source=" | <data source="market_type"> | ||
<label>Type of Market:</label> | <label>Type of Market:</label> | ||
<default>General</default> | <default>General</default> | ||
</data> | </data> | ||
<data source=" | <data source="market_day"> | ||
<label>Weekday:</label> | <label>Weekday:</label> | ||
<default>Monday</default> | <default>Monday</default> | ||
</data> | </data> | ||
<data source=" | <data source="market_hours"> | ||
<label>Hours of Operation:</label> | <label>Hours of Operation:</label> | ||
<default>08:00 - 14:00</default> | <default>08:00 - 14:00</default> | ||
| Line 17: | Line 17: | ||
<data source="conceyu"> | <data source="conceyu"> | ||
<label>Conceyu:</label> | <label>Conceyu:</label> | ||
<default> | <default>Oviedo</default> | ||
</data> | </data> | ||
<data source=" | <data source="market_location"> | ||
<label>Location:</label> | <label>Location:</label> | ||
<default> | <default>C. Fontán, 15-1, 33009 Oviedo, Asturias</default> | ||
</data> | </data> | ||
<data source=" | <data source="market_vendors"> | ||
<label>Number of Vendors:</label> | <label>Number of Vendors:</label> | ||
<default>25</default> | <default>25</default> | ||
</data> | </data> | ||
</infobox> | </infobox> | ||
{{#switch: {{{market_type}}} | |||
|Collectors Market = [[Category:Collectors Markets]] | |||
|Food Market = [[Category:Food Markets]] | |||
|General Market = [[Category:General Markets]] | |||
}} | |||
{{#switch: {{{market_day}}} | |||
|Monday = [[Category:Monday Markets]] | |||
|Tuesday = [[Category:Tuesday Markets]] | |||
|Wednesday = [[Category:Wednesday Markets]] | |||
|Thursday = [[Category:Thursday Markets]] | |||
|Friday = [[Category:Friday Markets]] | |||
|Saturday = [[Category:Saturday Markets]] | |||
|Sunday = [[Category:Sunday Markets]] | |||
}} | |||
[[Category:{{{conceyu}}}]] | |||
[[Has coordinates::{{#geocode: {{{market_location}}} }}]] | |||
<noinclude>{{Documentation}}</noinclude> | <noinclude>{{Documentation}}</noinclude> | ||
Revision as of 16:22, 4 January 2023
[[Category:{{{conceyu}}}]]
Type of Market
Allowable values:
- General Market
- Collectors Market
- Food Market
Market Day
Markets that take place on multiple days should be listed under each day individually.
Allowable values:
- Monday
- Tuesday
- Wednesday
- Thursday
- Friday
- Saturday
- Sunday
Market Hours
24 hour time only, with a single dash between opening and closing hours such as: 08:00 - 14:00
Conceyu
The properly capitalized name of a conceyu in Category:Conceyos
Market Location
Location needs to be a fully formed Google Maps address in order for geocoding to work correctly. The foolproof way to do this is to:
- Search google maps for the location of the market (e.g. Mercado El Fontán, Oviedo)
- Right click on the resulting map marker and copy the Lat/Long pair (9922332281464 -5.845858400775599)
- Search in Google Maps for the lat/long pair (43°21'35.7"N 5°50'45.1"W)
- Copy the address that results e.g. (C. Fontán, 15-1, 33009 Oviedo, Asturias)
Market Vendors
A single whole number