| This template is part of WikiProject Cricket which aims to expand and organise information better in articles related to the sport of cricket. Please participate by visiting the project and talk pages for more details.CricketWikipedia:WikiProject CricketTemplate:WikiProject Cricketcricket articles | | Template | This template does not require a rating on Wikipedia's content assessment scale. | WikiProject Cricket To-do list: |
---|
- Article assessment
- Verifiability
- Update fair and unfair play, fast bowling, first-class cricket, googly, innings, leg break, limited overs cricket, not out, Pakistan Cricket Board, spin bowling, underarm bowling, wicket, and other fundamental articles classified by the WikiProject as high-importance so that they meet WP:Verifiability policy standards
- Cleanup
- Infoboxes
- Cricket people
- Cricket teams & countries
- Images
- On this day in cricket
- Umpires
- Women
- Update
- Other
|
|
|
Would someone be able to correct this template so that, if you only need to input one date (as in the case of English cricket team in Ireland in 2019), it doesn't display the endash. It looks a bit silly having to display "3 May 2019–" or "3 May 2019–3 May 2019". Also, the dash should be spaced, so as to read "3 May 2019 – 6 June 2019" (for example). – PeeJay 12:27, 3 May 2019 (UTC)Reply
- I'll give it a go. Spike 'em (talk) 17:51, 3 May 2019 (UTC)Reply
- It now only adds the dash (and the "s" to Dates) if
{{{to_date}}}
is set. Could probably add code to deal with just that and no {{{from_date}}}
but that is for another time. Spike 'em (talk) 20:29, 3 May 2019 (UTC)Reply