User:Pasqual/Leap year

How convert this script in wiki code: leap year: if ((year % 4 == 0 && year % 100 != 0) || year % 400 == 0) return true;//si se cumplen esas condiciones retornar verdadero return false;//si no retornar falso.

tests:

The current year is

1980 was

1998 was

2004 was

2066 will be