Bản mẫu:Mở đầu bảng danh sách công ty/doc

Bách khoa toàn thư mở Wikipedia

Usage[sửa mã nguồn]

{{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

Bản mẫu:Company-list table start |- | ABC Bank (Uganda) | Financials | Banks | Kampala | 1993 | Commercial bank |-style="background:#f9e6ff;" | Bank of Uganda | Financials | Banks | Kampala | 1966 | Central bank |-style="background:#dddddd;" | Nile Bank Limited | Financials | Banks | Kampala | 1988 | Defunct 2007, merged into Barclays Bank of Uganda Bản mẫu:Company-list table end

Syntax[sửa mã nguồn]

{{Company-list table start}}[sửa mã nguồn]

Table title, legend, and column-headers. The title includes country if passed as the first parameter:

{{Company-list table entry}}[sửa mã nguồn]

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.
  • {{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}}
    Formatter cannot cope with a company being declared both state-owned and defunct because their formatting results are mutually exclusive.

{{Company-list table end}}[sửa mã nguồn]

Closes the table.

See also[sửa mã nguồn]