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

From blackwiki
Jump to navigation Jump to search
imported>Pigsonthewing
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(3 intermediate revisions by 3 users not shown)
Line 3: Line 3:
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
  
For links to content-rich pages about composers, in the [[BBC Radio 3]] archives.
+
For links to content-rich pages about composers in the [[BBC Radio 3]] archives.
  
 
== Usage ==
 
== Usage ==
  
This template has two parameters, the first mandatory; the second optional:
+
This template has three parameters, the first mandatory; the others optional:
  
 
# {{Para|id}} - BBC composer page URL slug; for example, for http://bbc.co.uk/tchaikovsky, enter <code>tchaikovsky</code>
 
# {{Para|id}} - BBC composer page URL slug; for example, for http://bbc.co.uk/tchaikovsky, enter <code>tchaikovsky</code>
Line 25: Line 25:
 
== Redirects ==
 
== 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
+
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 https://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.
 
Linking to the former type is preferable; see talk page for a list of URLs supplied by the BBC.
Line 33: Line 33:
 
* {{tl|BBC programme}} - for links to individual programme pages  
 
* {{tl|BBC programme}} - for links to individual programme pages  
  
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
+
<includeonly>{{Sandbox other||
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
[[Category:Music external link templates]]
 
[[Category:Music external link templates]]
 
[[Category:Template-Class BBC articles]]
 
[[Category:Template-Class BBC articles]]
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 23:44, 23 April 2020

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

Usage

This template has three parameters, the first mandatory; the others optional:

  1. |id= - BBC composer page URL slug; for example, for http://bbc.co.uk/tchaikovsky, enter tchaikovsky
  2. |title= - composer name, in a form suitable as link text (defaults to page name)
  3. |accessdate= - for use in citations

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

See also