Template:FooIndustry companies (dis)established in YYYY/doc

 is used to create categories of the form "FooIndustry companies established in YYYY" or "FooIndustry companies disestablished in YYYY", where:
 * 1) "FooIndustry" is the industry involved, e.g. "Retail" or "Manufacturing" or "Mass media"
 * 2) YYYY is a 4-digit year.

e.g.
 * Category:Retail companies established in 1707
 * Category:Manufacturing companies disestablished in 1980
 * Category:Financial services companies established in 1812
 * Category:Mass media companies disestablished in 1977

The templates creates navigation tables and puts the page into the correct parent categories: "Category:FooIndustry companies by year of (dis)establishment", and other specified by parameters below

Simple usage
No parameters are needed, but optional parameters are available to change the parent categories.

Default parent category
By default, the category is placed in the parent "Category:Companies (dis)established in YYYY".

For example, on Category:Retail companies established in 1959, will cause the category to be parented in Category:Companies established in 1959.

Specifying parent categories
For subtypes of company, the default parent "Category:Companies (dis)established in YYYY" will be inappropriate.

Alternative parent categories may be specified by using up to four unnamed parameters, of the form


 * Examples:
 * On Category:Airlines established in 2010, use
 * On Category:Restaurants established in 2007, use
 * On Category:Radio stations established in 1924, use

Portals
By default, the template generates a link to Portal:Companies, and to a decade portal if it exists.

Up to two additional portals may be specified, by the parameters portal and portal2


 * Examples:
 * On Category:Airlines established in 2010, use
 * On Category:Food and drink companies established in 2010, use