সাঁচ:Infobox golf facility
Usage
[সম্পাদনা কৰক]{{Infobox golf facility | name = <!-- name of the facility --> | image = <!-- just name file name, no [[image:]] or size required | imagesize = <!-- include units --> | caption = | pushpin_map = <!-- name of a location map (see template:location map) --> | pushpin_mapsize = <!-- width of the map in px units (e.g., 250 without the px) --> | pushpin_map_caption = | latd = | latm = | lats = | latNS = | longd = | longm = | longs = | longEW = | coordinates_display= inline,title | iso_region = | location = | establishment = <!-- year --> | type = <!-- public/private --> | owner = <!-- name of organization/company --> | operator = <!-- name of organization/company --> | holes = <!-- total number of holes at club/resort --> | tournaments = <!-- notable tournaments held (if any) --> | website = | course1 = <!-- individual course name, can leave blank if same as article title --> | designer1 = | par1 = | length1 = | rating1 = | slope1 = | record1 = | image2 = <!-- a second image --> | imagesize2 = | caption2 = }}
Additional courses
[সম্পাদনা কৰক]To add additional courses (up to 8 total) use
| course2 = <!-- if only one course: leave this entry and all below parts blank --> | designer2 = | par2 = | length2 = | rating2 = | slope2 = | record2 =
| course3 = | designer3 = | par3 = | length3 = | rating3 = | slope3 = | record3 =
| course4 = | designer4 = | par4 = | length4 = | rating4 = | slope4 = | record4 =
| course5 = | designer5 = | par5 = | length5 = | rating5 = | slope5 = | record5 =
| course6 = | designer6 = | par6 = | length6 = | rating6 = | slope6 = | record6 =
| course7 = | designer7 = | par7 = | length7 = | rating7 = | slope7 = | record7 =
| course8 = | designer8 = | par8 = | length8 = | rating8 = | slope8 = | record8 =
U.S. National Register of Historic Places
[সম্পাদনা কৰক]Infobox NRHP can be embedded in this template using the "nrhp" parameter as follows:
{{Infobox golf facility | name = ... | nrhp = {{Infobox NRHP|embed = yes | name = ... }} }}
Map and coordinates
[সম্পাদনা কৰক]It's usually not necessary to use the coordinates=
parameter.
- The latitude and longitude of the course may be specified:
- in decimal degrees, using
latitude=
andlongitude=
OR - in degrees/minutes/seconds, using
latd=
,latm=
,lats=
,latNS=
,longd=
,longm=
,longs=
, andlongEW=
.
- in decimal degrees, using
- 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 is set using the
iso_region=
parameter.
One advantage of omitting the coordinates=
parameter is that you can display a {{Location map}} without duplicating coordinates.
- Parameters to specify coordinates in degrees, minutes, and seconds of arc:
{{Infobox golf facility ... | 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 golf facility ... | 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
Coordinates
[সম্পাদনা কৰক]For coordinates, use {{coord}} with display=inline,title. Please do not be overly precise.
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 article 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.
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}}.
hCard uses HTML classes including:
- adr
- agent
- category
- county-name
- extended-address
- fn
- label
- locality
- nickname
- note
- org
- region
- street-address
- 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.
When giving coordinates, please don't be overly precise.
The above documentation is transcluded from সাঁচ:Infobox golf facility/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |