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

From blackwiki
Jump to navigation Jump to search
Line 12: Line 12:
  
 
===Where to use this template===
 
===Where to use this template===
The best location for this template is in an [[WP:INFOBOX|infobox]] about the company, such as {{tl|Infobox company}}, at the top of the article, if one exists. Include this template in traded_as field:
+
The best location for this template is in an [[WP:INFOBOX|infobox]] about the company, such as {{tl|Infobox company}}, at the top of the article, if one exists. Include this template in traded_as field:
 
:<code><nowiki>{{Infobox company</nowiki></code>
 
:<code><nowiki>{{Infobox company</nowiki></code>
 
:<code><nowiki>| company_type=[[Public company|Public]]</nowiki></code>
 
:<code><nowiki>| company_type=[[Public company|Public]]</nowiki></code>
Line 18: Line 18:
 
:<code><nowiki>}}</nowiki></code>
 
:<code><nowiki>}}</nowiki></code>
  
In some legacy usages, this template may be found in first sentence of the article. It's encouraged to move it to an infobox, in accordance with [[Wikipedia:Ticker symbols in article leads|Ticker symbols in article leads]] and the community RFC.
+
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 [[Wikipedia:Ticker symbols in article leads|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.
 
Because redundant links are discouraged, this template should normally only appear in one place in an article about a publicly traded company.

Revision as of 15:55, 7 November 2017

How to use this template

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

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

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|0941}}<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.