This template is used by {{Day}} and given a day {{{1}}} calculates which day in the year the date is. If you want the result for a leap year, set {{{2}}} to a value of 1 otherwise {{{2}}} should be a 0.

"https://si.wikipedia.org/w/index.php?title=සැකිල්ල:දවස/Totaldays&oldid=239136" වෙතින් සම්ප්‍රවේශනය කෙරිණි