Difference between revisions of "Template:BBC composer page/doc"

From blackwiki
Jump to navigation Jump to search
imported>Pigsonthewing
imported>Michael Bednarek
Line 9: Line 9:
  
 
# BBC composer page URL stem; for example, for http://bbc.co.uk/tchaikovsky, enter <code>tchaikovsky</code>
 
# BBC composer page URL stem; for example, for http://bbc.co.uk/tchaikovsky, enter <code>tchaikovsky</code>
# Composer name, in a from suitable as link text (defaults to page name)
+
# Composer name, in a form suitable as link text (defaults to page name)
  
 
== Example ==
 
== Example ==
Line 29: Line 29:
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
+
[[Category:Music external link templates]]
 +
[[Category:Template-Class BBC articles]]
 
}}</includeonly>
 
}}</includeonly>

Revision as of 14:10, 1 November 2014

For links to content-rich pages about composers, in the BBC Radio 3 archives.

Usage

This template has two parameters, the first mandatory; the second optional:

  1. BBC composer page URL stem; for example, for http://bbc.co.uk/tchaikovsky, enter tchaikovsky
  2. Composer name, in a form suitable as link text (defaults to page name)

Example

The markup:

  • {{BBC composer page|tchaikovsky|Tchaikovsky}}

renders as:

  • "Discovering Tchaikovsky". BBC Radio 3.

Redirects

Note that the canonical BBC composer URLs such as http://bbc.co.uk/tchaikovsky redirect to pages whose URLs use a BBC Programme Identifier (PID), such as http://www.bbc.co.uk/programmes/p01nbg53

Linking to the former type is preferable; see talk page for a list of URLs supplied by the BBC.