مندرجات کا رخ کریں

سانچہ:خانہ معلومات ریستوران

آزاد دائرۃ المعارف، ویکیپیڈیا سے

Usage

[ترمیم]
{{{name}}}
[[File:{{{logo}}}|{{{logo_width}}}|alt={{{logo_alt}}}|{{{logo_alt}}}]]
[[File:{{{image}}}|{{{image_width}}}|alt={{{image_alt}}}|{{{image_alt}}}]]
{{{image_caption}}}
ریستوران کی معلومات
تاسیس{{{established}}}
بند{{{closed}}}
موجودہ مالک(ان){{{current-owner}}}
سابقہ مالک(ان){{{previous-owner}}}
رکاب دار{{{head-chef}}}
باورچی{{{chef}}}
Pastry chef{{{pastry-chef}}}
پکوانوں کی قسم{{{food-type}}}
Dress code{{{dress-code}}}
درجہ بندی{{{rating}}}
گلی کا پتا{{{street-address}}}
شہر{{{city}}}
کاؤنٹی{{{county}}}
صوبہ{{{state}}}
پن/زپ کوڈ{{{zip}}}
ملک{{{country}}}
جغرافیائی متناسق نظام0°00′00″N 79°23′42″W / 0.0001°N 79.3950°W / 0.0001; -79.3950
بیٹھنے کی گنجائش{{{seating-capacity}}}
Reservations{{{reservations}}}
دیگر مقامات{{{other-locations}}}
Other information{{{other-information}}}
ویب سائٹ{{{website}}}
{{خانہ معلومات ریستوران
| embed               = 
| name                = <!-- Leave blank if embed set to yes -->
| title               = <!-- If embedding use this for secondary small font title -->
| logo                = 
| logo_width          = 
| logo_alt            = 
| image               = 
| image_width         = 
| image_alt           = 
| image_caption       = 
| mapframe            = <!-- Set to yes to show a mapframe map -->
| pushpin_map         = <!-- Requires {{پیرا|coordinates}} -->
| map_alt             = 
| map_caption         = 
| map_size            = 
| established         = <!-- {{تاریخ آغاز|YYYY|MM|DD}} -->
| closed              = <!-- {{End date|YYYY|MM|DD}} -->
| current-owner       = 
| previous-owner      = 
| manager             = 
| head-chef           = 
| chef                = 
| pastry-chef         = 
| food-type           = 
| dress-code          = 
| rating              = 
| street-address      = 
| city                = 
| county              = 
| state               = 
| postcode            = <!-- or |zip= -->
| country             = 
| coordinates         = <!-- {{coord|latitude|longitude|type:landmark|display=inline,title}} -->
| seating-capacity    = 
| reservations        = 
| other-locations     = 
| other-information   = <!-- or |other-label= -->
| website             = <!-- {{URL|example.com}} -->
}}

Description

