Difference between revisions of "Template:Infobox hotel"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
imported>Chongkian
(it has been redirected already)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Infobox
+
#REDIRECT [[Template:Infobox building]]
|child={{#ifeq:{{{embed|}}}|yes|yes}}
 
|bodystyle=width:225px; border-spacing:1px
 
| headerstyle = background-color:#ddd
 
|data1    = <div style="width:100%; text-align:center; font-size:105%; font-weight:bold; background:
 
#A8EDEF; line-height:1.5">{{{hotel_name<includeonly>|{{PAGENAME}}</includeonly>}}}</div>
 
 
 
| header9  = {{#ifeq:{{{embed|}}}|yes|Hotel details}}
 
|data10  = {{#if:{{{logo<includeonly>|</includeonly>}}}|[[File:{{{logo}}}|{{{logo_width|240}}}px|alt={{{alt|}}}]]}}
 
|data11  = {{#if:{{{Logo_caption<includeonly>|</includeonly>}}}|<div style="font-size:90%;">{{{Logo_caption}}}</div>|}}
 
|data12  = {{#if:{{{image<includeonly>|</includeonly>}}}|[[File:{{{image}}}|{{{image_size|240}}}px|alt={{{alt|}}}]]}}
 
|data13  = {{#if:{{{caption<includeonly>|</includeonly>}}}|<div style="font-size:90%;">{{{caption}}}</div>|}}
 
 
 
<!--- Coordinates --->
 
| data14      = {{#if:{{{map_type|}}}|<center>{{Location map|{{{map_type|}}}
 
|alt    = {{{map_alt|}}}
 
|lat    = {{#if:{{{latm|}}}{{{latNS|}}}| | {{#if:{{{latitude|}}}|{{{latitude}}}|{{{latd|}}}}} }}
 
|long    = {{#if:{{{longm|}}}{{{longEW|}}}| | {{#if:{{{longitude|}}}|{{{longitude}}}|{{{longd|}}}}} }}
 
|lat_deg ={{#if:{{{latm|}}}{{{latNS|}}}|{{{latd|}}}| }}
 
|lat_min ={{#if:{{{latm|}}}{{{latNS|}}}|{{{latm|}}}| }}
 
|lat_sec ={{#if:{{{lats|}}}{{{latNS|}}}|{{{lats|}}}| }}
 
|lat_dir ={{#if:{{{latNS|}}}|{{{latNS|}}}| }}
 
|lon_deg ={{#if:{{{longm|}}}{{{longEW|}}}|{{{longd|}}}| }}
 
|lon_min ={{#if:{{{longm|}}}{{{longEW|}}}|{{{longm|}}}| }}
 
|lon_sec ={{#if:{{{longs|}}}{{{longEW|}}}|{{{longs|}}}| }}
 
|lon_dir ={{#if:{{{longEW|}}}|{{{longEW|}}}| }}
 
|float  = center
 
|mark= {{#switch:{{lc:{{{pushpin}}}}}
 
  |bed = Legenda hotel.svg
 
  |green = Green pog.svg
 
  |red|#default = Red pog.svg
 
}}
 
|marksize= 7
 
|label  = {{{map dot label|{{{map_dot_label|}}}}}}
 
|relief  = {{{relief|}}}
 
|border  = none
 
|caption = {{{map_caption|<center>Location within {{{map_type}}}</center>}}}
 
|width  = {{{map_size|}}}
 
}}</center>|<!--
 
-->{{#if:{{{image_map|}}}|[[File:{{{image_map|}}}|center|{{px|{{{map_size|}}}|frameless}}|alt={{{map_alt|}}}]]}}<!-- -->}}
 
| caption2    = {{#if:{{{map_type|}}}||{{{map_caption|}}}}}
 
 
 
|label15  = Location: <!--- Covered in infobox building --->
 
|data15  = {{{location<includeonly>|</includeonly>}}}
 
|label16  = Address: <!--- Covered in infobox building --->
 
|data16  = {{{address<includeonly>|</includeonly>}}}
 
 
 
| label17  = [[Geographic coordinate system|Coordinates]] <!--- Covered in infobox building --->
 
| data17    = {{#if:{{both|{{{latitude|}}}{{{latd|}}}|{{{longitude|}}}{{{longd|}}}}}|
 
{{Geobox coor|{{#if:{{{latitude|}}}|{{{latitude}}}|{{{latd|}}}}}|{{{latm|}}}|{{{lats|}}}|{{{latNS|}}}|{{#if:{{{longitude|}}}|{{{longitude}}}|{{{longd|}}}}}|{{{longm|}}}|{{{longs|}}}|{{{longEW|}}}|type:landmark{{#if: {{{iso_region|}}}|_region:{{{iso_region}}}|{{#if:{{{location_country|}}}|_region:{{CountryAbbr|{{{location_country}}}|}}|}}}}|{{#if:{{{coordinates_display|}}}|title|μ}}={{{coordinates_display|}}}|format={{{coordinates_format|}}}}}|{{{coordinates|}}}}}
 
 
 
<!--- Other --->
 
 
 
|label19  = Hotel chain:
 
|data19  = {{{chain<includeonly>|</includeonly>}}}
 
|label20  = Former names:
 
|data20  = {{{former_names<includeonly>|</includeonly>}}}
 
|label21  = Opening date:
 
|data21  = {{{opening_date<includeonly>|</includeonly>}}}
 
|label22  = Closing date:
 
|data22  = {{{closing_date<includeonly>|</includeonly>}}}
 
|label23  = Developer: <!--- Covered in infobox building --->
 
|data23  = {{{developer<includeonly>|</includeonly>}}}
 
|label24  = Architect: <!--- Covered in infobox building --->
 
|data24  = {{{architect<includeonly>|</includeonly>}}}
 
|label25  = Management:
 
|data25  = {{{operator<includeonly>|</includeonly>}}}
 
|label26  = Owner:
 
|data26  = {{{owner<includeonly>|</includeonly>}}}
 
|label27  = Affiliation(s)
 
|data27  = {{{affiliation<includeonly>|</includeonly>}}}
 
|label28  = Cost: <!--- Covered in infobox building --->
 
|data28  = {{{cost<includeonly>|</includeonly>}}}
 
|label29  = Rooms:
 
|data29  = {{{number_of_rooms<includeonly>|</includeonly>}}}
 
|label30  = Suites:
 
|data30  = {{{number_of_suites<includeonly>|</includeonly>}}}
 
|label40  = Restaurants:
 
|data40  = {{{number_of_restaurants<includeonly>|</includeonly>}}}
 
|label41  = Bars:
 
|data41  = {{{number_of_Bars<includeonly>|</includeonly>}}}
 
|label42  = Total floor area:
 
|data42  = {{{floor_area<includeonly>|</includeonly>}}}
 
|label43  = Floors: <!--- Covered in infobox building  as Top floor--->
 
|data43  = {{{floors<includeonly>|</includeonly>}}}
 
|label44  = Total height: <!--- Covered in infobox building  as height--->
 
|data44  = {{{height<includeonly>|</includeonly>}}}
 
|label45  = Facilities:
 
|data45  = {{{Facilities<includeonly>|</includeonly>}}}
 
|label46  = Parking: <!--- Covered in infobox building --->
 
|data46  = {{{parking<includeonly>|</includeonly>}}}
 
|label47  = Website:
 
|data47  = {{{website<includeonly>|</includeonly>}}}
 
|label48  = {{#if:{{{footnotes|}}}|'''References:'''}}    <!--- Covered in infobox building --->
 
|data48  = {{{footnotes<includeonly>|</includeonly>}}}
 
}}<!--End of infobox-->{{main other|{{#if:{{{Facilities|}}}{{{pushpin|}}}{{{affiliation|}}}|[[Category:Infobox hotel using parameters not found in infobox building]]}}
 
}}<noinclude>
 
{{documentation}}<!-- Please add categories and interwikis to the /doc subpage, not here. -->
 
</noinclude>
 

Latest revision as of 02:03, 15 January 2021