Template:Channel4.com
Template:Channel4.com displays an external link to a page at the Channel 4 website. It is intended for use in the external links section of an article.
Usage
[edit]Unnamed parameters:
{{Channel4.com|ID}}{{Channel4.com|ID|TITLE}}
Named parameters:
{{Channel4.com|id=ID}}{{Channel4.com|id=ID|title=TITLE}}
Parameters
[edit]The template has the following parameters:
| Parameter | Notes |
|---|---|
| id | URL given after http://www.channel4.com/. For example, the Hollyoaks entry is at http://www.channel4.com/programmes/hollyoaks and the id is programmes/hollyoaks; the E4 entry is at https://www.channel4.com/collection/e4 and the id is collection/e4. |
| title | Programme/subject name, for the above examples this would be Hollyoaks or E4. The title is automatically formatted. |
Examples
[edit]programmes
[edit]- Usage
* {{Channel4.com|programmes/hollyoaks|Hollyoaks}}* {{Channel4.com|id=programmes/hollyoaks|title=Hollyoaks}}
collection
[edit]- Usage
* {{Channel4.com|collection/e4|E4}}* {{Channel4.com|id=collection/e4|title=E4}}
categories
[edit]- Usage
* {{Channel4.com|categories/documentaries|Documentaries}}* {{Channel4.com|id=categories/documentaries|title=Documentaries}}
- Output
TemplateData
[edit]This template is for linking to the Channel 4 website for any article requiring it. It should appear in the External links section.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| id | id 1 | URL given after https://www.channel4.com/
| String | required |
| title | title 2 | Programme/subject name. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(TV series)".
| String | optional |