Template:Infobox transmitter/doc

From The Democratikan Wiki
Revision as of 18:08, 28 May 2023 by wikipedia>WOSlinker (syntaxhighlight lang="wikitext")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

{{{name}}}
[[File:{{{image}}}|frameless|alt={{{alt}}}|upright={{{image_upright}}}]]
{{{caption}}}
{{{map}}}
Location{{{location}}}
Mast height{{{mast_height}}}
Tower height{{{tower_height}}}
Coordinates{{{coordinates}}}
Grid reference{{{gridref}}}
Built{{{built}}}
Demolished{{{demolished}}}
Collapsed{{{collapsed}}}
Relay of{{{relay}}}
BBC region{{{BBC}}}
ITV region{{{ITV}}}
Local TV service{{{localtv}}}
Digital switchover{{{switchover}}}

<syntaxhighlight lang="wikitext" style="overflow:auto;">

CoordinatesLua error in Module:Coordinates at line 611: attempt to index field 'wikibase' (a nil value).

</syntaxhighlight>

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