Template talk:Wikipedia

Wikipediapar template
Use Template:Wikipediapar if the article on Wikipedia has a different name than the name of the module you've placed the template on. For example, Horn/General/Players/Dennis Brain needed to have this template linking to its complementary article on Wikipedia. Wikipedia's article (Dennis Brain) is named "Dennis Brain", not "Horn/General/Players/Dennis Brain". The appropriate template code in this instance is:

Do use two |'s. Ross Uber 04:34, 13 May 2005 (UTC)


 * You should not have changed the template parameters without a previous consensus. Now there are broken usages of this template. At least you should update the template instantiations after changing it. But in any case I don't agree with the change given that the usual case is that the wikibook name does not match the Wikipedia article because of supages or namespaces. ManuelGR 18:43, 13 May 2005 (UTC)
 * Okay. I wasn't aware that modules were using this template as it appeared to be very broken. It appeared to be broken because the method of using it is completely different from how it is used on Wikipedia. Trying to use it on my module using the Wikipedia code method failed. These templates should be the same across sister projects so confused people like me don't screw them up with the wrong code in articles/modules. And, anyway, there should be two different templates (one for when wikibook name matches wikipedia article, one for when they don't match). Ross Uber 00:36, 17 May 2005 (UTC)


 * I agree with your last sentence. Go and create the version with the same title, but this one should stay as it currently stands. ManuelGR 19:17, 17 May 2005 (UTC)
 * I have restored the use of one parameter because almost all the pages using this template were broken. ManuelGR 19:17, 13 May 2005 (UTC)

I agree that it would be less confusing if Wikipedia and Wikibooks had consistent templates. But I'm still mystified as to why there are 2 templates. both look identical to me. Couldn't both Wikipedia and Wikibooks each use a single template ? Then the explaination would be much simpler. The explanation (on the talk page) would say:
 * On Wikipedia, type
 * to refer to a Wikibook (or a particular page in that book).
 * On Wikibooks, type
 * to refer to a Wikipedia article.
 * to refer to a Wikipedia article.
 * to refer to a Wikipedia article.

(Further down, the talk page would discuss "Optional, advanced details" about putting more stuff in-between the vertical lines). --DavidCary 19:55, 25 Jun 2005 (UTC)

Someone made it so that wikipedia without a paramater performs a search. You can still do or  like before, though the former is easier than the latter. --Kernigh 06:17, 31 December 2005 (UTC)

Currently Help:How does one edit a page recommends using the "Wikipediapar" template. Should I change that help page to recommend the "Wikipedia" template instead/in addition? --DavidCary 11:57, 16 September 2006 (UTC)

Multiple Parameters
Seeing as this template didn't accept parameters, I have changed it so that up to three articles can be linked to using one box. I also changed the text to make this a bit smaller. (I forgot to log in though) Conrad.Irwin 23:42, 12 October 2007 (UTC)

Search
The "search go" variant seems to have never gone directly to the intended target if the target was multi-word. --Pi zero (talk) 12:31, 27 January 2009 (UTC)

Here's an illustration of what it did. All that's needed to make it work right is to convince it to replace the space in "Constructed language" with "_" instead of "+"... --Pi zero (talk) 13:21, 27 January 2009 (UTC)


 * Uhm that wasn't what the current revision was. I used localurl rather than urlencode, after I noticed that exact problem myself. Perhaps you were seeing an outdated version? --dark lama  17:04, 27 January 2009 (UTC)

You'd have no way of knowing I've spent most of my wikibooks time lately programming esoteric templates (yonder).

For anyone using the secure server your second version (the one I didn't even think to provide a mock-up of) comes out as follows. --Pi zero (talk) 19:05, 27 January 2009 (UTC)

Here's one way I've thought of that ought to work to some extent, thought it could take some tinkering and would, I think, always be a kludge. Modify the first version (the one using urlencode) by replacing each

with a call to #titlepart on a call to localurl. The uncomfortable part of this is that #titlepart has to remove the correct number of slash-separated fields &mdash; either you have to build the expected number of slashes into the template, or you have to test for it and you can still only build in a finite number of possible numbers of slashes. --Pi zero (talk) 19:57, 27 January 2009 (UTC)


 * I see so its the secure server that is giving you trouble. How about this than:


 * I just tried it myself in preview both with the secure server and without and it works for me. --dark lama  22:59, 27 January 2009 (UTC)


 * Elegant. --Pi zero (talk) 01:07, 28 January 2009 (UTC)

Why search?
Why is the search in the link. Wikipedia will automatically search if it's not found. Perhaps Wikipedia did not used to? Would seem that the seem in this template could now be removed. SunCreator (talk) 14:38, 14 February 2009 (UTC)


 * Wikipedia doesn't automatically do a search if the page is not found when following a link (for example http://en.wikipedia.org/wiki/Foobiz or Foobiz). I see a message saying "Wikipedia does not have an article with this exact name", if you see otherwise perhaps you are using a Gadget? Wikipedia will only automatically search if the page is not found when clicking go from the search toolbar or when using the search special page, which is what this template does. --dark lama  22:01, 15 February 2009 (UTC)

Layout trouble
I've created a layout workaround for the template in OpenOffice.org, because the template appears to adversely affect the layout of the first item in an unordered list. See the example from article history. -82.147.166.212 (talk) 01:29, 1 September 2009 (UTC)

What happened to the border?
Weird issue where has border on Mac Safari and missing border on IE7. It blends in with the text of the book too much. --MarsRover (talk) 08:11, 22 September 2009 (UTC)

Want topic 4 plz
Please make a forth parameter. I need it for History of Hong Kong. Thank you. Kayau 13:56, 9 November 2010 (UTC)
 * Four parameters are now available. – Adrignola talk 14:59, 9 November 2010 (UTC)