Difference between revisions of "Template:Company-list table entry"
Jump to navigation
Jump to search
imported>YoussifYem (Added content) |
imported>Kuru m (Reverted edits by YoussifYem (talk) to last version by DMacks) |
||
| Line 1: | Line 1: | ||
<includeonly>|-{{#if:{{{state|}}}|style="background:#f9e6ff;"}}{{#if:{{{defunct|}}}|style="background:#dddddd;"}} | <includeonly>|-{{#if:{{{state|}}}|style="background:#f9e6ff;"}}{{#if:{{{defunct|}}}|style="background:#dddddd;"}} | ||
| − | | {{{ | + | | {{{1}}} |
| − | | {{{ | + | | {{{2}}} |
| − | | {{{ | + | | {{{3}}} |
| − | | {{{ | + | | {{{4}}} |
| {{{5}}} | | {{{5}}} | ||
| {{{6}}}</includeonly><noinclude>{{documentation|Template:Company-list table start/doc}}</noinclude> | | {{{6}}}</includeonly><noinclude>{{documentation|Template:Company-list table start/doc}}</noinclude> | ||
Latest revision as of 16:10, 2 January 2020
Contents
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.
See also
| The above documentation is transcluded from Template:Company-list table start/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |