Template:Year in region
Jump to navigation
Jump to search
| |||
Usage
{{Year in region
|year=
|region=
|year_min=
|year_max=
|image =
|width =
|millennium=
|see_also=
}}
Shortcut for use within templates
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
| |||||
| Decades: |
| ||||
|---|---|---|---|---|---|
{{Year in region
|year=1814
|region=India
|image = India satellite image.png
|image_size= 100px
|link=British India
}}
| |||||
| 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
}}
| |||||
| 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]]
}}