|
|
(5 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
− | <includeonly>
| + | #REDIRECT[[Template:Infobox restaurant]] |
− | <table style="float:right;padding:1em;background:#ececec;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: {{{toll-free|}}} |
| |
− | <tr><td style="font-weight:bold;vertical-align:top;">{{{t3a|Toll free}}}</td><td style="vertical-align:middle;">{{{toll-free|}}}</td></tr>
| |
− | }}{{#if: {{{fax|}}} |
| |
− | <tr><td style="font-weight:bold;vertical-align:top;">{{{t4|Fax Number}}}</td><td style="vertical-align:middle;">{{{fax|}}}</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;">{{{t5a|Style}}}</td><td style="vertical-align:middle;">{{{style|}}}</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|Opening time}}}</td><td style="vertical-align:top;">{{{open|}}}</td></tr>
| |
− | }}{{#if: {{{close|}}} |
| |
− | <tr><td style="font-weight:bold;vertical-align:top;">{{{t10|Closing time}}}</td><td style="vertical-align:top;">{{{close|}}}</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>
| |
− | }}</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 City
| |
− | | telephone = (+1) 320 777 8888
| |
− | | fax = (+1) 320 777 8888
| |
− | | toll-free = (+1) 320 777 8888
| |
− | | website = http://westerly.com.ph
| |
− | | email = test@gmail.com
| |
− | | star = 4
| |
− | | rates = $700
| |
− | | style = Indian
| |
− | | open = 2:00 PM
| |
− | | close = 11:00 AM
| |
− | }}
| |
− | <pre>
| |
− | {{Infobox Restaurant
| |
− | | name = {{PAGENAME}}
| |
− | | location = Aruba
| |
− | | address = Aruba City
| |
− | | telephone = (+1) 320 777 8888
| |
− | | fax = (+1) 320 777 8888
| |
− | | toll-free = (+1) 320 777 8888
| |
− | | website = http://westerly.com.ph
| |
− | | email = test@gmail.com
| |
− | //use only from 0 to 5
| |
− | | star = 4
| |
− | | rates = $700
| |
− | | style = Indian
| |
− | | open = 2:00 PM
| |
− | | close = 11:00 AM
| |
− | }}
| |
− | </pre>
| |
− | == Usage notes ==
| |
− | <pre>
| |
− | {{Infobox Restaurant
| |
− | | name =
| |
− | | image =
| |
− | | location =
| |
− | | address =
| |
− | | telephone =
| |
− | | fax =
| |
− | | toll-free =
| |
− | | website =
| |
− | | email =
| |
− | | style =
| |
− | | star =
| |
− | | rates =
| |
− | | open =
| |
− | | close =
| |
− | }}
| |
− | </pre>
| |
− | </noinclude>
| |