Template:BoM Aust stats
Purpose
This template provides a quick and easy method of directly linking to specific pages on the Australian Bureau of Meteorology (BoM) website that provide climate statistics for hundreds of locations throughout Australia as well as providing a standardised format for the reference.
BOM data is used in hundreds, possibly thousands, of Australian related articles and use of this template means that should BoM change urls or page titles at some time, only this template will require updating, rather than requiring a need to change multiple articles.
Usage
Note: None of the parameters should be capitalised, in order to avoid the article being tagged as having a broken citation. For example, use "url", "title", etc. - not "URL", "Title", etc.
{{BoM Aust stats |site_ref= |site_name= |date= |access-date=}}
Required parameters
Example page used in this section:
- site_ref = This is required to form the url. Individual climate statistic page urls are in the form: http://www.bom.gov.au/climate/averages/tables/cw_061054.shtml. The site_ref field is determined from the individual page name, in this case"cw_061054".
- site_name = This is required to form the citation title and should be the name of the site as shown on the climate page. In the example used the site name is "NELSON BAY (NELSON HEAD)". While it is not mandated, the site name should be converted to title case, i.e. Nelson Bay (Nelson Head), as this is more visually appealing.
- access-date = Date accessed in the same format as the rest of the article, as per Wikipedia:Manual of Style (dates and numbers). As this template is designed for use in Australia related articles this will normally be in Australian date format, which is "dd Month year". For example, "access-date=27 September 2024". Must not be wikilinked.
Optional parameter
- date = Date the data was last published/collected. This is useful for weather stations that have been closed or are no longer actively recording data. Set the date as the last day for which data was recorded. If omitted, no date for the data will be specified.
Examples
{{BoM Aust stats |site_ref=cw_061054 |site_name=Nelson Bay (Nelson Head) |access-date=27 September 2024 }}
produces:
"Nelson Bay (Nelson Head)". Climate statistics for Australian locations. Bureau of Meteorology. Retrieved 27 September 2024.
{{BoM Aust stats |site_ref=cw_021046 |site_name=Snowtown |date=30 June 2001 |access-date=27 September 2024 }}
produces:
"Snowtown". Climate statistics for Australian locations. Bureau of Meteorology. 30 June 2001. Retrieved 27 September 2024.
Spaces
Spaces in the citation may be eliminated where not required. For example, the above example may be written as:
{{BoM Aust stats |site_ref=cw_061054 |site_name=Nelson Bay (Nelson Head)|access-date=27 September 2024}}
- Australian source templates
- Specific-source templates
- External link templates
- Weather templates
- Mbox and messagebox templates
- Pages used in system messages needing protection
- Pages with TemplateStyles errors
- Pages with broken file links
- Pages with script errors
- Template documentation
- Template documentation pages
- Template namespace templates
- Templates
- Templates based on the Infobox Lua module
- Templates generating microformats
- Templates that add a tracking category
- Templates using TemplateData
- Wikipedia metatemplates