Difference between revisions of "Template:Hong Kong Stock Exchange/doc"

From blackwiki
Jump to navigation Jump to search
imported>Wefk423
(added remark on leading zeros)
Line 10: Line 10:
 
:<code><nowiki>{{SEHK|941}}</nowiki></code>
 
:<code><nowiki>{{SEHK|941}}</nowiki></code>
 
:{{SEHK|941}}
 
:{{SEHK|941}}
 +
 +
Please do note that the company stock symbol should not have leading zeros. For example, ticker "0001" should be just "1". Even though the template is edited to remove leading zeros from the inputted value, it should be prevented.
  
 
===Where to use this template===
 
===Where to use this template===

Revision as of 19:28, 26 July 2018

How to use this template

Type the following, replacing XXXX with the company stock symbol:

{{SEHK|XXXX}}
Example
{{SEHK|941}}
Template:SEHK

Please do note that the company stock symbol should not have leading zeros. For example, ticker "0001" should be just "1". Even though the template is edited to remove leading zeros from the inputted value, it should be prevented.

Where to use this template

The best location for this template is in an infobox about the company, such as {{Infobox company}}, at the top of the article, if one exists. Include this template in traded_as field:

{{Infobox company
| company_type=[[Public company|Public]]
| traded_as={{SEHK|941}}<br>{{NYSE|CHL}}
}}

In some legacy usages, this template may be found in first sentence of the article. It is encouraged to move it to an infobox, in accordance with Ticker symbols in article leads and the community RFC.

Because redundant links are discouraged, this template should normally only appear in one place in an article about a publicly traded company.

Also see

  • {{SEHK link}} - A version of this template that only links to the security.