Wikipedia talk:WikiProject Football/Did you know
From Wikipedia, the free encyclopedia
[edit] Use of noinclude tags
Previously, we had the DYK section of the Footy Portal which was updated rarely by the DYK project and footy members (for rarely, read: once sometime in 2006). Since we now have a repository of footy dyk's that is a bit more likely to be updated, I thought it might be a good idea to capitalise on it and use it to show our latest 5 entries on other pages (the portal, peoples userpages, project pages, wherever). This is achievable through the use of <noinclude> </noinclude> tags, which are part of the wikimarkup for templates. Any page can be transcluded into another, but these tags allow you to pick and choose content to be shown. e.g.
- ... that the only Football League match in which Billy Jervis played was abandoned due to fading daylight after his team turned up late? (11 April 2009)
- ... that the Essex derby football match did not take place for 15 years? (12 April 2009)
- ... that Archie Roe, who scored South Shields F.C.'s first ever goal in The Football League, was then signed by the team he had scored it against? (3 May 2009)
- ... that footballer Bud Houghton was born in Madras to an Anglo-Indian family who migrated to England in 1947 when India gained independence from British rule? (17 May 2009)
- ... that Gillingham Football Club's supporters donated £2,500 in an attempt to fund a month's extension to loanee defender Mick Bodley's contract? (26 May 2009)
This is a live demonstration of using <noinclude> </noinclude> tags on the page and then transcluding it (like a template) as
If it's a good idea, I'll replace the current Portal DYK with this. It's a lot easier than manually updating it (why update two pages with the same information) and a lot easier than trying to create a random fact generator. Plus it will mean that this area of the Portal will always have the most current entries on show (dependant on this page being updated). Nanonic 01:34, 8 October 2007 (UTC)

