Template:Company-list table start
Usage: General
[edit]{{Company-list table start}}, {{Company-list table entry}} and {{Company-list table end}} are used to format the header, body entries and footer of a list of notable companies, typically all the notable companies in a country.
- Example
{{Company-list table start|Uganda}}
{{Company-list table entry | [[ABC Bank (Uganda)]] | Financials | Banks | [[Kampala]] | 1993 | Commercial bank }}
{{Company-list table entry | [[Bank of Uganda]] | Financials | Banks |[[Kampala]] | 1966 | Central bank | state=y }}
{{Company-list table entry | [[Nile Bank Limited]] | Financials | Banks | [[Kampala]] | 1988 | Defunct 2007, merged into [[Barclays Bank of Uganda]] | defunct=y }}
{{Company-list table end}}
- Gives
Name | Industry | Sector | Headquarters | Founded | Notes | Status | |
---|---|---|---|---|---|---|---|
ABC Bank (Uganda) | Financials | Banks | Kampala | 1993 | Commercial bank | P | A |
Bank of Uganda | Financials | Banks | Kampala | 1966 | Central bank | S | A |
Nile Bank Limited | Financials | Banks | Kampala | 1988 | Defunct 2007, merged into Barclays Bank of Uganda | P | D |
Table header
[edit]{{Company-list table start}} formats the table title, legend, and column headers. The title includes country if passed as the first parameter:
{{Company-list table start}}
{{Company-list table start|countryname}}
Table body entry
[edit]{{Company-list table entry}} is used to format a row in the table that describes a company. The first six parameters may be either positional or named. Do not mix the two styles. The named |state= and |defunct= parameters can be used with both formats to specify certain details that affect formatting.
Be aware that most readers will view the table on a phone: avoid excessive detail
Parameters
[edit]Positional | Named | Notes |
---|---|---|
1 | company | Common name of the company. An acronym or short form is acceptable if that is what is normally used. E.g. IBM rather than International Business Machines Corporation |
2 | industry | Industry, typically following the Industry Classification Benchmark taxonomy. E.g. Technology, Health Care, Financials etc. |
3 | sector | Sector, typically following the Industry Classification Benchmark taxonomy. E.g. Semiconductors, Medical Supplies, Mortgage Finance |
4 | headquarters | City where the company has its headquarters |
5 | founded | Year founded, if known |
6 | notes | Any other information |
state | state=y indicates that the company is state-owned.If non-blank, the row will be darker and S will appear in the first status column. Otherwise P will appear. | |
defunct | defunct=y indicates that the company is defunct.If non-blank, the row will be darker and D will appear in the second status column. Otherwise A will appear. |
Positional format
[edit]All six positional parameters must be specified. Leave blank if their value is unknown. The named parameters are optional.
{{Company-list table entry|company|industry|sector|headquarters|year founded|notes|state=|defunct=}}
Named parameter format
[edit]Provide the parameters for which there is a known value
{{Company-list table entry
|company = ''company''
|industry = ''industry''
|sector = ''sector''
|headquarters = ''headquarters''
|founded = ''year founded''
|notes = ''notes''
|state =
|defunct =
}}
Table footer
[edit]{{Company-list table end}} closes the table.