Difference between revisions of "Template:Infobox Restaurant"
(Created page with "<includeonly> <table style="float:right;padding:1em;background:#ececec;width:22em;font-size:88%"> <tr><td colspan=2 style="text-align:center;font-size:115%;font-weight:bold">{...") |
|||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
− | <table style="float:right;padding:1em;background:#ececec;width: | + | <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">{{{ | + | <tr><td colspan=2 style="text-align:center;font-size:115%;font-weight:bold">{{{name|}}}</td></tr> |
{{#if:{{{image|}}} | | {{#if:{{{image|}}} | | ||
<tr><td colspan=2 style=""><center>{{{image|}}}</center></td></tr> | <tr><td colspan=2 style=""><center>{{{image|}}}</center></td></tr> | ||
− | }}{{#if: {{{ | + | }}{{#if: {{{location|}}} | |
− | <tr><td style="width: | + | <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> | }}</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> | </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 | ||
}} | }} | ||
+ | == Usage rights == | ||
+ | <pre> | ||
+ | {{Infobox Restaurant | ||
+ | | name = | ||
+ | | location = | ||
+ | | address = | ||
+ | | telephone = | ||
+ | | fax = | ||
+ | | toll-free = | ||
+ | | website = | ||
+ | | email = | ||
+ | | style = | ||
+ | | star = | ||
+ | | rates = | ||
+ | | open = | ||
+ | | close = | ||
+ | }} | ||
+ | </pre> | ||
</noinclude> | </noinclude> |
Revision as of 22:44, 26 June 2018
Infobox Restaurant
| |
| |
General Information | |
---|---|
Location | Aruba |
Address | Aruba City |
Price Range | $700 |
Website | http://westerly.com.ph |
Telephone | (+1) 320 777 8888 |
Toll free | (+1) 320 777 8888 |
test@gmail.com | |
Rating | ★★★★☆ |
Usage rights
{{Infobox Restaurant | name = | location = | address = | telephone = | fax = | toll-free = | website = | email = | style = | star = | rates = | open = | close = }}