قالب:YEAR/testcases

  • {{YEAR|1999}} gives "1999"
  • {{YEAR|1999-12-12}} gives "1999"
  • {{YEAR|1999-2001}} gives "Error"
  • {{YEAR|يناير 1999}} gives "Error"
  • {{YEAR|1 يناير 1999}} gives "Error"
  • {{YEAR|January 1, 1999}} gives "1999"