Difference between revisions of "Template:Hong Kong Stock Exchange/doc"
imported>Wefk423 (edited to encourage the use of unbulleted list instead of <br>) |
imported>Wefk423 (more shortcuts) |
||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
{{lua|Module:Leading zeros}} | {{lua|Module:Leading zeros}} | ||
| − | {{shortcut|Template:SEHK}} | + | {{shortcut|Template:SEHK|Template:Hkse|Template:HKEX|}} |
<!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE --> | <!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE --> | ||
Revision as of 19:06, 5 August 2018
| This is a documentation subpage for Template:Hong Kong Stock Exchange. It contains usage information, categories and other content that is not part of the original template page. |
| This template uses Lua: |
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 just be 1. Even though the template is now able to remove leading zeros from the inputted value, it should be prevented.
If a blank or non-numeric value has been inputted, it will appear "Incorrect" as a warning notice (shown as above).
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={{unbulleted list|{{SEHK|941}}|{{NYSE|CHL}}}}}}
In some legacy usages, this template may be found in the 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.