Template talk:wikipedia

Definition from Wiktionary, the free dictionary
Jump to navigation Jump to search


Why are we saying that Wikipedia DOES have and article? That usually is the case, not always, e.g. colline. --Connel MacKenzie 13:56, 13 Apr 2005 (UTC)

  • The template should not be used if there is not an article in Wikipedia; are you suggesting that the template might be added robotically or casually? Ceyockey 20:39, 30 July 2005 (UTC)[reply]


Can somebody put a colored background over the table of this template? That would be pretty. I've played about with trying out colouring on a small pedia project, but to no avail. --Expurgator t(c) 16:16, 18 July 2005 (UTC)[reply]

Alternate version?[edit]

Is there an alternate version of this template that lets you specify what the article name is? example, link oolong tea to wikipedia:oolong but have it use the formatted box? JillianE 15:33, 29 October 2005 (UTC)[reply]

Yes, use {{wikipediapar|Oolong}}. SemperBlotto|Talk 16:03, 29 October 2005 (UTC)[reply]

Since this discussion, a new version that takes parameters has made this possible with the wikipedia template itself. See documentation above. Davilla 09:38, 7 June 2006 (UTC)[reply]

Watch out for lists[edit]

Note that this template cannot be used (successfully) as an item in a list. I made that mistake just now (then fixed it). - dcljr 21:21, 1 February 2006 (UTC)[reply]

I agree that all "div" tags are evil. This is only one manefestation of that. --Connel MacKenzie 18:20, 8 July 2006 (UTC)[reply]
How should boxes be used in lists? — Vildricianus 18:22, 8 July 2006 (UTC)[reply]

Why allow other language 'pedia links?[edit]

Why do we have the LANG= parameter again? The purpose of having separate language Wiktionaries is to describe words in a language. To me, it makes sense only to use interwiki links for language-crossing. Am I off base? --Connel MacKenzie 18:18, 8 July 2006 (UTC)[reply]

SemperBlotto wanted links to the Italian Wikipedia. Why not? Pretty useful I'd say. — Vildricianus 18:22, 8 July 2006 (UTC)[reply]
Other language Wikis are useful as sample texts and they also work in a way as references. In some cases, the term may be so obscure or specific that there is no equivalent entry in the English Wikipedia.--Jyril 22:52, 13 February 2007 (UTC)[reply]


Please add to the source code the following interwiki [[es:Template:Wikipedia]] Thanks in advance. --Elwikipedista 18:38, 9 September 2006 (UTC)[reply]

Done. --Bequw τ 20:57, 24 April 2010 (UTC)[reply]


Moved from cosmetics documentation above --Hroðulf 14:23, 11 September 2006 (UTC) Then why is it listed here? This entire section is disputed. Davilla 09:38, 7 June 2006 (UTC)[reply]

