Difference between revisions of "Template:Infobox accommodation"

From The Aruba Wiki
Jump to: navigation, search
(Created page with "<includeonly> {{Infobox | title = {{{name|}}} | name = <i>{{{alt_name|}}}</i> | image1 = <center>{{{logo|}}}</center> | image = {{#if: {{{image|}}} | {{{image|}...")
 
 
Line 14: Line 14:
 
| T3        = <b>Coordinates</b>
 
| T3        = <b>Coordinates</b>
 
| C3        = {{#if: {{{map_coord|}}} | <span class="plainlinks">[https://www.google.com/maps/place/{{{map_coord|}}}/ {{{map_coord|}}}]</span>}}
 
| C3        = {{#if: {{{map_coord|}}} | <span class="plainlinks">[https://www.google.com/maps/place/{{{map_coord|}}}/ {{{map_coord|}}}]</span>}}
 +
| T4        = <b>Cuisine</b>
 +
| C4        = {{{cuisine|}}}
 +
| T5        = <b>Meals</b>
 +
| C5        = {{{meals|}}}
 +
| T6        = <b>Opening</b>
 +
| C6        = {{{opening|}}}
 +
| T7        = <b>Features</b>
 +
| C7        = {{{features|}}}
 +
| T8        = <b>Price Range</b>
 +
| C8        = {{{rates|}}}
 +
| T9        = <b>Payment Type</b>
 +
| C9        = {{#if: {{{payment|}}} | {{{payment|}}} }} {{#if: {{{accepts|}}} | {{{accepts|}}} }}
 
| T10      = <b>Website</b>
 
| T10      = <b>Website</b>
 
| C10      = {{#if: {{{website|}}} | <span class="plainlinks">{{{website|}}}</span> }}
 
| C10      = {{#if: {{{website|}}} | <span class="plainlinks">{{{website|}}}</span> }}
 
| T11      = <b>Telephone</b>
 
| T11      = <b>Telephone</b>
 
| C11      = {{{telephone|}}}
 
| C11      = {{{telephone|}}}
 +
| T12      = <b>Toll free</b>
 +
| C12      = {{{toll-free|}}}
 
| T13      = <b>Email</b>
 
| T13      = <b>Email</b>
 
| C13      = {{#if: {{{email|}}} | <span class="plainlinks">[mailto:{{{email|}}} {{{email|}}}]</span> }}
 
| C13      = {{#if: {{{email|}}} | <span class="plainlinks">[mailto:{{{email|}}} {{{email|}}}]</span> }}
 
| T14      = <b>Rating</b>
 
| T14      = <b>Rating</b>
 
| C14      = {{#if: {{{rating|}}} | {{5Star| {{{rating|}}} }} }}{{#if: {{{star|}}} | {{5Star| {{{star|}}} }} }}
 
| C14      = {{#if: {{{rating|}}} | {{5Star| {{{rating|}}} }} }}{{#if: {{{star|}}} | {{5Star| {{{star|}}} }} }}
| T15      = <b>Rates</b>
+
{{#if: {{{food_rating|}}} | <b>Food</b> {{5Star| {{{food_rating|}}} }} }}
| C15      = {{{rates|}}}
+
{{#if: {{{value_rating|}}} | {{#if: {{{food_rating|}}} | <br> }} <b>Value</b>  {{5Star| {{{value_rating|}}} }} }}
 +
{{#if: {{{service_rating|}}} | {{#if: {{{food_rating|}}} | <br> }} <b>Service</b>  {{5Star| {{{service_rating|}}} }} }}
 +
{{#if: {{{atmosphere_rating|}}} | {{#if: {{{atmosphere_rating|}}} | <br> }} <b>Service</b>  {{5Star| {{{atmosphere_rating|}}} }} }}
 +
| T15      = <b>Open Hours</b>
 +
| C15      = {{{hours|}}}
 +
| T16      = <b>Owner</b>
 +
| C16      = {{{owner|}}}
 +
| T17      = <b>Management</b>
 +
| C17      = {{{management|}}}
 +
| T18      = <b>Operator</b>
 +
| C18      = {{{operator|}}}
 +
| T19      = <b>Key people</b>
 +
| C19      = {{{key_people|}}}
 +
| T20      = <b>Parking</b>
 +
| C20      = {{{parking|}}}
 
| map_tag  = <b style="float:left" class="nomobile">Map</b>
 
| map_tag  = <b style="float:left" class="nomobile">Map</b>
 
| map      = {{#if: {{{map_coord|}}} | <div style="float:right" class="nomobile">{{#multimaps:  {{{map_coord|}}} ~{{{name|}}}~{{{address|}}} | zoom={{{zoom|11}}} | width={{{width|280px}}} | height={{{height|240px}}} }}</div> }}
 
| map      = {{#if: {{{map_coord|}}} | <div style="float:right" class="nomobile">{{#multimaps:  {{{map_coord|}}} ~{{{name|}}}~{{{address|}}} | zoom={{{zoom|11}}} | width={{{width|280px}}} | height={{{height|240px}}} }}</div> }}
Line 29: Line 57:
 
| map_tstyle=  
 
| map_tstyle=  
 
| fstyle    =  
 
| fstyle    =  
| footer    =
+
| footer    =  
 +
}}
 +
[[Category:Restaurants]] {{#switch: {{{rating|}}} |1=[[Category:1-star Restaurants]]|2=[[Category:2-star Restaurants]] |3=[[Category:3-star Restaurants]]|4=[[Category:4-star Restaurants]]|5=[[Category:5-star Restaurants]]|}} {{#switch: {{{star|}}} |1=[[Category:1-star Restaurants]]|2=[[Category:2-star Restaurants]] |3=[[Category:3-star Restaurants]]|4=[[Category:4-star Restaurants]]|5=[[Category:5-star Restaurants]]|}} {{#if: {{{location|}}}|[[Category: Restaurants in {{{location|}}}]]}}

Latest revision as of 02:07, 21 August 2018