Difference between revisions of "Template:BBC Online/doc"

From blackwiki
Jump to navigation Jump to search
imported>Pharos
imported>Pharos
(Undid revision 713065649 by Pharos (talk))
Line 3: Line 3:
  
 
===Usage===
 
===Usage===
This template can be used to link to pages on [[WNYC]]. It should appear in the External links section.
+
This template can be used to link to pages on [[BBC Online]]. It should appear in the External links section.
  
<pre>* {{WNYC|id=|title=}}</pre>
+
<pre>* {{BBC Online|id=|title=}}</pre>
  
 
The template has the following parameters:
 
The template has the following parameters:
Line 15: Line 15:
 
|-
 
|-
 
| '''id'''
 
| '''id'''
| Portion after 'story' in the domain name, for example, 'mayor' will link to https://wnyc.org/story/mayor
+
| Portion after the domain name, for example, 'info' will link to http://www.bbc.co.uk/info
 
|-
 
|-
 
| '''title'''
 
| '''title'''
| Page title, for example, the link above could have the title 'Inauguration of Mayor LaGuardia' (include the appropriate formatting for programme or episode names if required)
+
| Page title, for example, the link above has the title 'About the BBC' (include the appropriate formatting for programme or episode names if required)
 
|-
 
|-
 
| '''description'''
 
| '''description'''
 
| Additional description
 
| Additional description
 
|}
 
|}
 +
 +
===Example===
 +
The following usage:
 +
<pre>* {{BBC Online|id=info|title=About the BBC}}</pre>
 +
 +
Produces:
 +
* {{BBC Online|id=info|title=About the BBC}}
 +
 +
===See also===
 +
* {{tl|BBC programme}} – for links to [[BBC Online]] programme pages
 +
* {{tl|BBC episode}} – for links to [[BBC Online]] episode pages
 +
 +
<includeonly>
 +
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 +
[[Category:Television external link templates|{{PAGENAME}}]]
 +
[[Category:Radio external link templates|{{PAGENAME}}]]
 +
 +
</includeonly>

Revision as of 18:55, 1 April 2016

Usage

This template can be used to link to pages on BBC Online. It should appear in the External links section.

* {{BBC Online|id=|title=}}

The template has the following parameters:

Parameter Notes
id Portion after the domain name, for example, 'info' will link to http://www.bbc.co.uk/info
title Page title, for example, the link above has the title 'About the BBC' (include the appropriate formatting for programme or episode names if required)
description Additional description

Example

The following usage:

* {{BBC Online|id=info|title=About the BBC}}

Produces:

See also