Seems to me (and this is what I've been doing), the link to the English Wikipedia should be just after the English header; that link won't necessarily apply to words in other languages spelled the same way. Similarily, links to other Wikipedias should be just inside the top of the respective language sections! Robert Ullmann 16:00, 18 July 2006 (UTC)[reply]

Parameter number[edit]

Wikipedia has an article on:
Ruler (1)

I would like to add a new parameter to this template. It would be intended to precise which meaning of the word the Wikipedia's article describes. For exmample, the word ruler has two main meanings and the template says that "Wikipedia has an article on Ruler" but which one? So I think we should add a parameter named number or nb for short. 16@r 13:40, 14 April 2007 (UTC)[reply]

Can't do it. No way to keep it current. That's why we avoid using numbers in translations sections etc. If you want to use the gloss for the definition or something the template already permits that, in alt text.

{{wikipedia|ruler|ruler (measuring device)}}

But it may look bad sometimes, and there is no way of keeping that current if/when WP changes. Robert Ullmann 14:07, 14 April 2007 (UTC)[reply]
Eh ouais, pas bête :o. Bright idea, I didn't think of it. 16@r 15:26, 14 April 2007 (UTC)[reply]

Literal "Wikipedia" word added[edit]

It looks like a change to this template on June 6 added the word "Wikipedia" with a link to the sister article in Wikipedia, in addition to the sister-project box off to the right. Was this intentional? It looks somewhat odd to me. --Dajagr 18:55, 8 June 2007 (UTC)[reply]

Try looking at it on a page other than a template. It makes up for the fact that the floating box can screw up formatting, or be invisible when vieing sections in a long page. In any case, the current box is not ideal, and I would like to see it phased out. Dmcdevit·t 21:12, 8 June 2007 (UTC)[reply]

Exciting developments[edit]

These new changes are great... Two questions:

  • Can we get rid of the box now? It's always been sort of Wikipedia-ish...
  • Would it be appropriate to apply these changes to other templates of the same form in Category:Interwiki templates? -- Visviva 11:50, 25 June 2007 (UTC)[reply]

Something wrong with the lang= parameter[edit]

Please see the dodraug article. __meco 19:50, 15 December 2007 (UTC)[reply]

What? I don't see anything wrong? Robert Ullmann 07:26, 16 December 2007 (UTC)[reply]
Perhaps you could try following the links? __meco 11:34, 7 April 2008 (UTC)[reply]
So? It takes me to w:no:Dodraugen. Which is what it should do. What do you think is wrong? Robert Ullmann 12:03, 7 April 2008 (UTC)[reply]
My mistake entirely. I was confused by the link in the status bar showing up as http://en.wikipedia.org/wiki/no:Dodraugen, not realizing that that would actually lead the user to the Norwegian wikipedia./ __meco 08:38, 28 May 2008 (UTC)[reply]

Error in documentation[edit]

In the examples section there is as reference to deleted template {{wikipediamul}}. __meco 11:35, 7 April 2008 (UTC)[reply]

fixed. Any you didn't fix it why? Robert Ullmann 12:05, 7 April 2008 (UTC)[reply]
Because I wasn't sure what to do. __meco 08:41, 28 May 2008 (UTC)[reply]


What do we need to do to get that kewl class="interProject" (the nifty link in the left pane) to work on a small, third-world project? Otherwise, if you feel like it, you may add fy to the list of other languages.

If, as I somewhat suspect, the answer lies in editing the global main.js or css, you'll have to give me one more sentence to tell me where to find that source. (Yes, I know that's an admin thing.) Thanks! Snakesteuben 09:39, 27 April 2008 (UTC)[reply]

I don't understand; what is it you are trying to do exactly? Robert Ullmann 09:47, 27 April 2008 (UTC)[reply]
I assume he wants to know how to get that class on fy.wikt. Dmcdevit·t 10:05, 27 April 2008 (UTC)[reply]
Does this help? Compare fy:User:Snakesteuben/wikipediatempatedemo with User:Snakesteuben/wikipediatempatedemo
Well, anyway, I think Mr./Ms. EditConflict there (Dmcdevit-t) just hit it. ;-) Snakesteuben 10:23, 27 April 2008 (UTC)[reply]
(P.S. it's a she. :-) ) -Winter

Ah, IC. You want to look at Mediawiki:monobook.js and steal the appropriate section for your project. You are admin on fy.wikt? Robert Ullmann 11:14, 27 April 2008 (UTC) The CSS class is in Mediawiki:common.css. Robert Ullmann 11:17, 27 April 2008 (UTC)[reply]

You are admin on fy.wikt?
Ugh, and I'm supposed to be the tech one. Pretty pathetic, huh? Are you just curious, or could I do something for you over there? Chip away at the "I owe you one" list? Winter (User:Snakesteuben 07:53, 30 April 2008 (UTC))[reply]
I was just wondering if you were the one that would be adding it to the .css and .js there, or whether we needed to explain it to someone else ;-) Robert Ullmann 08:59, 30 April 2008 (UTC) (now with snapdragon)[reply]



http://en.wikipedia.org/w/index.php?title=MediaWiki:Common.css 894 lines

http://fy.wikipedia.org/w/index.php?title=MediaWiki:Common.css 12 lines

common.js almost identical line count.

