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 twin brothers David and Peter Jackson played together for seven clubs in English football? (1 June 2008)
- ... that goalkeeper Bob Roberts was the first West Bromwich Albion player to win an international cap? (4 June 2008)
- ... that the Eimsbütteler TV, a German football club, failed to advance in the national championship finals in 1934 and 1935 despite beating the later champion, FC Schalke 04, in both years? (6 June 2008)
- ... that in the 1996 football match between England and Scotland, Uri Geller claimed that he caused Scotland's Gary McAllister to miss a penalty by the power of his mind? (7 June 2008)
- ... in 1885, Jimmy Forrest was the first professional footballer to appear for the England national football team? (8 June 2008)
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)