Difference between revisions of "Template:Infobox restaurant"
(Redirected page to Template:Infobox Restaurant) |
|||
Line 1: | Line 1: | ||
− | # | + | <includeonly> |
+ | <table style="float:right;padding:1em;background:#f5f5f5;width:25em;font-size:90%"> | ||
+ | <tr><td colspan=2 style="text-align:center;font-size:115%;font-weight:bold">{{{name|}}}</td></tr> | ||
+ | {{#if:{{{image|}}} | | ||
+ | <tr><td colspan=2 style=""><center>[[File:{{{image|}}}|180px]]</center></td></tr> | ||
+ | }}{{#if: {{{location|}}} | | ||
+ | <tr><td style="width:37%;font-weight:bold;vertical-align:top;">{{{t1|Location}}}</td><td style="width:63%;vertical-align:top;">{{{location|}}}</td></tr> | ||
+ | }}{{#if: {{{address|}}} | | ||
+ | <tr><td style="font-weight:bold;vertical-align:top;">{{{t2|Address}}}</td><td style="vertical-align:top;">{{{address|}}}</td></tr> | ||
+ | }}{{#if: {{{website|}}} | | ||
+ | <tr><td style="font-weight:bold;vertical-align:top;">{{{t6|Website}}}</td><td style="vertical-align:top;"><span class="plainlinks">[{{{website|}}} {{{website|}}}]</span></td></tr> | ||
+ | }}{{#if: {{{telephone|}}} | | ||
+ | <tr><td style="font-weight:bold;vertical-align:top;">{{{t3|Phone Number}}}</td><td style="vertical-align:middle;">{{{telephone|}}}</td></tr> | ||
+ | }}{{#if: {{{email|}}} | | ||
+ | <tr><td style="font-weight:bold;vertical-align:top;">{{{t5|Email}}}</td><td style="vertical-align:middle;"><span class="plainlinks">[mailto:{{{email|}}} {{{email|}}}]</span></td></tr> | ||
+ | }}{{#if: {{{style|}}} | | ||
+ | <tr><td style="font-weight:bold;vertical-align:top;">{{{t4|Style}}}</td><td style="vertical-align:middle;">{{{style|}}}</td></tr> | ||
+ | }}{{#if: {{{meals|}}} | | ||
+ | <tr><td style="font-weight:bold;vertical-align:top;">{{{t4a|Meals}}}</td><td style="vertical-align:middle;">{{{meals|}}}</td></tr> | ||
+ | }}{{#if: {{{star|}}} | | ||
+ | <tr><td style="font-weight:bold;vertical-align:top;">{{{t7|Star rating}}}</td><td style="vertical-align:top;">{{#switch: {{{star|}}} |0=<span style="font-size:125%">☆☆☆☆☆</span>|1=<span style="font-size:125%"><span style="color:gold">★</span>☆☆☆☆</span>|2=<span style="font-size:125%"><span style="color:gold">★★</span>☆☆☆</span> |3=<span style="font-size:125%"><span style="color:gold">★★★</span>☆☆</span>|4=<span style="font-size:125%"><span style="color:gold">★★★★</span>☆</span>|5=<span style="font-size:125%"><span style="color:gold">★★★★★</span></span>|}}</td></tr> | ||
+ | }}{{#if: {{{open|}}} | | ||
+ | <tr><td style="font-weight:bold;vertical-align:top;">{{{t9|Hours of Operation}}}</td><td style="vertical-align:top;">{{{hoop|}}}</td></tr> | ||
+ | }}{{#if: {{{rates|}}} | | ||
+ | <tr><td style="font-weight:bold;vertical-align:top;">{{{t8|Price range}}}</td><td style="vertical-align:top;">{{{rates|}}}</td></tr> | ||
+ | }}{{#if: {{{accepts|}}} | | ||
+ | <tr><td style="font-weight:bold;vertical-align:top;">{{{t8a|Accepts}}}</td><td style="vertical-align:top;">{{{accepts|}}}</td></tr> | ||
+ | }}{{#if: {{{close|}}} | | ||
+ | <tr><td style="font-weight:bold;vertical-align:top;">{{{t10|Parking}}}</td><td style="vertical-align:top;">{{{close|}}}</td></tr> | ||
+ | }}{{#if: {{{map_coord|}}} | | ||
+ | <tr class="nomobile"><td style="font-weight:bold;vertical-align:top;" colspan="2">{{{t11|Map}}}</td></tr><tr><th style="vertical-align:top;text-align:center" colspan="2"><div style="float:right" class="nomobile">{{#multimaps: {{{map_coord|}}} ~{{{name|}}}~{{{map_desc|}}} | zoom={{{zoom|11}}} | width={{{width|280px}}} | height={{{height|240px}}} }}</div></th></tr> | ||
+ | }}</table> | ||
+ | [[Category:Restaurants]] {{#switch: {{{star|}}} |1=[[Category:1-star Restaurants]]|2=[[Category:2-star Restaurants]] |3=[[Category:3-star Restaurants]]|4=[[Category:4-star Restaurants]]|[[Category:5-star Restaurants]]|}} | ||
+ | {{#if: {{{location|}}}|[[Category: Restaurants in {{{location|}}}]]}} | ||
+ | </includeonly><noinclude> | ||
+ | {{Infobox Restaurant | ||
+ | | name = {{PAGENAME}} | ||
+ | | image = placeholder.jpg | ||
+ | | location = Aruba | ||
+ | | address = Aruba | ||
+ | | telephone = (+1) 320 777 8888 | ||
+ | | website = http://westerly.com.ph | ||
+ | | email = test@gmail.com | ||
+ | | style = Western | ||
+ | | meals = All day | ||
+ | | star = 4 | ||
+ | | rates = $5-$25 | ||
+ | | accepts = Cash and Credit Cards | ||
+ | | hoop = 07:00 - 19:00 | ||
+ | | parking = none | ||
+ | | map_coord = 11.5407, 75.8446 | ||
+ | | map_desc = Sample Description Text Here | ||
+ | }} | ||
+ | <pre> | ||
+ | {{Infobox restaurant | ||
+ | | name = {{PAGENAME}} | ||
+ | | image = placeholder.jpg | ||
+ | | location = Aruba | ||
+ | | address = Aruba | ||
+ | | telephone = (+1) 320 777 8888 | ||
+ | | website = http://westerly.com.ph | ||
+ | | email = test@gmail.com | ||
+ | | style = Western | ||
+ | | meals = All day | ||
+ | //use only from 0 to 5 | ||
+ | | star = 4 | ||
+ | | rates = $5-$25 | ||
+ | | accepts = Cash and Credit Cards | ||
+ | | hoop = 07:00 - 19:00 | ||
+ | | parking = none | ||
+ | | map_coord = 11.5407, 75.8446 | ||
+ | | map_desc = Sample Description Text Here | ||
+ | }} | ||
+ | </pre> | ||
+ | == Usage notes == | ||
+ | <pre> | ||
+ | {{Infobox restaurant | ||
+ | | name = | ||
+ | | image = | ||
+ | | location = | ||
+ | | address = | ||
+ | | telephone = | ||
+ | | website = | ||
+ | | email = | ||
+ | | style = | ||
+ | | meals = | ||
+ | | star = | ||
+ | | rates = | ||
+ | | accepts = | ||
+ | | hoop = | ||
+ | | parking = | ||
+ | | map_coord = | ||
+ | | map_desc = | ||
+ | }} | ||
+ | </pre> | ||
+ | </noinclude> |
Revision as of 00:52, 25 July 2018
Infobox restaurant
| |
| |
placeholder.jpg | |
General Information | |
---|---|
Location | Aruba |
Address | Aruba |
Coordinates | 75.8446/ 11.5407, 75.8446 |
Meals | All day |
Price Range | $5-$25 |
Payment Type | Cash and Credit Cards |
Website | http://westerly.com.ph |
Telephone | (+1) 320 777 8888 |
test@gmail.com | |
Rating | ★★★★☆ |
Parking | none |
Map | |
Loading map... |
{{Infobox restaurant | name = {{PAGENAME}} | image = placeholder.jpg | location = Aruba | address = Aruba | telephone = (+1) 320 777 8888 | website = http://westerly.com.ph | email = test@gmail.com | style = Western | meals = All day //use only from 0 to 5 | star = 4 | rates = $5-$25 | accepts = Cash and Credit Cards | hoop = 07:00 - 19:00 | parking = none | map_coord = 11.5407, 75.8446 | map_desc = Sample Description Text Here }}
Usage notes
{{Infobox restaurant | name = | image = | location = | address = | telephone = | website = | email = | style = | meals = | star = | rates = | accepts = | hoop = | parking = | map_coord = | map_desc = }}