Template:Year in region/doc

From Omniversalis

Usage[edit]

{{Year in region
|year=
|region=
|year_min=
|year_max=
|image =
|width =
|millennium=
|see_also=
}}

Shortcut for use within templates[edit]

If you are using this inside a "Year in Region Name" template, for example {{Year in Kerala}}, and if all of your "YYYY in Region Name" articles start with the year value, you can use this code in your template to avoid having to add a year value to each transclusion of the template:

|year      = <noinclude>{{#time:Y}}</noinclude><includeonly>{{first word|{{PAGENAME}}}}</includeonly>

Within a given article, you can then simply use the name of that region's template: {{Year in Region Name}}.

Examples[edit]

  • 1813
  • 1812
  • 1811
1814
in
India

  • 1815
  • 1816
  • 1817
Decades:
{{Year in region
|year=1814
|region=India
|image = India satellite image.png
|image_size= 100px
|link=British India
}}

  • 1963
  • 1962
  • 1961
1964
in
India

  • 1965
  • 1966
  • 1967
Millennia:
Decades:
  • {{Year in region
    |year=1964
    |region=India
    |millennium=yes
    |image=India satellite image.png
    |image_size=100px
    |link=States and union territories of India
    }}
    

    • 1963
    • 1962
    • 1961
    1964
    in
    India

    • 1965
    • 1966
    • 1967
    Millennia:
    Decades:
  • See also: Timeline of Indian history
    {{Year in region
    |year=1964
    |region=India
    |millennium=yes
    |image= India satellite image.png
    |image_size=100px
    |see_also = [[Timeline of Indian history]]
    }}