Template:Infobox transmitter/doc: Difference between revisions
en>Funandtrvl (add category) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 01:11, 18 January 2023
File:Edit-copy green.svg | This is a documentation subpage for Template:Infobox transmitter. It contains usage information, categories and other content that is not part of the original template page. |
File:Lua-Logo.svg | This template uses Lua: |
Usage
Script error: No such module "Parameter names example".
{{Infobox transmitter | name = | image = | image_upright = | alt = | caption = | map_name = | map_caption = | map_relief = | map_label = | map_label_position = | map = | location = | mast_height = | tower_height = | coordinates = | gridref = | built = | demolished = | collapsed = | relay = | BBC = | ITV = | localtv = | switchover = }}
Parameters
Parameter | Description |
---|---|
name | Just the transmitter name, don't add transmitting station or transmitter |
image | The image filename |
image_upright | |
alt | |
caption | The image caption |
map_name | The name of the map to show |
map_caption | |
map_relief | |
map_label | |
map_label_position | |
map | To be used if a more complex map is needed, with {{Location map+}} |
location | The location of the transmitter, nearest settlement and county |
mast_height | The total height of the mast, use: {{convert|(HEIGHT IN METRES)|m|ft|0}} (formerly |height= )
|
tower_height | The total height of the tower, use: {{convert|(HEIGHT IN METRES)|m|ft|0}} (formerly |height2= )
|
coordinates | The coordinates of the mast; use {{Coord}} |
gridref | The Grid Reference of the mast |
built | The day, month and year the transmitter was built. (If an original was built on the site and a comma and the date) |
demolished | The date the transmitter was demolished. See below |
collapsed | The date the transmitter collapsed |
relay | Where the transmitter gets its main signal from, and link |
BBC | The BBC Region it transmits, in the style: [[BBC Region Name]] , e.g. [[BBC London]]
|
ITV | The ITV Region it transmits, in the style: [[Region Name|ITV Region Name]] , e.g. [[Yorkshire Television|ITV Yorkshire]]
|
localtv | The local TV service it transmits, in the style: [[Service Name]] , e.g. [[Made in Leeds]]
|
switchover | The date when BBC Two, BBC One, ITV, Channel 4 and Five analogue broadcasts ceased from this transmitter: 3 March 2010
|
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.
Tracking category
See also
Template braces | The pages listed in this category are meant to be infobox templates.
This page is part of Wikipedia's administration and not part of the encyclopedia.
Further template category notes
This category contains pages in the template namespace. It should not be used to categorize articles or pages in other namespaces. To add a template to this category:
|
Template loop detected: Template:Buildings and structures infobox templates