Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Template:Channel4.com/doc

From Wikipedia, the free encyclopedia

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:

ParameterNotes
idURL 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.
titleProgramme/subject name, for the above examples this would be Hollyoaks or E4. The title is automatically formatted.

Examples

[edit]

programmes

[edit]
URL
https://www.channel4.com/programmes/hollyoaks
Usage
* {{Channel4.com|programmes/hollyoaks|Hollyoaks}}
* {{Channel4.com|id=programmes/hollyoaks|title=Hollyoaks}}
Output

collection

[edit]
URL
https://www.channel4.com/collection/e4
Usage
* {{Channel4.com|collection/e4|E4}}
* {{Channel4.com|id=collection/e4|title=E4}}
Output

categories

[edit]
URL
https://www.channel4.com/categories/documentaries
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.

Template parameters

ParameterDescriptionTypeStatus
idid 1

URL given after https://www.channel4.com/

Example
programmes/hollyoaks
Stringrequired
titletitle 2

Programme/subject name. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(TV series)".

Default
{{PAGENAMEBASE}}
Example
Hollyoaks
Stringoptional