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

From blackwiki
Jump to navigation Jump to search
imported>777sms
imported>777sms
Line 7: Line 7:
 
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.
 
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.
  
<nowiki>{{Bloombergtopic|Bloombergtopic name|name}}</nowiki>
+
<nowiki>{{Bloomberg topic|Bloomberg topic name|name}}</nowiki>
  
 
Example:
 
Example:
<br><nowiki>{{Bloombergtopic|arab-league|Arab League}}</nowiki>
+
<br><nowiki>{{Bloomberg topic|arab-league|Arab League}}</nowiki>
 
<br>Appears as:
 
<br>Appears as:
<br>{{Bloombergtopic|arab-league|Arab League}}
+
<br>{{Bloomberg topic|arab-league|Arab League}}
  
 
Example using default name:
 
Example using default name:
<br><nowiki>{{Bloombergtopic|arab-league}}</nowiki>
+
<br><nowiki>{{Bloomberg topic|arab-league}}</nowiki>
 
<br>Appears as:
 
<br>Appears as:
<br>{{Bloombergtopic|music/arab-league}}
+
<br>{{Bloomberg topic|music/arab-league}}
  
 
<includeonly>
 
<includeonly>

Revision as of 08:27, 4 December 2012

Function

Link to a Bloomberg topic page.

Usage

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.

{{Bloomberg topic|Bloomberg topic name|name}}

Example:
{{Bloomberg topic|arab-league|Arab League}}
Appears as:
"Arab League collected news and commentary". Bloomberg News.

Example using default name:
{{Bloomberg topic|arab-league}}
Appears as:
"[[:Template:PAGENAMEBASE]] collected news and commentary". Bloomberg News. URL–wikilink conflict (help)