साँचा:Infobox hotel/doc

मुक्त ज्ञानकोश विकिपीडिया से
< साँचा:Infobox hotel
imported>SM7Bot द्वारा परिवर्तित ०९:४३, २२ दिसम्बर २०१७ का अवतरण (→‎Microformat: श्रेणी बदलाव AWB के साथ)
(अन्तर) ← पुराना अवतरण | वर्तमान अवतरण (अन्तर) | नया अवतरण → (अन्तर)
नेविगेशन पर जाएँ खोज पर जाएँ

साँचा:documentation subpage

Usage

{{{hotel_name}}}
[[file:{{{logo}}}|साँचा:px]]
{{{logo_caption}}}
[[file:{{{image}}}|साँचा:px]]
{{{caption}}}
स्थान {{{location}}}
पता {{{address}}}
होटल श्रृंखला {{{chain}}}
निर्देशांक {{{latd}}}, {{{longd}}}, ...
उद्घाटन {{{opening_date}}}
बंद हुआ {{{closing_date}}}
निर्माता {{{developer}}}
वास्तुकार {{{architect}}}
प्रबंधक {{{operator}}}
स्वामित्व {{{owner}}}
निर्माण खर्च {{{cost}}}
कमरे {{{number_of_rooms}}}
सुईट संख्या {{{number_of_suites}}}
रेस्त्राँ {{{number_of_restaurants}}}
कुल क्षेत्रफल {{{floor_area}}}
मंजिलें {{{floors}}}
ऊँचाई {{{height}}}
पार्किंग {{{parking}}}
वेबसाइट {{{website}}}
संदर्भ: {{{footnotes}}}
{{Infobox hotel
| hotel_name         = 
| logo               = 
| logo_width         = 
| logo_caption       = 
| image              = 
| image_width        = 
| caption            = 
| pushpin_map        = 
| location           = 
| address            = 
| chain              = 
| latd = |latm = |lats = |latNS = 
| longd= |longm= |longs= |longEW= 
| coordinates_type   = 
| coordinates_region = 
| coordinates_display= 
| opening_date       = 
| closing_date       = 
| developer          = 
| architect          = 
| operator           = 
| owner              = 
| cost               =
| number_of_rooms    = 
| number_of_suites   = 
| number_of_restaurants = 
| floor_area         = 
| floors             = 
| height             = 
| parking            = 
| website            = 
| footnotes          =
}}

साँचा:clear

Template fields

Field Name Required Description Values
hotel_name yes Name of hotel wikitext
logo no Logo for the hotel filename
logo_width no Width of logo as a numerical value (without px on the end)
logo_caption no Caption for logo wikitext (can contain links)
image no Image of the hotel filename
image_width no Width of image as a numerical value (without px on the end)
caption no Caption for image wikitext (can contain links)
location no Location of the hotel wikitext (can contain links) Eg;[[Joondalup, Western Australia]], [[Australia]]
address no Address of hotel The address can be different then the location, especially when it is only a mailing address and does not represent the actual physical location. Generally address should be used except when the location and address are different.
latd, latm, lats, latNS
longd, longm, longEW
no Geographic coordinates of location See साँचा:tl for details
coordinates_type no Option for साँचा:tl Default is "landmark"
coordinates_region no Option for साँचा:tl Default is empty.
coordinates_display no Option for साँचा:tl Use inline,title to display in title
pushpin_map no A location map based on coordinates Requires coordinates, see साँचा:tl for details
opening_date no Date of opening Eg; 25 January 2007
closing_date no Date hotel closed Eg; 25 January 2007
developer no Name of original hotel developer wikitext (can contain links)
architect no Name of original architect wikitext (can contain links)
operator no Name of current hotel operator wikitext (can contain links)
owner no Name(s) of current owner(s) wikitext (can contain links)
cost no Construction cost wikitext (can contain links)
number_of_rooms no Number of guest rooms (including suites) expressed as a numerical value
number_of_restaurants no Number of restaurants expressed as a numerical value May also include names of on-site restaurants separated by <br />
floor_area no Gross floor area of the hotel, expressed as a numerical value For best practice, use साँचा:tl in this field.
floors no Number of floors expressed as a numerical value
parking no Number of parking bays expressed as a numerical value
website no URL {{URL|url.com.au}}
footnotes no Footnotes and citations for information within infobox wikitext (can contain links)

Microformat

The HTML markup produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue articles across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to an address book. Within the hCard is a Geo microformat, which additionally makes the coordinates (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit. For more information about the use of microformats on Wikipedia, please see the microformat project.

Sub-templates

If the place or venue has an "established", "founded", "opened" or similar date, use साँचा:tl unless the date is before 1583 CE.

If it has a URL, use साँचा:tl.

Please do not remove instances of these sub-templates.

Classes

hCard uses HTML classes including:

  • adr
  • agent
  • category
  • county-name
  • extended-address
  • fn
  • label
  • locality
  • nickname
  • note
  • org
  • region
  • street-address
  • uid
  • url
  • vcard

Geo is produced by calling साँचा:tl, and uses HTML classes:

  • geo
  • latitude
  • longitude

Please do not rename or remove these classes nor collapse nested elements which use them.

Precision

When giving coordinates, please use an appropriate level of precision. Do not use साँचा:tl's साँचा:para parameter.