Difference between revisions of "Template:Bloomberg topic/doc"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(→‎See also: update)
imported>Zyxw
(→‎See also: update)
Line 53: Line 53:
  
 
== See also ==
 
== See also ==
* {{tl|NYT topic}}
+
* {{tl|NYT topic}} – topic page at ''[[The New York Times]]''
* {{tl|WSJ topic}}
+
* {{tl|WSJ topic}} – topic page at ''[[The Wall Street Journal]]''
* {{tl|Guardian topic}}
+
* {{tl|Guardian topic}} – topic page at ''[[The Guardian]]''
* {{tl|Aljazeera topic}}
+
* {{tl|Aljazeera topic}} – topic page at ''[[Al Jazeera English]]''
 +
* {{tl|WhoRunsGov}} – topic page at ''[[The Washington Post]]''
 +
 
  
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |

Revision as of 15:43, 7 October 2014

This template generates an external link to a topic page at Bloomberg News website.

Usage

{{Bloomberg topic | ID }}
{{Bloomberg topic | ID | NAME }}

Instructions

Provide the URL path (after the first level) as the first parameter, and an optional name as the second parameter. If no name is provided for the second parameter, the template will use the name of the Wikipedia article.

Examples

One parameter

URL:

http://topics.bloomberg.com/arab-league/

Usage:

{{Bloomberg topic | arab-league }}

Output:

"[[:Template:PAGENAMEBASE]] collected news and commentary". Bloomberg News. URL–wikilink conflict (help)

Two parameters

URL:

http://topics.bloomberg.com/mark-zuckerberg/

Usage:

{{Bloomberg topic | mark-zuckerberg | Mark Zuckerberg }}

Output:

"Mark Zuckerberg collected news and commentary". Bloomberg News.

Template data

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Bloomberg topic

This template generates an external link to a topic page at the Bloomberg News website.

Template parameters

ParameterDescriptionTypeStatus
ID1

ID string used in the URL.

Stringrequired
Name2

Name displayed in the link text. If not specified it defaults to the article's {{PAGENAME}}, without disambiguation.

Stringoptional

See also