Forum:Suggested improvements to the wikipedia template

I'd like to improve the Wikipedia template used to provide a backlink to pages from wikipedia.
 * 1) have a date parameter in it (like a lot of the wikipedia maintenance templates do) so it is easier to see how old the version incorporated into wikia is.
 * 2) have aback link that goes to the wikipedia page (as was) at the date of import.

I'm not an expert at conditional wiki coding, so a) has any body already created a similar template or know of one i could adapt, to add the date or history backlink function. b) Could one of the coding experts create an improved version, or wiki code snipet to add to achieve this ?

I Think an improved version would be useful to other wikia wikis and should be added to the starter wiki. As i notice a lot of small / new wikis fail to credit sources and add copyright tags to images, but there have also been some discussions on wikia (canot remember just were i read it) about including the entire page history from wikipedia on import of pages. As i understand it the Wikipedia template satisfies the Cc-by-sa attribution of source requirements of the license, but I think linking back to the actual date would be much better. - BulldozerD11 19:57, March 31, 2010 (UTC)


 * Just glancing at the history links in Wikipedia articles they seem to be based on ids and not date/time ranges, so it would seem to be difficult to make a dated back link without some function to encode a specified page URL and date/time into the proper id. However, I've haven't put much time into investigating a solution, so maybe it's possible. -- Fandyllic  (talk &middot; contr) 5:41 AM PST 3 Apr 2010


 * How 'bout this?
 * ... This page uses Creative Commons Licensed content from Wikipedia (view authors). ...


 * Just fill in the 'oldid'. – koisuru ( talk ) 05:53, April 6, 2010 (UTC)


 * Thanks koisuru - combined it with a date adding bit of code from another template to create this one {Wikipediaid} which probably needs a check adding for the subst: or not case for the date bit, and to better indicate link is to the historic page. Proper Doc page also needs adding once perfected. - BulldozerD11 21:11, April 6, 2010 (UTC)