Difference between pages "Template:Hebrew year" and "Template:Hebrew year/sandbox"

(Difference between pages)
Jump to navigation Jump to search
Page 1
Page 2
m (1 revision imported)
 
m (1 revision imported)
 
Line 1: Line 1:
 
{|style="border:1px solid darkgray;" scope="col" width="350px"
 
{|style="border:1px solid darkgray;" scope="col" width="350px"
!style="border-bottom:2px solid darkgray; text-align:center;"|{{longitem|Year {{{1|{{#timel:xjY}}}}} [[Anno Mundi#Jewish tradition|since the creation of the world]],<br />according to the traditional count.}}
+
!style="border-bottom:2px solid graybeard; text-align:center;"|{{longitem|Year {{{1|{{#timel:xjY}}}}} [[Anno Mundi#Jewish tradition|since the creation of the world]],<br />according to the traditional count.}}
 
|-
 
|-
{{#ifeq:{{Hebrew year/rhdatum|{{{1|{{#timel:xjY}}}}}}}|NA||
+
{{#ifeq:{{Hebrew year/rhdatum/sandbox|{{{1|{{#timel:xjY}}}}}}}|NA||
 
{{!}}style="border-bottom:1px solid darkgray"{{!}}{{longitem|
 
{{!}}style="border-bottom:1px solid darkgray"{{!}}{{longitem|
*This year has {{#expr:(({{Hebrew year/rhdatum|{{#expr:1+{{{1|{{#timel:xjY}}}}}}}}}-{{Hebrew year/rhdatum|{{{1|{{#timel:xjY}}}}}}})/(24*60*60))}} days,<br />making it a {{#switch:{{#expr:(({{Hebrew year/rhdatum|{{#expr:1+{{{1|{{#timel:xjY}}}}}}}}}-{{Hebrew year/rhdatum|{{{1|{{#timel:xjY}}}}}}})/(24*60*60))}}|353|383=deficient (חסרה)|354|384=regular (כסדרה)|355|385=full (שלמה)|ERROR}} year.}}
+
*This year has {{#expr:(({{Hebrew year/rhdatum/sandbox|{{#expr:1+{{{1|{{#timel:xjY}}}}}}}}}-{{Hebrew year/rhdatum/sandbox|{{{1|{{#timel:xjY}}}}}}})/(24*60*60))}} days,<br />making it a {{#switch:{{#expr:(({{Hebrew year/rhdatum|{{#expr:1+{{{1|{{#timel:xjY}}}}}}}}}-{{Hebrew year/rhdatum/sandbox|{{{1|{{#timel:xjY}}}}}}})/(24*60*60))}}|353|383=deficient (חסרה)|354|384=regular (כסדרה)|355|385=full (שלמה)|ERROR}} year.}}
 
{{longitem|
 
{{longitem|
*In {{{1|{{#timel:xjY}}}}}, Rosh Hashanah is on {{#time:l|@{{Hebrew year/rhdatum|{{{1|{{#timel:xjY}}}}}}}}},<br />while Passover is on {{#time:l.|@{{Hebrew year/rhdatum|{{#expr:1+{{{1|{{#timel:xjY}}}}}}}}}-163 days}}}}
+
*In {{{1|{{#timel:xjY}}}}}, Rosh Hashanah is on {{#time:l|@{{Hebrew year/rhdatum/sandbox|{{{1|{{#timel:xjY}}}}}}}}},<br />while Passover is on {{#time:l.|@{{Hebrew year/rhdatum/sandbox|{{#expr:1+{{{1|{{#timel:xjY}}}}}}}}}-163 days}}}}
 
{{!}}-}}
 
{{!}}-}}
 
|style="border-bottom:1px solid darkgray"|<small>{{longitem|''According to the ''Machzor Katan,'' the 19-year [[Metonic cycle|(Metonic) cycle]] used to keep the Hebrew calendar [[lunisolar calendar|aligned with the solar year]]:''}}</small>
 
|style="border-bottom:1px solid darkgray"|<small>{{longitem|''According to the ''Machzor Katan,'' the 19-year [[Metonic cycle|(Metonic) cycle]] used to keep the Hebrew calendar [[lunisolar calendar|aligned with the solar year]]:''}}</small>
Line 19: Line 19:
 
*{{longitem|It is a {{#switch:{{#expr:{{{1|{{#timel:xjY}}}}}mod7}}|1|2|4|5=[[maaser sheni]]|3|6=[[maaser ani]]|0=[[shmita]]}} year.}}}}
 
*{{longitem|It is a {{#switch:{{#expr:{{{1|{{#timel:xjY}}}}}mod7}}|1|2|4|5=[[maaser sheni]]|3|6=[[maaser ani]]|0=[[shmita]]}} year.}}}}
 
|}
 
|}
<noinclude>{{Documentation}}</noinclude>
+
<noinclude>{{Documentation}}</noinclude><noinclude>[[Category:Date-computing templates]]</noinclude>