|
|
(3 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
− | <includeonly>
| + | #REDIRECT[[Template:Infobox restaurant]] |
− | <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>{{{image|}}}</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><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">{{#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}}
| |
− | | 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}}
| |
− | | 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>
| |