Template:Estcat

From Wikipedia, the free encyclopedia
Jump to: navigation, search


Template documentation[view] [edit] [history] [purge]

This template is used to set up categories for establishments for specific years. For example, to set up Category:2012 establishments, you would code this:

{{estcat|201|2|2009|2020}}

The parameters are:

  1. the year the category is for, but with the last digit left off
  2. the last digit of the year the category is for
  3. the last year of the previous decade
  4. the first year of the following decade

Related templates[change source]

  • {{estcatBC}} for establishments in years BC
  • {{disestabyr}} a similar template for disestablishments in years AD
  • {{disestabyrBC}} for disestablishments in years BC