Template:Broadcaster/doc
| This is a documentation subpage for Template:Broadcaster. It may contain usage information, categories and other content that is not part of the original template page. |
| This template is rated as pre-alpha. It is incomplete and may or may not be in active development. Do not use it in article namespace pages. A template remains in pre-alpha until its developer, or another editor who adopts it if it is abandoned for some time, considers the basic structure complete. |
| This template uses Lua: |
This template is used to get information about a national broadcaster. It currently only includes broadcasters that are related to the European Broadcasting Union.
Usage
[edit source]{{Broadcaster|country/id|attribute}}
Unnamed parameter 1 specifies the broadcaster using the format country/id. The country should be the ISO 3166-1 alpha-2 country code, or ISO 3166-3 for former countries (e.g. Yugoslavia). The ID is the identifier of the broadcaster. The ID usually corresponds to the abbreviation that the broadcaster uses, although there might be exceptions. For the full list of broadcasters currently supported, see the list at the bottom of the page.
Unnamed parameter 2 specifies the attribute data that you want to get from the broadcaster. The following attributes are supported:
| Attribute | Explanation |
|---|---|
name
|
The common (full) name of the broadcaster |
abbr
|
The common abbreviated name of the broadcaster |
ebu
|
Status in the European Broadcasting Union:
|
inact
|
Returns true if it's an inactive/dissolved broadcaster
|
The following optional parameters can be used:
| Optional Parameter | Explanation |
|---|---|
link=1
|
When specified, it will add a wikilink to the broadcasters article |
Examples
[edit source]| Wikitext | Output |
|---|---|
{{Broadcaster|al/rtsh|abbr}}
|
RTSH |
{{Broadcaster|al/rtsh|abbr|link=1}}
|
RTSH |
{{Broadcaster|al/rtsh|name}}
|
Albanian Radio-Television |
{{Broadcaster|al/rtsh|name|link=1}}
|
Albanian Radio-Television |
{{Broadcaster|al/rtsh|ebu}}
|
1 |
{{Broadcaster|al/rtsh|inact}}
|
List of broadcasters
[edit source]This are the full lists of broadcasters currently available: