සැකිල්ල:තොරතුරුකොටුව උයන/doc
This is a documentation subpage for සැකිල්ල:තොරතුරුකොටුව උයන. It may contain usage information, categories and other content that is not part of the original සැකිල්ල page. |
Usage
සංස්කරණයThis template can be used for any park, nature reserve or gardens.
Copy and paste the template below into the page you want your template in.
{{Infobox park | name = | alt_name = | image = | image_size = | alt = | caption = | type = | location = | coordinates = {{Coord|NNNNN|NNNNN|type:landmark|display=inline,title}} | size = | opened = {{Start date|YYYY}} | operator = | visitors = | status = | open_dates = | website = | image_dot_map = | dot_mapsize = | dot_map_base_alt = | dot_map_alt = | dot_map_caption = | dot_x = | dot_y = }}
Only the name
parameter is required. If the park has an alternative name (for example, in the native language), this can be specified using the alt_name
parameter. If the default image size is not appropriate, the image_size
parameter may be used to override the default. If you specify an image you should also specify a value for the alt
text parameter for visually impaired readers who might use a screen reader. Please see WP:ALT.
If you leave a field blank, it will not display on the article page.
Use {{coord}} template with display=inline,title to display the coordinates.
The {{convert}} template can be used to display the size (area). Please see WP:UNITS.
The image dot map parameters work the same way as Template:Infobox settlement. If you define image_dot_map, then the other fields become active.
Park Name | |
---|---|
اسم الحديقة | |
පිහිටීම | Townsville, Country |
විවෘත කිරීම | 2000 |
නඩත්තු කිරීම | Townsville city council |
වාර්ෂික සංචාරක ආකර්ෂණය | 1,000,000 |
Open | All year |
වෙබ්-අඩවිය (Website) | www.example.net |
Opened | 2000 |
The example on the right was created using the following code:
{{Infobox park |name = Park Name |alt_name = {{lang|ar|اسم الحديقة}} |image = Park.jpg |alt = City lake, about 200 m in diameter, with a fountain in the center that shoots water about 25 m high. A few small pleasure craft are in the lake. In the background are trees and buildings. |caption = Park with fountain and lake |type = public park |location = Townsville, Country |coordinates = {{coord|90.000|90.000|type:landmark|display=inline,title}} |size = {{convert|100|ha|0}} |opened = {{Start date|2000}} |operator = Townsville city council |visitors = 1,000,000 |open_dates = All year |website = [http://www.example.net www.example.net] }}
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 "established", "founded", "opened" or similar dates, use {{start date}} for the earliest of those dates 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.