Difference between revisions of "Template:BBC Online/doc"
Jump to navigation
Jump to search
imported>Mattbr (Created) |
imported>Mattbr (Tabulate parameters, added example usage and see also section) |
||
| 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: | ||
| − | + | ||
| − | + | {| class="wikitable" | |
| − | + | |- | |
| − | + | ! Parameter | |
| − | + | ! Notes | |
| − | + | |- | |
| − | </pre> | + | | '''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 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 | ||
<includeonly> | <includeonly> | ||
Revision as of 13:10, 31 December 2009
| This is a documentation subpage for Template:BBC Online. It contains usage information, categories and other content that is not part of the original template page. |
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.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 if required) |
| description | Additional description |
Example
The following usage:
* {{BBC Online|id=info|title=About the BBC}}
Produces:
See also
- {{BBC programme}} – for links to BBC Online programme pages