Template talk:wikipedia

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

Why[edit]

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)

color[edit]

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)

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)

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

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)

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)

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

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)

SemperBlotto wanted links to the Italian Wikipedia. Why not? Pretty useful I'd say. — Vildricianus 18:22, 8 July 2006 (UTC)
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)

Interwiki[edit]

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

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

Cosmetics[edit]

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)

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)

Parameter number[edit]

Wikipedia-logo-en.png
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)

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)}}

Wikipedia has an article on:

Wikipedia

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)
Eh ouais, pas bête :o. Bright idea, I didn't think of it. 16@r 15:26, 14 April 2007 (UTC)

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)

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)

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)

Something wrong with the lang= parameter[edit]

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

What? I don't see anything wrong? Robert Ullmann 07:26, 16 December 2007 (UTC)
Perhaps you could try following the links? __meco 11:34, 7 April 2008 (UTC)
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)
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)

Error in documentation[edit]

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

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

class=interProject[edit]

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)

I don't understand; what is it you are trying to do exactly? Robert Ullmann 09:47, 27 April 2008 (UTC)
I assume he wants to know how to get that class on fy.wikt. Dmcdevit·t 10:05, 27 April 2008 (UTC)
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)
(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)

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))
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)

Wey-yull...

Yeah...

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))

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 {
   display:none; 
   clear: both; 
   border-top: 2px dotted #AAAAAA; 
   margin-top: 2em;
}

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

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)
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)
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)

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)

Capitalization[edit]

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)

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)

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)

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)

Change of Image[edit]

BouncyWikiLogo5.gif

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

Xyzy|lang=...[edit]

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)

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)

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)
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)
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)
Fixed. --Yair rand 06:56, 19 December 2011 (UTC)
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 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)

vukopis[edit]

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)

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

RFM[edit]

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

Place[edit]

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)