Template:Bloomberg topic/doc

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

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

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

Instructions

[edit source]

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

[edit source]

One parameter

[edit source]

URL:

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

Usage:

{{Bloomberg topic | arab-league }}

Output:

Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).

Two parameters

[edit source]

URL:

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

Usage:

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

Output:

Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).

Template data

[edit source]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Bloomberg topic in articles based on its TemplateData.

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

[edit source]