வார்ப்புரு:Year nav 1st century CE
&lt;!-- ----------
   Template of year-navigation box for year 1-100 (see NOTES below).
 ---------------
 --&gt;
 {| class=&quot;infobox&quot; style=&quot;text-align: center;&quot;
 | align=&quot;right&quot; | &lt;small&gt;'''[[நூற்றாண்டு]]கள்:''' &lt;/small&gt; 
 | align=&quot;center&quot; | &lt;!--
 --&gt; [[கிமு {{ordinal|{{#expr: (({{{1|88}}} - 1) - (({{{1|88}}} - 1) mod 100))/100 + 1}}}} நூற்றாண்டு]]&lt;!--
 --&gt; - '''[[{{ordinal|{{#expr: (({{{1|88}}} - 1) - (({{{1|88}}} - 1) mod 100))/100 + 1}}}} நூற்றாண்டு]]''' -&lt;!--
 --&gt; [[{{ordinal|{{#expr: (({{{1|88}}} - 1) - (({{{1|88}}} - 1) mod 100))/100 + 2}}}} நூற்றாண்டு]]
 |-
 | align=&quot;right&quot; | &lt;small&gt;'''[[பத்தாண்டுகளின் பட்டியல்|பத்தாண்டுகள்]]:'''&lt;/small&gt; 
 | align=&quot;center&quot; | &lt;small&gt; &lt;!--
 --&gt; [[{{#switch: &lt;!-- decade 30-years before
 --&gt;    {{#expr: ({{{1|88}}} - ({{{1|88}}}) mod 10) - 30}}&lt;!--
 --&gt;    |-30=கிமு 20கள் |-20=கிமு 10கள் |-10=கிமு 0கள்| 0=0கள் |&lt;!-- choose, else line below
 --&gt;    {{#expr: ({{{1|88}}} - ({{{1|88}}}) mod 10) - 30}}கள்&lt;!--
 --&gt; }}]]&amp;nbsp;&lt;!--
 --&gt; [[{{#switch: &lt;!-- decade 20-years before
 --&gt;    {{#expr: ({{{1|88}}} - ({{{1|88}}}) mod 10) - 20}}&lt;!--
 --&gt;    |-30=கிமு 20கள் |-20=கிமு 10கள் |-10=கிமு 0கள்| 0=0கள் |&lt;!-- choose, else line below
 --&gt;    {{#expr: ({{{1|88}}} - ({{{1|88}}}) mod 10) - 20}}கள்&lt;!--
 --&gt; }}]]&amp;nbsp;&lt;!--
 --&gt; [[{{#switch: &lt;!-- decade 10-years before
 --&gt;    {{#expr: ({{{1|88}}} - ({{{1|88}}}) mod 10) - 10}}&lt;!--
 --&gt;    |-30=கிமு 20கள் |-20=கிமு 10கள் |-10=கிமு 0கள்| 0=0கள் |&lt;!-- choose, else line below
 --&gt;    {{#expr: ({{{1|88}}} - ({{{1|88}}}) mod 10) - 10}}கள்&lt;!--
 --&gt; }}]]&amp;nbsp;&lt;!--
 --&gt; - [[{{#expr: ({{{1|88}}} - ({{{1|88}}}) mod 10)}}கள்]] -&lt;!--
 --&gt; &amp;nbsp;[[{{#expr: {{{1|88}}} - ({{{1|88}}} mod 10) + 10}}கள்]]&lt;!--
 --&gt; &amp;nbsp;[[{{#expr: {{{1|88}}} - ({{{1|88}}} mod 10) + 20}}கள்]]&lt;!--
 --&gt; &amp;nbsp;[[{{#expr: {{{1|88}}} - ({{{1|88}}} mod 10) + 30}}கள்]]
 &lt;/small&gt;
 |-
 | align=&quot;right&quot; | &lt;small&gt;'''[[ஆண்டுகளின் பட்டியல்|ஆண்டுகள்]]:'''&lt;/small&gt;
 | align=&quot;center&quot; | &lt;!--
 --&gt; {{#switch: &lt;!-- year of 3-years before
 --&gt;    {{#expr: {{{1|88}}} - 3}}&lt;!--
 --&gt;    |-3=[[கிமு 4|&lt;small&gt;கிமு&lt;/small&gt; 4]] &lt;!-- choose...
 --&gt;    |-2=[[கிமு 3|&lt;small&gt;கிமு&lt;/small&gt; 3]] &lt;!-- choose...
 --&gt;    |-1=[[கிமு 2|&lt;small&gt;கிமு&lt;/small&gt; 2]] &lt;!-- choose...
 --&gt;    | 0=[[கிமு 1|&lt;small&gt;கிமு&lt;/small&gt; 1]] &lt;!-- choose...
 --&gt;    | [[{{#expr: {{{1|88}}} - 3}}]]&lt;!-- ...else.
 --&gt; }}&amp;nbsp;&lt;!--
 -- --&gt;{{#ifexpr: {{{1|88}}} &lt; 30 |&amp;nbsp;&amp;nbsp;&amp;nbsp;|}} &lt;!-- BC?
 --&gt; {{#switch: &lt;!-- year of 2-years before
 --&gt;    {{#expr: {{{1|88}}} - 2}}&lt;!--
 --&gt;    |-2=[[கிமு 3|&lt;small&gt;கிமு&lt;/small&gt; 3]] &lt;!-- choose...
 --&gt;    |-1=[[கிமு 2|&lt;small&gt;கிமு&lt;/small&gt; 2]] &lt;!-- choose...
 --&gt;    | 0=[[கிமு 1|&lt;small&gt;கிமு&lt;/small&gt; 1]] &lt;!-- choose...
 --&gt;    | [[{{#expr: {{{1|88}}} - 2}}]]&lt;!-- ...else.
 --&gt; }}&amp;nbsp;&lt;!--
 -- --&gt;{{#ifexpr: {{{1|88}}} &lt; 20 |&amp;nbsp;&amp;nbsp;|}} &lt;!--decade BC?
 --&gt; {{#switch: &lt;!-- year of one-year before
 --&gt;    {{#expr: {{{1|88}}} - 1}}&lt;!--
 --&gt;    |-2=[[கிமு 3|&lt;small&gt;கிமு&lt;/small&gt; 3]] &lt;!-- choose...
 --&gt;    |-1=[[கிமு 2|&lt;small&gt;கிமு&lt;/small&gt; 2]] &lt;!-- choose...
 --&gt;    | 0=[[கிமு 1|&lt;small&gt;கிமு&lt;/small&gt; 1]] &lt;!-- choose...
 --&gt;    | [[{{#expr: {{{1|88}}} - 1}}]]&lt;!-- ...else.
 --&gt; }}&amp;nbsp;&lt;!--
 -- --&gt;{{#ifexpr:{{{1|88}}} &gt; 2 and {{{1|88}}} &lt; 10 &lt;!--digit-year?
 -- --&gt; |&amp;nbsp;&amp;nbsp;|}} &lt;!--extra spaces align decade-BC
 --&gt; - '''[[{{{1|88}}}]]''' -&lt;!--
 --&gt; &amp;nbsp;{{#ifexpr: {{{1|88}}} &lt; 4 |&amp;nbsp;|}}&lt;!-- extra space?
 -- --&gt;[[{{#expr: {{{1|88}}} + 1}}]]&lt;!--
 --&gt; &amp;nbsp;{{#ifexpr: {{{1|88}}} &lt; 4 |&amp;nbsp;|}}&lt;!-- extra space?
 -- --&gt;[[{{#expr: {{{1|88}}} + 2}}]]&lt;!--
 --&gt; &amp;nbsp;{{#ifexpr: {{{1|88}}} &lt; 4 |&amp;nbsp;|}}&lt;!-- extra space?
 -- --&gt;[[{{#expr: {{{1|88}}} + 3}}]]&lt;!--
 -- --&gt;{{#ifexpr: {{{1|88}}} &gt; 69 |&amp;nbsp;|}}&lt;!-- extra space?
 --&gt;
 |}&lt;noinclude&gt;
 &lt;!------------------------------------ (non-included section below)
   NOTES:
    - This template uses expressions (#expr) to calculate centuries,
      decades, and year numbers surrounding the year parameter.
    - Negative numbers are handled by #switch-statements, testing
      for each negative number, else displays the calculated number.
    - Extra spaces are inserted around small numbers by testing
      the year using &quot;#ifexpr&quot; conditional expressions, such as
        {{#ifexpr: {{{1}}} &lt; 10 | true-part | false-part }}
 
    - Variables are not used, as they were not a supported feature
      (when this template was created), so calculations are made
      twice, once to test, and again to display if positive.
 
    - Calculations here can seem dangerously complicated, so this
      template should not be extended to handle many other years,
      since fixing a broken/vandalized template could become a
      configuration nightmare (avoid &quot;too many eggs in one basket&quot;).
 ------------------------------------- --&gt;
 ==Result==
 : Live result for default year &quot;88&quot; at right:
 
 ==Usage==
 Takes one parameter, the year-number (year 1-100 only).&lt;br&gt;
 The box width shrinks nearly 6% for smaller year-number sizes.
 :&lt;code&gt;&lt;nowiki&gt;Example for &quot;{{Year nav 1st century CE|73}}&quot; at right:&lt;/nowiki&gt;&lt;/code&gt;
 {{Year nav 1st century CE|73}}
 {{-}}
 :&lt;code&gt;&lt;nowiki&gt;Example &quot;{{Year nav 1st century CE|93}}&quot; at right (&amp; 33, 23, 7):&lt;/nowiki&gt;&lt;/code&gt;
 {{Year nav 1st century CE|93}}
 {{-}}
 {{Year nav 1st century CE|33}}
 {{-}}
 {{Year nav 1st century CE|23}}
 {{-}}
 {{Year nav 1st century CE|7}}
 {{-}}
 
 :&lt;code&gt;&lt;nowiki&gt;Example for &quot;{{Year nav 1st century CE|16}}&quot; at right:&lt;/nowiki&gt;&lt;/code&gt;
 {{Year nav 1st century CE|16}}
 {{-}}
 :&lt;code&gt;&lt;nowiki&gt;Example for &quot;{{Year nav 1st century CE|3}}&quot; at right:&lt;/nowiki&gt;&lt;/code&gt;
 {{Year nav 1st century CE|3}}
 {{-}}
 
 :&lt;code&gt;&lt;nowiki&gt;Example for &quot;{{Year nav 1st century CE|100}}&quot; [maximum] at right:&lt;/nowiki&gt;&lt;/code&gt;
 {{Year nav 1st century CE|100}}
 {{-}}
 
 :&lt;code&gt;&lt;nowiki&gt;Example for &quot;{{Year nav 1st century CE|1}}&quot; [minimum] at right:&lt;/nowiki&gt;&lt;/code&gt;
 {{Year nav 1st century CE|1}}
 {{-}}
 
 :&lt;code&gt;&lt;nowiki&gt;Example for &quot;{{Year nav 1st century CE|0}}&quot; [invalid] at right:&lt;/nowiki&gt;&lt;/code&gt;
 {{Year nav 1st century CE|0}}
 
 :: Use other tables to handle years outside 1-100.
 
 [[Category:History navigational boxes]]
 
 [[en:Template:Year nav 1st century CE]]