Anonymous user
Template:Infobox restaurant/doc: Difference between revisions
Jump to navigation
Jump to search
m
→Usage: syntaxhighlight
Richardpruen (talk | contribs) m (1 revision imported) |
imported>Cedar101 m (→Usage: syntaxhighlight) |
||
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<!-- | {{auto short description}} | ||
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --> | |||
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Infobox mapframe|Module:Location map|Module:Check for unknown parameters}} | {{Lua|Module:Infobox|Module:InfoboxImage|Module:Infobox mapframe|Module:Location map|Module:Check for unknown parameters}} | ||
== Usage == | == Usage == | ||
{{Parameter names example | name | logo | logo_width | logo_alt | image | image_width | image_alt | image_caption |mapframe=yes |mapframe-caption | pushpin_map= | map_size | map_alt | map_caption | {{Parameter names example | name | logo | logo_width | logo_alt | image | image_width | image_alt | image_caption |mapframe=yes |mapframe-caption | pushpin_map= | map_size | map_alt | map_caption | established | closed | current-owner | previous-owner | manager | head-chef | chef | pastry-chef | food-type | dress-code | rating | street-address | city | county | state | zip | country | coordinates={{coord|0.0001|-79.3950}} | seating-capacity | reservations | other-locations | other-label= | other-information | website | ||
}} | }} | ||
< | <syntaxhighlight lang="html" style="overflow:auto"> | ||
{{Infobox restaurant | {{Infobox restaurant | ||
| embed = | | embed = | ||
Line 24: | Line 25: | ||
| map_caption = | | map_caption = | ||
| map_size = | | map_size = | ||
| established = <!-- {{Start date|YYYY|MM|DD}} --> | | established = <!-- {{Start date|YYYY|MM|DD}} --> | ||
| closed = <!-- {{End date|YYYY|MM|DD}} --> | | closed = <!-- {{End date|YYYY|MM|DD}} --> | ||
| current-owner = | | current-owner = | ||
| previous-owner = | | previous-owner = | ||
| manager = | |||
| head-chef = | | head-chef = | ||
| chef = | | chef = | ||
Line 41: | Line 42: | ||
| postcode = <!-- or |zip= --> | | postcode = <!-- or |zip= --> | ||
| country = | | country = | ||
| coordinates = <!-- {{coord}} --> | | coordinates = <!-- {{coord|latitude|longitude|type:landmark|display=inline,title}} --> | ||
| seating-capacity = | | seating-capacity = | ||
| reservations = | | reservations = | ||
| | | other-locations = | ||
| other- | | other-information = <!-- or |other-label= --> | ||
| website = <!-- {{URL|example.com}} --> | | website = <!-- {{URL|example.com}} --> | ||
}} | }} | ||
</ | </syntaxhighlight> | ||
{{clear}} | |||
==Description== | ==Description== | ||
Line 92: | Line 93: | ||
| <code>map_size</code> | | <code>map_size</code> | ||
| Size of the ''pushpin_map'' | | Size of the ''pushpin_map'' | ||
|- | |- | ||
| <code>established</code> | | <code>established</code> | ||
Line 107: | Line 105: | ||
| <code>previous-owner</code> | | <code>previous-owner</code> | ||
| Who were the previous owner(s)? | | Who were the previous owner(s)? | ||
|- | |||
| <code>manager</code> | |||
| Who is the manager? | |||
|- | |- | ||
| <code>head-chef</code> | | <code>head-chef</code> | ||
Line 137: | Line 138: | ||
| <code>state</code> | | <code>state</code> | ||
| State in which the restaurant is located | | State in which the restaurant is located | ||
|- | |||
| <code>postcode</code> | |||
| Or {{para|zip}} for postal code | |||
|- | |- | ||
| <code>country</code> | | <code>country</code> | ||
Line 152: | Line 156: | ||
| <code>other-locations</code> | | <code>other-locations</code> | ||
| Are there other locations? Is the restaurant franchised? | | Are there other locations? Is the restaurant franchised? | ||
|- | |- | ||
| <code>other-information</code> | | <code>other-information</code> | ||
| closings, renovations, etc. Do not include phone numbers per [[WP:NOTYELLOW]]. | | Or {{para|other-label}} for closings, renovations, etc. Do not include phone numbers per [[WP:NOTYELLOW]]. | ||
|- | |- | ||
| <code>website</code> | | <code>website</code> | ||
Line 176: | Line 177: | ||
{{UF-hcard-geo}} | {{UF-hcard-geo}} | ||
==TemplateData== | |||
{{cot|TemplateData}} | {{cot|TemplateData}} | ||
{{TemplateData header}} | {{TemplateData header}} | ||
Line 197: | Line 199: | ||
"map_caption": {}, | "map_caption": {}, | ||
"map_size": {}, | "map_size": {}, | ||
"established": {}, | "established": {}, | ||
"closed": {}, | "closed": {}, |