Difference between revisions of "Template:Bloomberg topic"
Jump to navigation
Jump to search
imported>Zyxw (Remove any leading or trailing spaces from first unnamed parameter that would break link. Remove disambiguation if {{PAGENAME}} is used as link text.) |
imported>WOSlinker (PAGENAMEBASE) |
||
| Line 1: | Line 1: | ||
| − | [http://topics.bloomberg.com/{{Trim|{{{1}}}}}/ {{{2|{{ | + | [http://topics.bloomberg.com/{{Trim|{{{1}}}}}/ {{{2|{{PAGENAMEBASE}}}}}] collected news and commentary at ''[[Bloomberg L.P.|Bloomberg News]]''<noinclude> |
{{Documentation}} | {{Documentation}} | ||
<!-- Add cats and interwikis to the /doc subpage, not here! --> | <!-- Add cats and interwikis to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> | ||
Revision as of 16:37, 15 November 2014
Template:PAGENAMEBASE collected news and commentary at Bloomberg News
| 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. |
Template:Underused external link template
| This template is intended for external links. It is not designed for use as a citation template for reliable sources. |
This template generates an external link to a topic page at Bloomberg News website.
Contents
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 at 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 at 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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| ID | 1 | ID string used in the URL. | String | required |
| Name | 2 | Name displayed in the link text. If not specified it defaults to the article's {{PAGENAME}}, without disambiguation. | String | optional |
See also
- {{NYT topic}} – topic page at The New York Times
- {{WSJ topic}} – topic page at The Wall Street Journal
- {{Guardian topic}} – topic page at The Guardian
- {{Aljazeera topic}} – topic page at Al Jazeera English
- {{WhoRunsGov}} – topic page at The Washington Post
| The above documentation is transcluded from Template:Bloomberg topic/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |