Template:Company-list table start
Usage
[edit]{{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 |
---|---|---|---|---|---|
ABC Bank (Uganda) | Financials | Banks | Kampala | 1993 | Commercial bank |
Bank of Uganda | Financials | Banks | Kampala | 1966 | Central bank |
Nile Bank Limited | Financials | Banks | Kampala | 1988 | Defunct 2007, merged into Barclays Bank of Uganda |
Syntax
[edit]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}}
A company, to be displayed as a row in the table. 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
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 =
- }}
State and defunct parameters
[edit]If |state=
is non-blank, company is considered state-owned, and the row is formatted differently.
{{Company-list table entry|company name|industry|sector|headquarters|year founded|notes|defunct=y}}
If |defunct=
is non-blank, company is no longer in existence, and the row is formatted differently.
{{Company-list table entry|company name|industry|sector|headquarters|year founded|notes|state=y|defunct=y}}
The formatter cannot cope with a company being declared both state-owned and defunct because their formatting results are mutually exclusive.
Closes the table.