Template:Year in China header/sandbox

{{Year in region -->|{{#ifexpr: {{Title year}} >= 1889|Flag of China (1889–1912).svg|{{#ifexpr: {{Title year}} >= 1862|Flag of China (1862–1889).svg|Blank map of china.svg}} History of China {{*}} Timeline {{*}} Years }}{{main other|{{#ifexist: Category:{{Title year}} in China|}}{{#ifexist: Category:Years of the {{Century name from title year}} in China ||}}}} {{Documentation}}
 * year ={{Title year}}
 * region = China
 * error = Template:Year in China: Parameter 1=year required!
 * image = {{#ifexpr: {{Title year}} >= 1949|Flag of the People's Republic of China.svg|{{#ifexpr: {{Title year}} >= 1928| Flag of the Republic of China.svg|{{#ifexpr: {{Title year}} >= 1928 |Flag of China (1912–1928).svg
 * image_size = 80px
 * year_span = 5
 * see_also = Other events of {{Title year}}