[ترمیم]
Field Description
name Name of restaurant (required)
logo Restaurant's logo
logo_width Size of logo
logo_alt Alt text for logo
image Restaurant image
image_width Size of image
image_alt Alt text for image
image_caption Caption
pushpin_map Name of a location map (see #Map and coordinates). Requires |coordinates= to display a map.
map_alt Alt text for the pushpin_map
map_caption Caption for pushpin_map
map_size Size of the pushpin_map
established When was the restaurant first opened? Use {{Start date}}
closed When was the restaurant closed? Use {{End date}}
current-owner Who is the current owner(s)?
previous-owner Who were the previous owner(s)?
manager Who is the manager?
head-chef Who is the head chef?
chef (Alternative for head chef) Who is the establishment's chef?
pastry-chef Who is the pastry chef?
food-type Food type of restaurant (French, Italian, etc.)
dress-code Dress code of the restaurant (casual, semi-formal, formal)
rating Rating of the restaurant (Michelin Guide and {{Michelin stars}}, Zagat's Survey, etc.)
street-address Address on which the restaurant is located
city City in which the restaurant is located
county County in which the restaurant is located
state State in which the restaurant is located
postcode Or |zip= for postal code
country Country the restaurant is located in
coordinates The Geographic coordinates using {{coord}} (see #Map and coordinates)
seating-capacity The seating capacity of the restaurant
reservations Are reservations required?
other-locations Are there other locations? Is the restaurant franchised?
other-information Or |other-label= for closings, renovations, etc. Do not include phone numbers per WP:NOTYELLOW.
website Restaurant's website; use {{URL}}

Map and coordinates

[ترمیم]

Coordinates

[ترمیم]

Use the |coordinates= parameter, with {{Coord}}, to display the coordinates. It will also allows the display of either an interactive {{Mapframe}} map, or {{Location map}} showing a pushpin for the location of the restaurant.

Mapframe maps

[ترمیم]
  • Basic parameters:
    • mapframe – Specify yes or no to show or hide the map, overriding the default. Default: no
      • The default value of the mapframe parameter is also modified by the internal onByDefault parameter. Default: not specified
    • mapframe-caption – Caption for the map. Default: blank (or if |mapframe-geomask= is set, "Location in geomask's label")
    • mapframe-custom – Use a custom map instead of the automatic mapframe. Specify either a {{maplink}} template, or another template that generates a mapframe map, or an image name. If used, the subsequent mapframe parameters will be ignored. Default: not specified
    • mapframe-id or id or qid – Id (Q-number) of Wikidata item to use. Default: item for current page
    • mapframe-coordinates or mapframe-coord or coordinates or coord – Coordinates to use, instead of any on Wikidata. Use the {{Coord}} template, e.g. |coord={{Coord|12.34|N|56.78|E}}. Default: coordinates from Wikidata
    • mapframe-wikidata – Set to yes to show shape/line features from the wikidata item, if any, when |coord= is set. Default: not specified
  • Customise which features are displayed:
    • mapframe-shape – Turn off display of shape feature by setting to none. Use an inverse shape (geomask) instead of a regular shape by setting to inverse. Default: not specified
    • mapframe-point – Turn off display of point feature by setting to none. Force point marker to be displayed by setting to on. Default: not specified
    • mapframe-line – Turn off display of line feature by setting to none. Default: not specified
    • mapframe-geomask – Wikidata item to use as a geomask (everything outside the boundary is shaded darker). Can either be a specific Wikidata item (Q-number), or a property that specifies the item to use (e.g. P17 for ملک (P17), P131 for انتظامی تقسیم میں مقام (P131)). Default: not specified
    • mapframe-switcher – set to auto or geomasks or zooms to enable Template:Switcher-style switching between multiple mapframes. Default: not specified
      • auto – switch geomasks found in مقام (P276) and انتظامی تقسیم میں مقام (P131) statements on the page's Wikidata item, searching recursively. E.g. an item's city, that city's state, and that state's country.
      • geomasks – switch between the geomasks specified as a comma-separated list of Wikidata items (Q-numbers) in the mapframe-geomask parameter
      • zooms – switch between "zoomed in"/"zoomed midway"/"zoomed out", where "zoomed in" is the default zoom (with a minimum of 3), "zoomed out" is 1, and "zoomed midway" is the average
  • Other optional parameters:
    • mapframe-frame-width or mapframe-width – Frame width. Default: 270
    • mapframe-frame-height or mapframe-height – Frame height. Default: 200
    • mapframe-shape-fill – Color used to fill shape features. Default: #606060
    • mapframe-shape-fill-opacity – Opacity level of shape fill, a number between 0 and 1. Default: 0.5
    • mapframe-stroke-color or mapframe-stroke-colour – Color of line features, and outlines of shape features. Default: #ff0000
    • mapframe-stroke-width – Width of line features, and outlines of shape features; default is "5". Default: 5
    • mapframe-marker – Marker symbol to use for coordinates; see mw:Help:Extension:Kartographer/Icons for options. Default: restaurant
      • Can also be set to blank to override any default marker symbol
    • mapframe-marker-color or mapframe-marker-colour – Background color for the marker. Default: #5E74F3
    • mapframe-geomask-stroke-color or mapframe-geomask-stroke-colour – Color of outline of geomask shape. Default: #555555
    • mapframe-geomask-stroke-width – Width of outline of geomask shape. Default: 2
    • mapframe-geomask-fill – Color used to fill outside geomask features. Default: #606060
    • mapframe-geomask-fill-opacity – Opacity level of fill outside geomask features, a number between 0 and 1. Default: 0.5
    • mapframe-zoom – Set the zoom level, from "1" (map of earth) to "18" (maximum zoom in), to be used if the zoom level cannot be determined automatically from object length or area. Default: 10
    • mapframe-length_km or mapframe-length_mi or mapframe-area_km2 or mapframe-area_mi2 – Determine zoom level by passing in object's length (in kilometres or miles) or area (in square kilometres or square miles). Default: not specified
    • mapframe-frame-coordinates or mapframe-frame-coord – Alternate latitude and longitude coordinates for initial placement of map, using {{coord}}. Default: derived from item coordinates
    • mapframe-type – Set the type of the object, with the same usage as {{coord}}. Default: not specified
    • mapframe-population – Set the population, useful with type="city", for {{Infobox dim}}. Default: not specified


Location maps

[ترمیم]

The pushpin_map= parameter can be used to specify a particular {{location map}}. Requires |coordinates=.

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 جغرافیائی متناسق نظام (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a عالمی مقامیابی نظام 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 {{start date}} unless the date is before 1583 CE.

If it has a URL, use {{URL}}.

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 {{coord}}, 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 {{coord}}'s |name= parameter.

TemplateData

[ترمیم]
TemplateData
ذیل میں اس سانچہ کی معلومات سانچہ دستاویز درج ہے جنہیں بصری خانہ ترمیم اور دیگر آلات استعمال کرتے ہیں۔

معلومات سانچہ خانہ معلومات ریستوران

Infobox for a restaurant.

محددات سانچہ[انتظام TemplateData]

This template has custom formatting.

پیرامیٹروضاحتطرزحالت
Namename

Name of restaurant

اِسٹرنگمطلوب
titletitle

کوئی وضاحت نہیں

Unknownاختیاری
Logologo

Restaurant's logo

فائلتجویز کردہ
Logo Widthlogo_width

Width of the logo in pixels

Unknownاختیاری
Logo Altlogo_alt

Alternative text of the logo

اِسٹرنگاختیاری
Imageimage

Restaurant image

فائلتجویز کردہ
Image Widthimage_width

Width of the image in pixels

Unknownاختیاری
Image Altimage_alt

Alternative text of the image

اِسٹرنگاختیاری
Image Captionimage_caption

A caption for the image, shown under it

اِسٹرنگاختیاری
Coordinatescoordinates

The Geographic coordinates using {{coord}}

اِسٹرنگاختیاری
Establishedestablished

When was the restaurant first opened? Use {{تاریخ آغاز}}

اِسٹرنگتجویز کردہ
Closedclosed

When was the restaurant closed? Use {{End date}}

اِسٹرنگاختیاری
Current Ownercurrent-owner

Who is the current owner(s)?

اِسٹرنگاختیاری
Previous Ownerprevious-owner

Who were the previous owner(s)?

اِسٹرنگاختیاری
Managermanager

Who is the manager?

اِسٹرنگاختیاری
Head Chefhead-chef

Who is the head chef?

اِسٹرنگاختیاری
Chefchef

(Alternative for head chef) Who is the establishment's chef?

اِسٹرنگاختیاری
Pastry Chefpastry-chef

Who is the pastry chef?

اِسٹرنگاختیاری
Food Typefood-type

Food type of restaurant

مثال
French, Italian, etc.
اِسٹرنگاختیاری
Dress Codedress-code

Dress code of the restaurant

مثال
casual, semi-formal, formal
اِسٹرنگاختیاری
Ratingrating

Rating of the restaurant (Michelin Guide and {{Michelin stars}}, Zagat's Survey, etc.)

اِسٹرنگاختیاری
Street Addressstreet-address

Address on which the restaurant is located

اِسٹرنگاختیاری
Citycity

City in which the restaurant is located

اِسٹرنگاختیاری
Countycounty

County in which the restaurant is located

اِسٹرنگاختیاری
Statestate

State in which the restaurant is located

اِسٹرنگاختیاری
Countrycountry

Country the restaurant is located in

اِسٹرنگاختیاری
ZIP/Postcodezip postcode postalcode

The postcode of the restaurant

اِسٹرنگاختیاری
postcode-typepostcode-type

کوئی وضاحت نہیں

Unknownاختیاری
Seating Capacityseating-capacity

The seating capacity of the restaurant

اِسٹرنگاختیاری
Reservations?reservations

Are reservations required?

Unknownاختیاری
Websitewebsite

Restaurant's website; use {{URL}} or {{Official URL}} if on Wikidata

اِسٹرنگاختیاری
other-labelother-label

کوئی وضاحت نہیں

Unknownاختیاری
Other Locationsother-locations

Are there other locations? Is the restaurant franchised?

اِسٹرنگاختیاری
other-informationother-information

کوئی وضاحت نہیں

Unknownاختیاری
pushpin_mappushpin_map

کوئی وضاحت نہیں

Unknownاختیاری
map_altmap_alt

کوئی وضاحت نہیں

Unknownاختیاری
map_captionmap_caption

کوئی وضاحت نہیں

Unknownاختیاری
map_sizemap_size

کوئی وضاحت نہیں

Unknownاختیاری
embedembed

کوئی وضاحت نہیں

Unknownاختیاری
Show mapframe mapmapframe

Specify yes or no to show or hide the map, overriding the default

طے شدہ
no
مثال
yes
اِسٹرنگتجویز کردہ
Mapframe captionmapframe-caption

Caption for the map. If mapframe-geomask is set, then the default is "Location in <<geomask's label>>"

اِسٹرنگاختیاری
Custom mapframemapframe-custom

Use a custom map instead of the automatic mapframe. Specify either a {{maplink}} template, or another template that generates a mapframe map, or an image name. If used, other mapframe parameters will be ignored.

سانچہاختیاری
Mapframe Wikidata itemmapframe-id id qid

Id (Q-number) of Wikidata item to use.

طے شدہ
(item for current page)
اِسٹرنگاختیاری
Mapframe shapes from Wikidatamapframe-wikidata

et to yes to show shape/line features from the wikidata item, if any, when coordinates are specified by parameter

مثال
yes
اِسٹرنگاختیاری
Mapframe point featuremapframe-point

Override display of mapframe point feature. Turn off display of point feature by setting to "none". Force point marker to be displayed by setting to "on"

اِسٹرنگاختیاری
Mapframe shape featuremapframe-shape

Override display of mapframe shape feature. Turn off by setting to "none". Use an inverse shape (geomask) instead of a regular shape by setting to "inverse"

اِسٹرنگاختیاری
Mapframe widthmapframe-frame-width mapframe-width

Frame width in pixels

طے شدہ
270
عدداختیاری
Mapframe heightmapframe-frame-height mapframe-height

Frame height in pixels

طے شدہ
200
عدداختیاری
Mapframe shape fillmapframe-shape-fill

Color used to fill shape features

طے شدہ
#606060
اِسٹرنگاختیاری
Mapframe shape fill opacitymapframe-shape-fill-opacity

Opacity level of shape fill, a number between 0 and 1

طے شدہ
0.5
عدداختیاری
Mapframe stroke colormapframe-stroke-color mapframe-stroke-colour

Color of line features, and outlines of shape features

طے شدہ
#ff0000
اِسٹرنگاختیاری
Mapframe stroke widthmapframe-stroke-width

Width of line features, and outlines of shape features

طے شدہ
5
عدداختیاری
Mapframe markermapframe-marker

Marker symbol to use for coordinates; see [[mw:Help:Extension:Kartographer/Icons]] for options

طے شدہ
restaurant
مثال
museum
اِسٹرنگاختیاری
Mapframe marker colormapframe-marker-color mapframe-marker-colour

Background color for the marker

طے شدہ
#5E74F3
اِسٹرنگاختیاری
Mapframe geomaskmapframe-geomask

Wikidata item to use as a geomask (everything outside the boundary is shaded darker). Can either be a specific Wikidata item (Q-number), or a property that specifies the item to use (e.g. P17 for country, or P131 for located in the administrative territorial entity)

مثال
Q100
صفحہاختیاری
Mapframe geomask stroke colormapframe-geomask-stroke-color mapframe-geomask-stroke-colour

Color of outline of geomask shape

طے شدہ
#555555
اِسٹرنگاختیاری
Mapframe geomask stroke widthmapframe-geomask-stroke-width

Width of outline of geomask shape

طے شدہ
2
عدداختیاری
Mapframe geomask fillmapframe-geomask-fill

Color used to fill outside geomask features

طے شدہ
#606060
اِسٹرنگاختیاری
Mapframe geomask fill opacitymapframe-geomask-fill-opacity

Opacity level of fill outside geomask features, a number between 0 and 1

طے شدہ
0.5
عدداختیاری
Mapframe zoommapframe-zoom

Set the zoom level, from "1" to "18", to used if the zoom level cannot be determined automatically from object length or area

طے شدہ
10
مثال
12
عدداختیاری
Mapframe length (km)mapframe-length_km

Object length in kilometres, for automatically determining zoom level. ONLY use ONE of the available parameters for length or area

عدداختیاری
Mapframe length (mi)mapframe-length_mi

Object length in miles, for automatically determining zoom level. ONLY use ONE of the available parameters for length or area

عدداختیاری
Mapframe area (km^2)mapframe-area_km2

Object arean square kilometres, for automatically determining zoom level. ONLY use ONE of the available parameters for length or area

عدداختیاری
Mapframe area (mi^2)mapframe-area_mi2

Object area in square miles, for automatically determining zoom level. ONLY use ONE of the available parameters for length or area

عدداختیاری
Mapframe frame coordinatesmapframe-frame-coordinates mapframe-frame-coord

Alternate latitude and longitude coordinates for initial placement of map, using {{coord}}

مثال
{{Coord|12.35|N|56.71|E}}
سانچہاختیاری
Mapframe switchermapframe-switcher

Set to "auto" or "geomasks" or "zooms" to enable Template:Switcher-style switching between multiple mapframes. IF SET TO auto – switch geomasks found in location (P276) and located in the administrative territorial entity (P131) statements on the page's Wikidata item, searching recursively. E.g. an item's city, that city's state, and that state's country. IF SET TO geomasks – switch between the geomasks specified as a comma-separated list of Wikidata items (Q-numbers) in the mapframe-geomask parameter. IF SET TO zooms – switch between "zoomed in"/"zoomed midway"/"zoomed out", where "zoomed in" is the default zoom (with a minimum of 3), "zoomed out" is 1, and "zoomed midway" is the average.

اِسٹرنگاختیاری
Mapframe coordinates mapframe-coordinates mapframe-coord coordinates. coord

Coordinates to use, instead of any on Wikidata. Use the {{Coord}} template.

طے شدہ
(coordinates from Wikidata)
مثال
{{Coord|12.34|N|56.78|E}}
سانچہاختیاری

Tracking category

[ترمیم]