User:Sardanaphalus/Template:(Award\prizewinners by decade\period)
Typical input (extracted from [[Template:Commonwealth Writers' Prize: Best Book Winners]]): 1987–1989 1987 [[Olive Senior]] 1988 [[Festus Iyayi]] 1989 [[Janet Frame]] 1990–1999 1990 [[Mordecai Richler]] 1991 [[David Malouf]] 1992 [[Rohinton Mistry]] 1993 [[Alex Miller (writer)|Alex Miller]] 1994 [[Vikram Seth]] 1995 [[Louis de Bernières]] 1996 [[Rohinton Mistry]] 1997 [[Earl Lovelace]] 1998 [[Peter Carey (novelist)|Peter Carey]] 1999 [[Murray Bail]] 2000–2009 2000 [[J. M. Coetzee]] 2001 [[Peter Carey (novelist)|Peter Carey]] 2002 [[Richard Flanagan]] 2003 [[Austin Clarke (novelist)|Austin Clarke]] 2004 [[Caryl Phillips]] 2005 [[Andrea Levy]] 2006 [[Kate Grenville]] 2007 [[Lloyd Jones (New Zealand author)|Lloyd Jones]] 2008 [[Lawrence Hill]] 2009 [[Christos Tsiolkas]] 2010–2019 2010 [[Rana Dasgupta]] 2011 [[Aminatta Forna]] Possible syntax for above: {{ (Award\prizewinners by decade\period) | (award\prize)name = Commonwealth Writers' Prize: Best Book Winners | state = (collapsed/expanded/etc) | 1987 <!--(startyear, so default first group should be calculated to be group1=1987–1990, i.e. startyear–next year divisible by 10)--> | [[Olive Senior]] | [[Festus Iyayi]] | [[Janet Frame]] <!--1990s--> | [[Mordecai Richler]] | [[David Malouf]] | [[Rohinton Mistry]] | [[Alex Miller (writer)|Alex Miller]] | [[Vikram Seth]] | <!--1995 was [[Louis de Bernières]], but assume no prize awarded or gap of one year:--> 1996 | [[Rohinton Mistry]] | [[Earl Lovelace]] | [[Peter Carey (novelist)|Peter Carey]] | [[Murray Bail]] <!--2000s--> | [[J. M. Coetzee]] | ...etc... <!--2010s--> | [[Rana Dasgupta]] | [[Aminatta Forna]] }}