Template:Bloomberg topic/doc

< Template:Bloomberg topic

 Info:

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:

"Bloomberg topic/doc collected news and commentary". Bloomberg News.

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 the template used by the new VisualEditor.

Bloomberg topic

<templatedata> {

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

"params": { "1": { "label": "ID", "description": "ID string used in the URL.", "type": "string", "required": true }, "2": { "label": "Name", "description": "Name displayed in the link text. If not specified it defaults to the article's Bloomberg topic/doc, without disambiguation.", "type": "string",

                       "required": false

} } } </templatedata>

See also