Шаблон:Infobox business park/doc

Мавод аз Википедиа — донишномаи озод
Jump to navigation Jump to search

Usage[вироиши манбаъ]

Copy and paste the following into the top of the article.

{{Infobox business park
| name              =
| image             =
| image_size        =
| caption           =
| location          =
| address           =
| coordinates       =
| opening_date      =
| closing_date      =
| developer         =
| construction_cost =
| manager           =
| owner             =
| architect         =
| number_of_tenants =
| number_of_workers =
| size              =
| parking           =
| website           =
| footnotes         =

Template fields[вироиши манбаъ]

Field Name Required Description Values
name yes Name of business park wikitext (can contain links)
image no Image of the business park filename
image_size no Size of the image in px units
caption no Caption for image wikitext (can contain links)
location no Location of the business park wikitext (can contain links)
coordinates no Geographic coordinates of location Use {{coord}} with display=inline,title.
opening_date no Date of opening Eg; 4 February 2008
closing_date no Date closed Eg; 4 February 2008
developer no Name of original developer wikitext (can contain links)
construction_cost no Cost of park construction as a numerical value
manager no Name of current park manager wikitext (can contain links)
owner no Name(s) of current owner(s) wikitext (can contain links)
architect no Name(s) of current architect(s) wikitext (can contain links)
number_of_tenants no Number of tenants expressed as a numerical value
number_of_workers no Number of workers expressed as a numerical value
size no size of the park, expressed as a numerical value
parking no Number of parking bays expressed as a numerical value
website no URL [http://www.url.com.au url.com.au]
footnotes no Footnotes and citations for information within infobox wikitext (can contain links)

Map and coordinates[вироиши манбаъ]

It's usually not necessary to use the coordinates= parameter.

  • The latitude and longitude may be specified:
    • in decimal degrees, using latitude= and longitude= OR
    • in degrees/minutes/seconds, using latd=, latm=, lats=, latNS=, longd=, longm=, longs=, and longEW=.
  • To display coordinates at the top of the page, set coordinates_display= to any non-blank value. Otherwise coordinates will appear in the infobox only.
  • The ISO 3166-1 alpha-2 or ISO 3166-2 region code can specified using the iso_region= parameter.

One advantage of omitting the coordinates= parameter is that you can display a {{Location map}} without duplicating coordinates.

{{Infobox business park
| coordinates         = <!-- Template {{Coord}} if map is not used; empty if map is displayed. -->
| coordinates_display = <!-- non-blank to display coordinates at the top of the page. -->
| iso_region          = <!-- To override any automatically determined region code. -->
| map_type            = <!-- Location name used for Template:Location map -->
| map_alt             = <!-- Alternative text for map image, see WP:ALT for details -->
| map_caption         = <!-- Text to be displayed below map; for no caption enter "map_caption="; if the parameter is omitted then the caption will be "Marker text (location map name)" -->
| relief              = <!-- Any non-blank value (yes, 1, etc.) will cause the template to display a relief map image, where available. -->
Parameters to specify coordinates in degrees, minutes, and seconds of arc:
{{Infobox business park
| latd   = <!-- ''latitude'' degrees -->
| latm   = <!-- ''latitude'' minutes -->
| lats   = <!-- ''latitude'' seconds -->
| latNS  = <!-- latitude: S=south, N=north (default) -->
| longd  = <!-- ''longitude'' degrees -->
| longm  = <!-- ''longitude'' minutes -->
| longs  = <!-- ''longitude'' seconds -->
| longEW = <!-- longitude: W=west, E=east (default) -->
Parameters to specify coordinates in decimal degrees:
{{Infobox business park
| latitude  = <!-- ''latitude'' (decimal format; enter negative numbers for southern latitude) -->
| longitude = <!-- ''longitude'' (decimal format; enter negative numbers for western longitude) --> 

Note: coordinates in decimal degrees are sensitive to extra whitespace in the parameters:

  • Incorrect: | longitude = - 123.45
  • Correct: | longitude = -123.45

Microformat[вироиши манбаъ]

The HTML mark up 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 {{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.

See also[вироиши манбаъ]