Template:Bloomberg topic/doc
This is a documentation subpage for Template:Bloomberg topic. It contains usage information, categories and other content that is not part of the original template page. |
This template is a Citation Style 1 wrapper template based on {{Cite web}}. For centralised Citation Style 1 discussions, see Help talk:Citation Style 1. |
This external link template is underused, compared to the number of links to the site it represents (check here ). Please help convert those links to make use of this template, for ease of tracking, and ease of interoperability with Wikidata. |
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:
Two parameters
URL:
http://topics.bloomberg.com/mark-zuckerberg/
Usage:
{{Bloomberg topic | mark-zuckerberg | Mark Zuckerberg }}
Output:
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
- {{NYT topic}} – topic page at The New York Times
- {{Guardian topic}} – topic page at The Guardian
- {{Aljazeera topic}} – topic page at Al Jazeera English
- {{WhoRunsGov}} – topic page at The Washington Post