Template:Company-list table entry: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<includeonly>|-{{#if:{{{state|}}}|style="background:#f9e6ff;"}}{{#if:{{{defunct|}}}|style="background:#dddddd;"}} | {{{1}}} | {{{2}}} | {{{3}}} | {{{4}}} | {{{5}}} | {{{6}}}</...") |
mNo edit summary |
||
Line 5: | Line 5: | ||
| {{{4}}} | | {{{4}}} | ||
| {{{5}}} | | {{{5}}} | ||
| {{{6}}}</includeonly> | | {{{6}}}</includeonly><noinclude>{{documentation|Template:Company-list table start/doc}}</noinclude> |
Latest revision as of 22:33, 4 September 2022
Usage
{{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
{{Company-list table start}}
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}}
{{Company-list table entry}}
A company, to be displayed as a row in the table. Some named parameters can be used to specify certain details that affect formatting in addition to the un-named list of column values:
{{Company-list table entry|company|industry|sector|headquarters|year founded|notes}}
{{Company-list table entry|company|industry|sector|headquarters|year founded|notes|state=y}}
- If
|state=
is non-blank, company is considered state-owned, and the row is formatted differently.
- If
{{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.
- If
{{Company-list table entry|company name|industry|sector|headquarters|year founded|notes|state=y|defunct=y}}
- Formatter cannot cope with a company being declared both state-owned and defunct because their formatting results are mutually exclusive.
{{Company-list table end}}
Closes the table.