User:Sammi Brie/Infobox broadcast revamp/doc
This is a documentation subpage for User:Sammi Brie/Infobox broadcast revamp. It may contain usage information, categories and other content that is not part of the original user template page. |
This template uses Lua: |
This template adds an automatically generated short description. If the automatic short description is not optimal, replace it by adding {{Short description}} at the top of the article. |
{{Infobox broadcast}} is an infobox for television station articles.
Usage
edit{{{above}}} | |
---|---|
[[File:{{{logo}}}|{{{logo_size}}}|alt={{{logo_alt}}}|class=ib-tv-station-logo]] | |
[[File:{{{image}}}|{{{image_size}}}|alt={{{image_alt}}}|class=ib-tv-station-logo]] | |
| |
City | {{{city}}} |
Channels | |
Branding | {{{branding}}} |
Programming | |
Language(s) | {{{language}}} |
Subchannels | {{{subchannels}}} |
Network | {{{network}}} |
Affiliations | {{{affiliations}}} |
Ownership | |
Owner |
|
Operator | {{{operator}}} |
{{{sister_stations}}} | |
History | |
Founded | {{{founded}}} |
First air date | {{{airdate}}} |
Last air date | {{{last_airdate}}} |
Former call signs | {{{former_callsigns}}} |
Former names | {{{former_names}}} |
Former channel number(s) | {{{former_channel_numbers}}} |
{{{former_affiliations}}} | |
Call sign meaning | {{{callsign_meaning}}} |
Technical information[1] | |
Licensing authority | {{{licensing_authority}}} |
Facility ID | {{{facility_id}}} |
Class | {{{class}}} |
Power | {{{power}}} |
ERP | {{{erp}}} |
HAAT | {{{haat}}} |
Transmitter coordinates | {{{coordinates}}} |
Translator(s) | {{{translator}}} |
Repeater(s) | {{{repeater}}} |
Links | |
Website | {{{website}}} |
{{User:Raymie/Infobox broadcast revamp | location = | city = | country = | above = | call_letters = | callsign = | name = | logo = | logo_size = | logo_alt = | logo_caption = | image = | image_size = | image_alt = | caption = | analog = | digital = | virtual = | branding = | slogan = | language = | subchannels = | network = | affiliations = | owner = | licensee = | operator = | sister_stations = | founded = | airdate = | last_airdate = | former_callsigns = | former_names = | former_channel_numbers = | former_affiliations = | callsign_meaning = | licensing_authority = | facility_id = | class = | power = | erp = | haat = | coordinates = | translator = | translators = | repeater = | repeaters = | webcast = | website = }}
Parameters
editAll fields except for name
, location
, and owner
are optional and will be hidden when not used; when values are entered for the relevant parameters, the fields will automatically appear.
Sub-templates
editWhere possible, use:
- {{Start date}}
- {{End date}}
- {{Coord}}
- {{URL}}
as above.
Microformat
editThe 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
editIf 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
edithCard 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
editWhen giving coordinates, please use an appropriate level of precision. Do not use {{coord}}'s |name=
parameter.
TemplateData
editTemplateData for Sammi Brie/Infobox broadcast revamp
Infobox for broadcast television stations
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | Name of television station, often the call sign | Line | suggested |
Call letters | call_letters callsign | The call letters of the station, as assigned by the appropriate national broadcast authority. Note: If the licensing authority is the [[Federal Communications Commission|FCC]], the template will use |call_letters= to display external links to public licensing information for this station, so do not insert extra text into this parameter value. | String | suggested |
Top label | above | Label field used if the station is a satellite or repeater of another station. | Unknown | optional |
Logo | logo station_logo | Logo of television station | File | optional |
Logo size | logo_size | A width for the image. When not specified, it defaults to frameless which uses the size in each user's Preferences (ranges from 120px to 300px). | Unknown | optional |
Logo alternative text | logo_alt | Alternative text for logo | Unknown | optional |
Logo caption | logo_caption | Caption to appear under the television station logo. | Unknown | optional |
Image | image | Second image | File | optional |
Image size | image_size | A width for the image. When not specified, it defaults to frameless which uses the size in each user's Preferences (ranges from 120px to 300px). | Unknown | optional |
Image alternative text | image_alt | Alternative text for the image | Unknown | optional |
Caption | caption | Caption to appear under an image or under both a logo and an image. | Unknown | optional |
Location | location | The name of the municipality in which the station's programming originates. That is, the primary studio and office location. This is opposed to the transmitter location which may be in a different community, and also opposed to regional "satellite" studios or facilities. | String | optional |
Country | country | Country of television station | String | optional |
City | city | Name of city of license | Page name | suggested |
Analog channel | analog | Indicate the analog channel number of the station's primary analog transmitter, and whether it is in the VHF or UHF spectrum. Not applicable in areas or nations that have fully completed a digital switchover. | String | optional |
Digital channel | digital | Indicate the channel number of the station's primary digital transmitter, if applicable, and whether it is in the VHF or UHF spectrum. | String | optional |
Virtual channel | virtual | Indicate the virtual channel number of the station's primary digital transmitter if it differs from its actual channel number. | String | optional |
Branding | branding station_branding | Branding | String | optional |
Slogan | slogan station_slogan | Slogan of television station | String | optional |
Language(s) | language languages | Language(s) in which the station broadcasts | Unknown | optional |
Subchannels | subchannels | Digital subchannels of the television station | Unknown | optional |
Network | network | Network to which station belongs. In the United States, use "affiliations" instead. | String | optional |
Affiliations | affiliations | Affiliations of television station | String | optional |
Owner | owner | Owner of television station | String | suggested |
Licensee | licensee | Licensee of television station | String | optional |
Operator | operator | Operator of television station | String | optional |
Sister_stations | sister_stations | Sister stations | String | optional |
Founded | founded | Date/year in which a station was founded, such as a predecessor to the current station, but not its sign-on date. | String | optional |
First air date | airdate | First date of broadcast, using {{Start date|YYYY|MM|DD}} | String | suggested |
Last air date | last_airdate enddate | Last date of broadcast (for defunct stations), using {{End date|YYYY|MM|DD}} | String | optional |
Former call signs | former_callsigns | Former call signs | String | optional |
Former names | former_names | Former names of television station. Don't use if former_callsigns is being used as well. | String | optional |
Former channel numbers | former_channel_numbers | Former channel numbers of television station | Unknown | optional |
Former affiliations | former_affiliations | Former affiliations of television station | String | optional |
Call sign meaning | callsign_meaning | The meaning behind the callsign letters, if available and verifiable. Per MOS:ACRO, do not use bold or other style to emphasize the first letter of acronyms. Use sentence case. | String | optional |
Licensing authority | licensing_authority | Relevant licensing agency for the station. In the United States, using [[Federal Communications Commission|FCC]] triggers additional profile and license information links.
| String | optional |
Facility ID | facility_id | Facility ID assigned by the US Federal Communications Commission (for US stations) | String | optional |
Class | class | Class | String | optional |
Power | power | Transmitter power output, in watts. Do not use except in the Philippines. | String | optional |
ERP | erp effective_radiated_power | Effective radiated power, in watts | String | optional |
HAAT | haat HAAT | Height above average terrain, in meters | String | optional |
Coordinates | coordinates | Transmitter coordinates, using {{coord|}} | String | suggested |
Translators | translator translators other_chs | Translator(s) | String | optional |
Repeaters | repeater repeaters | Repeater(s). If you have used the translators field, don't use this one except in unusual circumstances. | String | optional |
Website | website homepage | URL for television station, encased in {{URL|}}
| String | optional |
Tracking category
edit
- ^ "Facility Technical Data for {{{callsign}}}". Licensing and Management System. Federal Communications Commission.