but if I search both your common.js and common.css files for "interp," the string's not found. Hmm.. But don't go to any more trouble just yet. I'll poke around myself until/unless I get stuck again. There's probably an include or import or or some such, whatever it's called. Thanks much (again), Petal. Winter (User:Snakesteuben 11:45, 27 April 2008 (UTC))[reply]

I hate to think of you struggling, and you seem to be linking to Wikipedia's css not ours. You need the javascript from here and the CSS:
.interProject {
   clear: both; 
   border-top: 2px dotted #AAAAAA; 
   margin-top: 2em;

Hope that clarifies. Conrad.Irwin 12:06, 27 April 2008 (UTC)[reply]

D'oh! Why Winter can't read ... Boy do I feel stupid. (But in my slight defense, I did manage to figure it out when I came back to link it for somebody today.) Thanks, Conrad. <blush> Snakesteuben 08:53, 29 April 2008 (UTC)[reply]
P.S., but--just to check my understanding, a general question not just this case--if I want to snag more than that, I should start with common.js, for that applies to all users, while monobook.js governs only those using the monobook skin? Right? Or maybe wrong? Snakesteuben 09:00, 29 April 2008 (UTC)[reply]
You could, but it only works for people using Monobook (at the moment), so there is no point. Conrad.Irwin 09:16, 29 April 2008 (UTC)[reply]

Link to specific or extended sense[edit]

For example, in the entry Bug the term describes two specific rivers, so I could link to w:Bug river. Or should I link to w:Bug, which is a disambiguation page listing dozens of articles. Michael Z. 2008-10-27 21:56 z

My vote is for {{wikipedia|dab=Bug}}. [[Bug]] may list only rivers, but a river visiting that page may be looking for something else entirely. I think {{wikipedia}} is as helpful for "Didn't find what you were looking for?" as for "Want more information about this?". —RuakhTALK 15:16, 28 October 2008 (UTC)[reply]


Why doesn't this template name have a capital initial? Wikipedia is a proper noun, and it's intuitive to type it with a capital W. Michael Z. 2008-11-06 14:33 z

We have a redirect from the capital form to lc, because Wikipedians tend to use that form; but we generally write all template names in lower case; you can use eitther, and AF converts to our canonical form. Robert Ullmann 09:16, 17 March 2009 (UTC)[reply]
AF? What's that short for? –Tommy Kronkvist (talk), 10:22, 24 March 2016 (UTC).[reply]
User:AutoFormat (a bot). —Stephen (Talk) 11:33, 24 March 2016 (UTC)[reply]
Thank you for your swift reply. –Tommy Kronkvist (talk)‚ 18:11, 29 March 2016 (UTC).[reply]

Language codes no, nb and nn[edit]

As of now, we define all words that are both Nynorsk and Bokmål as Norwegian, with the language code "no". Words that are only present in one of the two languages, we define as either "Norwegian Bokmål" or "Norwegian Nynorsk". Well, at Wikipedia we have two different wikis: nn.wikipedia.org for Nynorsk articles and no.wikipedia.org for Bokmål and Riksmål articles. When including {{wikipedia|lang=no}} this template gives you the result "Norwegian Wikipedia", but in reality it's just the Bokmål and Riksmål Wikipedia. Is it possible to make the template return "Norwegian Bokmål/Riksmål Wikipedia" instead? And would it be possible to somehow manage to make this template return a link to both of the wikis when a certain parameter is given, so that we don't need to have two boxes when both nn.wiki and no.wiki has an article about the entry word? --Eivind (t) 09:28, 16 March 2009 (UTC)[reply]

At the moment it gets its language names from {{no}}, {{nb}} and {{nn}}. It might be possible to create a template, say {{wmf lang}} that converted these languages into the WMF designations, and left the others the same. Linking to two Wikipedias in one box seems overkill, and while it would be possible i'm not sure it is useful enough. Conrad.Irwin 10:03, 16 March 2009 (UTC)[reply]

new line ?[edit]

Why is the new line after has an article on: obligatory? When I used the template on with the parameter lang=zh-classical, the link to the article appeared on a new line, when in fact it is far better for it to appear right after on:, on the same line. Can you fix it? Now the second line contains but one word: on:, too dissipative and spacious. When I enlarged the font, the same new line appeared on the use with the zh paraneter as well. Can one get rid of this new line, so that it appears facultatively, only if the superior line is full? The uſer hight Bogorm converſation 10:19, 18 June 2009 (UTC)[reply]

Change of Image[edit]


This image should be used in the template. --T.M.M. Dowd 11:15, 30 June 2009 (UTC)[reply]


Currently we don't pass the language code into {{Xyzy}}, which makes that call rather useless. If no one objects within the next few days, I'm going to replace |face=bold with |lang={{{lang|en}}}|face=bold in both places that it appears. —RuakhTALK 18:50, 19 December 2009 (UTC)[reply]

need "See also" at top: template:w and template"slim wikipedia"[edit]

need "See also" at top: template:w and template"slim wikipedia". These are very commonly used variations. Facts707 17:13, 30 May 2011 (UTC)[reply]

Sidebar display bug[edit]

The “In other projects” sidebar section's display is incorrect.

When I load a page with one or more instances of {{wikipedia}}, the sidebar draws, then the “In other projects” section is added a split second later. The section shows up (correctly) collapsed, with its contents hidden, but the heading shows up (wrongly) in the open state: with reveal triangle pointed down and text in grey.

When I click the triangle or header, the section opens as it should, and the header toggles to the (incorrect) closed state: triangle pointed right, text blue-linked. Michael Z. 2011-12-14 19:16 z

Probably useful to give a link to a page with this occurring, so that others can explore the pages that are problematic for you. — billinghurst sDrewth 21:28, 16 December 2011 (UTC)[reply]
As far as I can tell, it happens every time. Currently seeing it on Atlantic Canada, Atlantic provinces, Bloody Caesar, Bombardier, Burlington bun, Canadian French, Canadian Shield, Central Canada, Central provinces, Dnieper, Dnipropetrovsk, Donbas, Donetsk, Eastern Orthodoxy, Empire State, Empire State Building, First Nation, French Canadian, French-Canadian, goldeye. I'm using Safari 5.1.2/Mac, but from a quick look at a few pages, the problem seems to affect Firefox 8.0.1/Mac, Chrome 16.0.912.63/Mac, and the latest Safari/iOS too. Michael Z. 2011-12-16 22:48 z
Gotcha, so we are talking about the Vector skin, and where the Appearance option in your option is set ON for "Enable collapsing of items in the navigation menu in Vector skin". I can replicate it, so let's see what is set elsewhere. — billinghurst sDrewth 06:24, 19 December 2011 (UTC)[reply]
I have left a note in Wiktionary:Grease pit about the location of the problem, but they will need to find the fix. Alternates are to use a different skin, or turn off the toggle until this is fixed. — billinghurst sDrewth 06:43, 19 December 2011 (UTC)[reply]
Fixed. --Yair rand 06:56, 19 December 2011 (UTC)[reply]
Thank you. That works fine now. Michael Z. 2012-01-04 05:06 z

Section links[edit]

It would be handy if we had a template that supported WP article section links. I tried it out for (deprecated template usage) mallomars. Everything was good except the wording in the box. I suppose a new template with links thereto on the documentation subpage would be better than adding complexity to this. I will take a run at such a template myself, based on this one, but my template skills are not good. DCDuring TALK 18:17, 1 July 2012 (UTC)[reply]


There is currently a problem with this entry. The code "hr" no longer exists, so the template is getting a script error because it is trying to display the word in the native script of "hr" which is invalid. I'm not sure how to fix it though. —CodeCat 01:15, 24 May 2013 (UTC)[reply]

You just have to specify the script. Done. --Dijan (talk) 16:57, 24 May 2013 (UTC)[reply]


See Template talk:slim-wikipedia. —Μετάknowledgediscuss/deeds 22:13, 14 August 2013 (UTC)[reply]


Suggest include the place to put the template: under language section name (i.e. just under ==English== ). --Diamondland (talk) 13:09, 28 January 2014 (UTC)[reply]

RFM discussion: January 2013–September 2015[edit]


The following discussion has been moved from Wiktionary:Requests for moves, mergers and splits (permalink).

This discussion is no longer live and is left here as an archive. Please do not modify this conversation, but feel free to discuss its conclusions.

I propose that we merge this template with {{slim-wikipedia}} (by redirecting it there, or deleting it and moving {{slim-wikipedia}} to {{wikipedia}}). I believe this will help reduce entry clutter without affecting usability because, unlike the “In other projects” box, {{slim-wikipedia}} can still be easily seen, and because {{wikipedia}}’s bigger logo, longer text and greater waste of vertical space are useless. — Ungoliant (Falai) 21:48, 16 January 2013 (UTC)[reply]

I haven't noticed the larger size being that much of a problem, though. And Wikipedia has an identical-looking set of templates I think, so it helps with cross-project consistency. —CodeCat 21:57, 16 January 2013 (UTC)[reply]
Strong oppose. I think that without this template, few would notice the Wikipedia links. Sorry, Ungoliant. —Μετάknowledgediscuss/deeds 01:50, 17 January 2013 (UTC)[reply]
Tend to support but hesitantly. Put me down as an abstain. Mglovesfun (talk) 17:15, 25 January 2013 (UTC)[reply]
Support. {{wikipedia}} wastes a lot of space. --Yair rand (talk) 08:32, 29 January 2013 (UTC)[reply]
Support if {{slim-wikipedia}} has all the features {{wikipedia}} does (linking to more than one article, linking to foreign-languages Wikipedias, etc.). (I haven't checked.)​—msh210 (talk) 16:52, 29 January 2013 (UTC)[reply]
Oppose per Metaknowledge. - -sche (discuss) 19:35, 31 January 2013 (UTC)[reply]
Support merging the two; Oppose making it smaller. How is space on web pages being wasted, particularly by a box that floats to the right of the content? Is scrollbar an endangered resource? Michael Z. 2013-02-03 00:26 z
Keep. In entries where there are multiple L2s, each with their own language-specific wikipedia links, not to mention their own images, it's not unheard of for the wikipedia box from one language to end up at least partially across from the entry for the neighboring language- so space is, indeed, sometimes a problem. That said, I don't agree with eliminating the option of ever using a full-size wikipedia box even in the majority of cases where space isn't an issue. Like Μετάknowledge says, it's good to have it highly visible sometimes. Chuck Entz (talk) 03:58, 3 February 2013 (UTC)[reply]
  • {{slim-wikipedia}} was originally intended to be the only interproject link template that could appear above the first L2 header. It was intended to send folks to WP in cases where there might be a proper Wiktionary entry, but WP had an entry or a disambiguation page that had material not in and not appropriate for Wiktionary. The principal situation would have been for English proper noun entries for which there might be many proper noun that did not meet our prevailing criteria for inclusion or had not yet been entered. The rationale for the placement was that this was the encyclopedic equivalent of {{also}}. It was made small to take up less vertical screen space.
Oppose. If this project link box is to be smaller, then all should be. If the original rationale for {{slim-wikipedia}} as a special box for above-first-L2 placement is considered currently valid then the rationale for small size also remains. DCDuring TALK 01:38, 3 February 2013 (UTC)[reply]
Support merge Why can't we just add a parameter like |slim=yes so you could have the slim version show up when invoking {{wikipedia}}? You could keep the slim version and amend it as necessary and eat the cake too. TeleComNasSprVen (talk) 21:21, 29 December 2013 (UTC)[reply]
Support a merge if done like this, but otherwise, oppose. — Carolina wren discussió 00:16, 24 February 2014 (UTC)[reply]
Not merged to Template:slim-wikipedia. But there may be support to merge in the other direction; I may open a new RFM later. - -sche (discuss) 03:57, 28 September 2015 (UTC)[reply]


Please fix the grammar; "The X Wikipedia has an article on", not "X WP has..." etc. --Espoo (talk) 13:29, 25 September 2016 (UTC)[reply]