Шаблон:Infobox aqueduct/doc

Мавод аз Википедиа — донишномаи озод
Jump to navigation Jump to search
Information.svg Ҳуҷҷатҳо

Usage[вироиш]

Copy and paste the template below:

{{Infobox aqueduct
| name            = 
| image           = 
| caption         = 
| official_name   = 
| starts          = 
| ends            = 
| maint           = 
| length          = 
| height          = 
| width           = 
| diameter        = 
| first_length    = 
| first_diameter  = 
| second_length   = 
| second_diameter = 
| third_length    = 
| third_diameter  = 
| capacity        = 
| began           = 
| open            = 
| closed          = 
| map_image       = 
| map_width       = 
| lat             = 
| long            = 
| coordinates_region = 
| references      = 
}}

Parameter descriptions[вироиш]

  • name= Name of aqueduct
  • image= Filename of image
  • image_size= override default 250px (avoid using)
  • caption= Text for caption beneath image
  • official_name= Official name
  • starts= Where the aqueduct starts
  • ends= Where the aqueduct ends
  • maint= Maintaining Entity (California Department of Transportation)
  • length= Length of aqueduct, w/ metric conversions
  • height= Height of aqueduct inside, w/ metric conversions
  • width= Width of the aqueduct inside, w/ metric conversions
  • diameter= (if it's pipe)
  • first_length= length of first section, if segmented
  • first_diameter= diameter of first section, if segmented
  • second_length= length of second section, if segmented
  • second_diameter= diameter of second section, if segmented
  • third_length= length of third section, if segmented
  • third_diameter= diameter of third section, if segmented
  • capacity= rate-of-flow
  • began= Date construction began
  • open= Opening date
  • closed= Closing date
  • map_image= Filename of map image
  • map_caption= Caption beneath map image
  • map_width= Map width in a standard value (pixels, for example)
  • lat= Latitude, long= Longitude
  • references = general references for the data in the infobox
  • extra= free form, spans both columns, use sparingly

Coordinates[вироиш]

  • The latitude and longitude of the aqueduct may be specified:
    • in decimal degrees, using lat= and long= OR
    • in degrees/minutes/seconds, using latd=, latm=, lats=, latNS=, longd=, longm=, longs=, and longEW=.
  • To suppress the display coordinates at the top of the page, set coordinates_display=inline.
  • The ISO 3166-1 alpha-2 or ISO 3166-2 region code can set using the coordinates_region= parameter.
{{Infobox aqueduct
...
| 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) -->
| coordinates_display = <!-- non-blank to display coordinates at the top of the page. -->
| coordinates_region  = <!-- coordinates region code. -->
...
}}
Parameters to specify coordinates in degrees, minutes, and seconds of arc:
{{Infobox aqueduct
...
| 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 bridge
...
| lat  = <!-- ''latitude'' (decimal format; enter negative numbers for southern latitude) -->
| long = <!-- ''longitude'' (decimal format; enter negative numbers for western longitude) --> 
...
}}

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

  • Incorrect: | long = - 123.45
  • Correct: | long = -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[вироиш]