வார்ப்புரு:Year in region
{{#if:{{Has short description}} ||{{short description|List of events {{#if:{{isnumeric|{{{year|}}}}}|{{#ifexpr:{{{year}}}&lt;1500|in the year {{{year}}}}}}}|noreplace}} }}{{#invoke:infobox|infoboxTemplate
 | bodyclass = vevent
 | bodystyle = {{#if:{{{width|}}}|width:{{{width}}};|width:270px;}} font-size:100%; {{{style|}}}
 | labelstyle = font-size:88%;
 | datastyle = font-size:88%; text-align:center;
 
 | image =
 &lt;table style=&quot;width:100%;&quot;&gt;
 &lt;tr&gt;{{#if:{{both|{{isnumeric|{{{year|}}}}}|{{{region|}}}}}|&lt;td style=&quot;text-align:left; font-size:88%;  background:#f3f3f3&quot;&gt;{{plainlist}}
 {{large|&amp;larr;}}
 * {{year in region/link|year={{{year|}}}|offset=-1|region={{{region1|{{{region}}}}}}|region2={{{region2|}}}|year_min={{{year_min|}}}|year_max={{{year_max|}}}}}
 * {{year in region/link|year={{{year|}}}|offset=-2|region={{{region1|{{{region}}}}}}|region2={{{region2|}}}|year_min={{{year_min|}}}|year_max={{{year_max|}}}}}
 * {{year in region/link|year={{{year|}}}|offset=-3|region={{{region1|{{{region}}}}}}|region2={{{region2|}}}|year_min={{{year_min|}}}|year_max={{{year_max|}}}}}
 * {{#ifexpr:{{{year_span|3}}} &gt;=4|{{year in region/link|year={{{year|}}}|offset=-4|region={{{region1|{{{region}}}}}}|region2={{{region2|}}}|year_min={{{year_min|}}}|year_max={{{year_max|}}}}}}}
 * {{#ifexpr:{{{year_span|3}}} &gt;=5|{{year in region/link|year={{{year|}}}|offset=-5|region={{{region1|{{{region}}}}}}|region2={{{region2|}}}|year_min={{{year_min|}}}|year_max={{{year_max|}}}}}}}
 {{endplainlist}}
 &lt;/td&gt;}}&lt;td style=&quot;vertical-align:top; {{#if:{{both|{{isnumeric|{{{year|}}}}}|{{{region|}}}}}|width:50%;}}&quot;&gt;&lt;!--
    ** First check that a parameter has been supplied.
    ** If it is missing, then display a big red bold warning
 --&gt;{{#if:{{both|{{{year|}}}|{{{region|}}}}}
   |{{#if:{{{images|}}}|{{{images}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|border={{{border|yes}}}|size={{{image_size|}}}|link={{{link|}}}|sizedefault=150px|title=right}}}}
   |&lt;span style=&quot;color:red; font-size:125%&quot;&gt;{{{error|'''Template:Year in region''': Parameters year= and region= are required!}}}&lt;/span&gt;
   }}&lt;/td&gt;
 &lt;td class=&quot;summary&quot; style=&quot;text-align:center; {{#if:{{both|{{isnumeric|{{{year|}}}}}|{{{region|}}}}}|width:50%;}} font-size:{{{font-size|125%}}}; font-weight:bold;&quot;&gt;&lt;span style=&quot;font-size:110%&quot;&gt;&lt;span class=&quot;adr&quot;&gt;&lt;span class=&quot;country-name location&quot;&gt;{{#if:{{{region_link|}}}|[[{{{region_link}}}|{{{region_text|{{{region1|{{{region}}}}}}}}}]]|[[{{{region1|{{{region}}}}}}]]}}இல்{{{br|&lt;br /&gt;}}} {{{br|&lt;br /&gt;}}} [[{{#ifexist:AD {{{year}}}|AD {{{year}}}|{{{year}}}}}|{{{year}}}]]&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;
 {{#if:{{both|{{isnumeric|{{{year|}}}}}|{{{region|}}}}}|&lt;td style=&quot;text-align:right; font-size:88%; background:#f3f3f3&quot;&gt;
 {{plainlist}}
 {{large|&amp;rarr;}}
 * {{year in region/link|year={{{year|}}}|offset=+1|region={{{region1|{{{region}}}}}}|region2={{{region2|}}}|year_min={{{year_min|}}}|year_max={{{year_max|}}}}}
 * {{year in region/link|year={{{year|}}}|offset=+2|region={{{region1|{{{region}}}}}}|region2={{{region2|}}}|year_min={{{year_min|}}}|year_max={{{year_max|}}}}}
 * {{year in region/link|year={{{year|}}}|offset=+3|region={{{region1|{{{region}}}}}}|region2={{{region2|}}}|year_min={{{year_min|}}}|year_max={{{year_max|}}}}}
 * {{#ifexpr:{{{year_span|3}}} &gt;=4|{{year in region/link|year={{{year|}}}|offset=+4|region={{{region1|{{{region}}}}}}|region2={{{region2|}}}|year_min={{{year_min|}}}|year_max={{{year_max|}}}}}}}
 * {{#ifexpr:{{{year_span|3}}} &gt;=5|{{year in region/link|year={{{year|}}}|offset=+5|region={{{region1|{{{region}}}}}}|region2={{{region2|}}}|year_min={{{year_min|}}}|year_max={{{year_max|}}}}}}}
 {{endplainlist}}&lt;/td&gt;}}&lt;/tr&gt;&lt;/table&gt;
 
 | label1 = ஆயிரமாண்டு:
 | class1 = hlist
 | data1  = {{#if:{{{millennium|}}}{{{millennia|}}}|{{#if:{{both|{{isnumeric|{{{year|}}}}}|{{{region|}}}}}|
 * {{#ifexist: Category:Years of the {{MILLENNIUM|{{{year}}}-1000}} in {{{region_millennium|{{{region}}}}}}|[[:Category:Years of the {{MILLENNIUM|{{{year}}}-1000}} in {{{region_millennium|{{{region}}}}}}|{{MILLENNIUM|{{{year}}}-1000|abbr=y}}]]|[[{{MILLENNIUM|{{{year}}}-1000}}|{{MILLENNIUM|{{{year}}}-1000|abbr=y}}]]}}
 * '''{{#ifexist: Category:Years of the {{MILLENNIUM|{{{year}}}}} in {{{region_millennium|{{{region}}}}}}|[[:Category:Years of the {{MILLENNIUM|{{{year}}}}} in {{{region_millennium|{{{region}}}}}}|{{MILLENNIUM|{{{year}}}|abbr=y}}]]|[[{{MILLENNIUM|{{{year}}}}}|{{MILLENNIUM|{{{year}}}|abbr=y}}]]}}'''
 * {{#ifexist: Category:Years of the {{MILLENNIUM|{{{year}}}+1000}} in {{{region_millennium|{{{region}}}}}}|[[:Category:Years of the {{MILLENNIUM|{{{year}}}+1000}} in {{{region_millennium|{{{region}}}}}}|{{MILLENNIUM|{{{year}}}+1000|abbr=y}}]]|[[{{MILLENNIUM|{{{year}}}+1000}}|{{MILLENNIUM|{{{year}}}+1000|abbr=y}}]]}}
 }}}}
 
 | label2 = நூற்றாண்டுகள்:
 | class2 = hlist
 | data2 = {{#if:{{{century|}}}{{{centuries|}}}|{{#if:{{both|{{isnumeric|{{{year|}}}}}|{{{region|}}}}}|
 * {{#ifexist: Category:Years of the {{Ordinal|{{#expr:{{CENTURY|{{{year}}}}}-2}}}} century in {{{region_century|{{{region}}}}}} | [[:Category:Years of the {{Ordinal|{{#expr:{{CENTURY|{{{year}}}}}-2}}}} century in {{{region_century|{{{region}}}}}}|{{Ordinal|{{#expr:{{CENTURY|{{{year}}}}}-2}}}}]] }}
 * {{#ifexist: Category:Years of the {{Ordinal|{{#expr:{{CENTURY|{{{year}}}}}-1}}}} century in {{{region_century|{{{region}}}}}} | [[:Category:Years of the {{Ordinal|{{#expr:{{CENTURY|{{{year}}}}}-1}}}} century in {{{region_century|{{{region}}}}}}|{{Ordinal|{{#expr:{{CENTURY|{{{year}}}}}-1}}}}]] }}
 * {{#ifexist: Category:Years of the {{Ordinal|{{CENTURY|{{{year}}}}}}} century in {{{region_century|{{{region}}}}}} | '''[[:Category:Years of the {{Ordinal|{{CENTURY|{{{year}}}}}}} century in {{{region_century|{{{region}}}}}}|{{Ordinal|{{CENTURY|{{{year}}}}}}}]]''' }}
 * {{#ifexist: Category:Years of the {{Ordinal|{{#expr:{{CENTURY|{{{year}}}}}+1}}}} century in {{{region_century|{{{region}}}}}} | [[:Category:Years of the {{Ordinal|{{#expr:{{CENTURY|{{{year}}}}}+1}}}} century in {{{region_century|{{{region}}}}}}|{{Ordinal|{{#expr:{{CENTURY|{{{year}}}}}+1}}}}]] }}
 * {{#ifexist: Category:Years of the {{Ordinal|{{#expr:{{CENTURY|{{{year}}}}}+2}}}} century in {{{region_century|{{{region}}}}}} | [[:Category:Years of the {{Ordinal|{{#expr:{{CENTURY|{{{year}}}}}+2}}}} century in {{{region_century|{{{region}}}}}}|{{Ordinal|{{#expr:{{CENTURY|{{{year}}}}}+2}}}}]] }}
 }}}}
 
 &lt;!--
  ** Link to the decade category [[Category:yyy0s in {{{region}}}]]
  ** for the current decade, and for two decades before and after, but only
  ** if the categories exist
 --&gt;
 | label3 = பத்தாண்டுகள்:
 | class3 = hlist
 | data3  = {{#if:{{both|{{isnumeric|{{{year|}}}}}|{{{region_decade|{{{region|}}}}}}}}|
 * {{#ifexist: Category:{{DECADE|{{#expr:{{{year}}}-20}}}} in {{{region_decade|{{{region}}}}}} |[[:Category:{{DECADE|{{#expr:{{{year}}}-20}}}} in {{{region_decade|{{{region}}}}}}|{{DECADE|{{#expr:{{{year}}}-20}}}}]]|{{#if:{{{region2|}}}|{{#ifexist: Category:{{DECADE|{{#expr:{{{year}}}-20}}}} in {{{region2}}} |[[:Category:{{DECADE|{{#expr:{{{year}}}-20}}}} in {{{region2}}}|{{DECADE|{{#expr:{{{year}}}-20}}}}]]}}}}}}
 * {{#ifexist: Category:{{DECADE|{{#expr:{{{year}}}-10}}}} in {{{region_decade|{{{region}}}}}} |[[:Category:{{DECADE|{{#expr:{{{year}}}-10}}}} in {{{region_decade|{{{region}}}}}}|{{DECADE|{{#expr:{{{year}}}-10}}}}]]|{{#if:{{{region2|}}}|{{#ifexist: Category:{{DECADE|{{#expr:{{{year}}}-10}}}} in {{{region2}}} |[[:Category:{{DECADE|{{#expr:{{{year}}}-10}}}} in {{{region2}}}|{{DECADE|{{#expr:{{{year}}}-10}}}}]]}}}}}}
 * {{#ifexist: Category:{{DECADE|{{{year}}}}} in {{{region_decade|{{{region}}}}}}|'''[[:Category:{{DECADE|{{{year}}}}} in {{{region_decade|{{{region}}}}}}|{{DECADE|{{{year}}}}}]]'''|{{#if:{{{region2|}}}|{{#ifexist: Category:{{DECADE|{{{year}}}}} in {{{region2}}}|'''[[:Category:{{DECADE|{{{year}}}}} in {{{region2}}}|{{DECADE|{{{year}}}}}]]'''}}}}}}
 * {{#ifexist: Category:{{DECADE|{{#expr:{{{year}}}+10}}}} in {{{region_decade|{{{region}}}}}} |[[:Category:{{DECADE|{{#expr:{{{year}}}+10}}}} in {{{region_decade|{{{region}}}}}}|{{DECADE|{{#expr:{{{year}}}+10}}}}]]|{{#if:{{{region2|}}}|{{#ifexist: Category:{{DECADE|{{#expr:{{{year}}}+10}}}} in {{{region2}}} |[[:Category:{{DECADE|{{#expr:{{{year}}}+10}}}} in {{{region2}}}|{{DECADE|{{#expr:{{{year}}}+10}}}}]]}}}}}}
 * {{#ifexist: Category:{{DECADE|{{#expr:{{{year}}}+20}}}} in {{{region_decade|{{{region}}}}}} |[[:Category:{{DECADE|{{#expr:{{{year}}}+20}}}} in {{{region_decade|{{{region}}}}}}|{{DECADE|{{#expr:{{{year}}}+20}}}}]]|{{#if:{{{region2|}}}|{{#ifexist: Category:{{DECADE|{{#expr:{{{year}}}+20}}}} in {{{region2}}} |[[:Category:{{DECADE|{{#expr:{{{year}}}+20}}}} in {{{region2}}}|{{DECADE|{{#expr:{{{year}}}+20}}}}]]}}}}}}
 }}&lt;!-- ** End of the decade-categories links --&gt;
 
 | label4 = இவற்றையும் பார்க்க:
 | class4 = hlist
 | data4 = {{{see_also|}}}
 }}{{#invoke:check for unknown parameters|check
 |unknown=[[Category:Pages using Year in region with unknown parameters|_VALUE_]]
 |preview=unknown parameter &quot;_VALUE_&quot; in [[:Template:Year in region]]
 | border | br | centuries | century | error | font-size | image | image_size | images | link | millennia | millennium | region | region1 | region2 | region_century | region_decade | region_link | region_millennium | region_text | see_also | style | width | year | year_max | year_min | year_span }}&lt;!--
      ***********************************************************************
      ** This is the end of the template.
      ** The remainder is only the documentation
 --&gt;&lt;noinclude&gt;
 {{documentation}}