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

From blackwiki
Jump to navigation Jump to search
imported>Mattbr
(Created)
 
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(7 intermediate revisions by 6 users not shown)
Line 2: Line 2:
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
  
=== Usage ===
+
===Usage===
 
This template can be used to link to pages on [[BBC Online]]. 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>* {{BBC Online|id=|title=}}</pre>
  
 
The template has the following parameters:
 
The template has the following parameters:
<pre>
 
* {{BBC Online
 
  | id          = Portion after the domain name, for example, 'info' will link to http://www.bbc.bo.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)
 
  | description = Additional description
 
  }}
 
</pre>
 
  
<includeonly>
+
{| class="wikitable"
 +
|-
 +
! Parameter
 +
! Notes
 +
|-
 +
| '''id'''
 +
| Portion after the domain name, for example, 'info' will link to https://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:
 +
<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>{{Sandbox other||
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
[[Category:Television external link templates|{{PAGENAME}}]]
 
[[Category:Television external link templates|{{PAGENAME}}]]
 
[[Category:Radio external link templates|{{PAGENAME}}]]
 
[[Category:Radio external link templates|{{PAGENAME}}]]
  
[[simple:Template:Bbc.co.uk]]
+
}}</includeonly>
</includeonly>
 

Latest revision as of 23:44, 23 April 2020

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 https://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