Template:British Comedy Guide/doc

From The Goon Show Depository

Template:British Comedy Guide displays an external link to a page at the British Comedy Guide website. It is intended for use in the external links section of an article.

Usage

The first required parameter is the type of link at comedy.co.uk. The types are:

  • tv
  • episodes (for tv episode lists)
  • radio
  • film
  • guide (for links to any other guide on the website)
  • people

The second required parameter is the id provided comedy.co.uk's address.

* {{British Comedy Guide|tv|<id>}}
* {{British Comedy Guide|episodes|<id>|<title>}}
* {{British Comedy Guide|radio|<id>}}
* {{British Comedy Guide|film|<id>}}
* {{British Comedy Guide|guide|<id>}}
* {{British Comedy Guide|people|<id>}}

The third parameter is the title or name (only required for episodes option). The page name is automatically used as the title unless the third parameter is used:

* {{British Comedy Guide|tv|<id>|<title>}}
* {{British Comedy Guide|episodes|<id>|<title>}}
* {{British Comedy Guide|radio|<id>|<title>}}
* {{British Comedy Guide|film|<id>|<title>}}
* {{British Comedy Guide|guide|<id>|<title>}}
* {{British Comedy Guide|people|<id>|<name>}}

Examples

tv

https://www.comedy.co.uk/tv/not_going_out/
* {{British Comedy Guide|tv|not_going_out|Not Going Out}}

episodes

https://www.comedy.co.uk/tv/not_going_out/episodes/all
* {{British Comedy Guide|episodes|not_going_out|Not Going Out}}

radio

https://www.comedy.co.uk/radio/museum_curiosity/
* {{British Comedy Guide|radio|museum_curiosity|The Museum of Curiosity}}

film

https://www.comedy.co.uk/film/shaun_of_the_dead/
* {{British Comedy Guide|film|shaun_of_the_dead|Shaun of the Dead}}

guide

https://www.comedy.co.uk/guide/chat_show/
* {{British Comedy Guide|guide|chat_show|British Chat Shows}}

people

https://www.comedy.co.uk/people/alexander_armstrong/
* {{British Comedy Guide|people|alexander_armstrong|Alexander Armstrong}}