This is an archive of past discussions about Template:Portal. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page.
The documentation page says "Within articles, this template is meant to be placed at the bottom of the article in the See also section." If an article contains the portal template but not a See also section, should a See also section be created just for the portal template, or should the portal template be placed somewhere else? (e.g. References, External links). See Cefaly for an example. Thanks! GoingBatty (talk) 18:36, 17 February 2014 (UTC)
For the first time in my experience, I've saw someone create a "See also" section solely to move the portals from the "External links" section.
While I don't pay much attention, it seems that adding portals to "External links" is common practice, even when there is a "See also" section. WP:ALSO says, "{{Portal}} and {{Wikipedia books}} links are usually placed in this section."
Seems that this template should have similar if not identical location information as {{Commons}}. Or maybe we add "Do not place this template in a section all by itself" and suggest adding it to "External" links or the bottom of the page when there is no "See also" section? --Ronz (talk) 18:01, 26 February 2014 (UTC)
I've added some instructions to the documentation to place it in the external links section if there is no see also section, or just to use good judgement if neither section exists. Feel free to tweak it. — Mr. Stradivarius♪ talk ♪13:20, 27 February 2014 (UTC)
I just noticed that no such portal exists, and it doesn't appear it was deleted, either. Why does it have an entry at all? Jackmcbarn (talk) 03:49, 4 March 2014 (UTC)
I'm not sure, I just noticed the error (invalid file) and flagged it. Maybe the correct action would be to remove the entry completely? I'm not sure how you tell if any articles are referencing the portal template with this target specifically? KylieTastic (talk) 10:14, 4 March 2014 (UTC)
The image lists were created automatically from the subpages of Template:Portal/Images, now deleted. To get an entry on this list, all you had to do was to create a subpage with an image entry on it; there wasn't any checking that the portal pages existed. I probably would have done that when I compiled the list, but the old scheme was to have the first letter of the subpage name in uppercase and the following letters all lowercase, which means there has never been any reliable way to find whether a portal exists for a given image key. Humans can usually do it pretty easily, but it's very hard to write a script to work out what the correct capitalisation should be. In this case, the portal image subpage was created by Buaidh in August 2011, but it looks like there was never any portal for it. Going through Buaidh's deleted contribs I found a couple of other image entries without portals as well. It looks like they started creating images for geography portals, but stopped after they realised the sheer immensity of the task ahead. :) I've removed all the entries from the image lists.[1] They can go back in if someone decides to create the portal. — Mr. Stradivarius♪ talk ♪13:32, 4 March 2014 (UTC)
Could you please change "Seal of Nagaland.png" to "Hornbill festival of nagaland.jpg". The previous image was deleted from Commons on 6 March 2014 and File:Seasl of Nagaland.svg is un-free. On the other hand, it looks like the portal itself might have been deleted or was never created.... In this case, perhaps Mr. Stradivarius could work his magic on this list, like he did in Module:Portal/images/a, above. - tucoxn\talk21:58, 6 March 2014 (UTC)
Done. I've removed it. It was another one added by Buaidh in 2011. Looking at their deleted contribs more closely, it seems they went through a whole list of countries from A to Z and added portal images for them, over the course of a few weeks/months. Most of those are fine, but it looks like a few of them never had an associated portal page. It's not really practical to go through all of them to check which are still in the data modules and don't have a portal page. It would be better to check through all the portal images themselves, as we would have to check them anyway to see which portals images have been changed. But to do that, someone needs to make a list of all the portal image keys with correct capitalisation, and as there are over 1,500 of them it will be quite a slog. — Mr. Stradivarius♪ talk ♪23:46, 6 March 2014 (UTC)
Portal image keys to check
Inspired by Tucoxn's request above, I have compiled a list of portal images and aliases that need checking by humans. To make this list, I have gone all through the keys for the portal images, and checked them with three different capitalisations: all-caps, first letter capitalised, and first letter of each word capitalised. If a portal page didn't exist for any of those capitalisations, that key was added to the list. This has reduced the list of portals to check significantly, but it wasn't clever enough to detect portals like Portal:Bosnia and Herzegovina or portal redirects like Portal:A Series of Unfortunate Events, for instance. If any kind editors are willing to help go through this list, it would be much appreciated.
Instructions:
If there is a portal page or portal redirect at a different capitalisation, remove the entry from the list entirely.
If there isn't a portal page/redirect at a different capitalisation, please move the entry from the "Unchecked image keys" section to the "Image keys needing removal" section.
Yes, thank you very much for that. :) I've removed the image keys from the image submodules, so I think we are done here for now. If anyone spots any other suspect portal images, though, please drop a note in a new section below. — Mr. Stradivarius♪ talk ♪13:45, 8 March 2014 (UTC)
This template is still used for wikiprojects that may not have a portal. I've re-added the Canadian ones, but I would guess that most of the ones you removed were there for a reason. 117Avenue (talk) 01:12, 10 March 2014 (UTC)
@117Avenue: Ah, now that's ugly. I had overlooked {{WPbox}}. I don't like the idea of mixing in WikiProjects with portals though - it seems a very messy way of doing things. How about making a special Lua module to get the images for WPBox? Any WikiProjects that don't have portals could have their images stored there, and if the module didn't find a match it could look for the portal image instead using Module:Portal. — Mr. Stradivarius♪ talk ♪02:27, 10 March 2014 (UTC)
I do like the idea of mixing them (though it should be documented somewhere clearly to avoid this happening again), for the sole reason that it avoids duplication, since a lot of these do seem like they'd be the same. Jackmcbarn (talk) 02:57, 10 March 2014 (UTC)
Ok, how about plan b: store the portal page name or WikiProject page name in the module, as well as the image name. This would require reworking the portal module, but it would make it much easier to find deleted portals, etc. We've done most of the work of matching portal image keys to portals, so it wouldn't actually take that much effort to finish the job if we are smart about it. — Mr. Stradivarius♪ talk ♪03:33, 10 March 2014 (UTC)
I've installed the caribou picture as my personal choice between the two; feel free to make a new request if the consensus is for one of the others. Wouldn't the swan be more appropriate for Portal:Birds? -- John of Reading (talk) 07:47, 13 March 2014 (UTC)
At the moment, it is difficult to maintain the list of portal images. It is not easy to find which portal image corresponds to which portal, as the capitalisation of the portal page is not recorded, and the portal images are also used to provide images to WikiProjects using {{WikiProject box}}. This makes it difficult to fix the image lists after portals have been moved or deleted, for example. The module name of "Module:Portal/images/x" is also misleading, as it doesn't factor in the existence of the WikiProject images. To fix these problems, I think we should create a new set of image lists, perhaps Module:Image database and submodules. This would house portal images, WikiProject images, and potentially other images if the need arose. Every entry would also record the corresponding portal or WikiProject page to make writing maintenance scripts easier. Do others think that this would be a good idea? — Mr. Stradivarius♪ talk ♪00:54, 14 March 2014 (UTC)
Testing images and link=
1) How does one test an image with template:portal? 2) Can a cropped image be used with Portal, but link to an uncropped version? Similar to link= with an article image. Thanks Jim1138 (talk) 19:36, 12 March 2014 (UTC)
There's no way to test images with {{portal}} directly, although you can see how the image would look by using the code [[File:Your image name.xyz|32x28px|alt=Portal icon]]. I should probably add a way to preview portal images to Module:Portal, though. Number two can't be done, as portal images that are CC-BY-SA need to link their file description pages so that they don't infringe the terms of their licence. This doesn't apply to public domain images, but most portal images are CC-BY-SA, so it would be easier to just link all of them. — Mr. Stradivarius♪ talk ♪23:54, 13 March 2014 (UTC)
Not done: please establish a consensus for this alteration before using the {{edit template-protected}} template. That talk discussion never seems like it reached a consensus (and even if it did, it didn't get consensus on a replacement image). Also, a symbol of peace doesn't really seem appropriate for a conflict portal. Jackmcbarn (talk) 01:07, 23 March 2014 (UTC)
OK, but there is clear consensus to remove the image, so please could you remove it and we will start a discussion re what to replace it with. Oncenawhile (talk) 08:09, 23 March 2014 (UTC)
This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request.
at the Latino/hispanic american portal, ["latino and hispanic american"] = "Hispanic Flag.png", can we replace the image with File:Flag of the Hispanicity.svg, from the Commons? its still not that accurate an image, but at least its drawing from the right data
Mercurywoodrose (talk) 21:00, 5 April 2014 (UTC)
Done. In the course of answering this, I found out that there was also an entry for this portal under "hispanic and latino americans". So I've made "latino and hispanic american" an alias for that, and updated the image. I added examples to this thread as well. — Mr. Stradivarius♪ talk ♪00:28, 6 April 2014 (UTC)
Template-protected edit request on 9 April 2014
This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request.
This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request.
Please replace [File:Royal Standard of the Kingdom of France.svg] in the Kingdom of France Portal to [File:Royal Standard of the King of France.svg]. The old file depicts is a historically inaccurate depiction of the flag.
Sodacan (talk) 02:04, 16 April 2014 (UTC)
if this method of adding a border to a flag image without one works in Modules/Lua/etc. If not, please advise how; I didn't spot anything via here.
Sardanaphalus (talk) 07:09, 19 April 2014 (UTC)
I didn't see an easy method in the documentation for limiting the vertical height of a portal box. I'm thinking of {{Portal|Xbox}}, which messes up the vertical height in the example at {{WPVG}}. czar ♔18:27, 24 May 2014 (UTC)
Request about "Portal:Extinct and endangered species"
Could someone do what is necessary so that the link to "Portal:Extinct and endangered species" show the same image as the link to "Portal:Extinction"? Thank you in advance! Coreyemotela (talk) 14:35, 1 June 2014 (UTC).
Thanks Red... I was being lazy and the default sig doesn't have a contribs link. So, I figured that they could just link the discussion and save me some time having to hunt it down. — {{U|Technical 13}}(e • t • c)20:07, 17 June 2014 (UTC)
@Cronos Dage: I recommend you ask this question at WikiProject Anime and manga, and make sure you include the filenames. They will probably be more interested in that discussion than editors here. Most editors that watch this talk page are technical types, and don't have a particular interest in the anime/manga subject area. Also, you need to update the image licence page to add the filenames of the images you used to make it, otherwise technically it is a copyright violation. The CC-BY-SA licence requires that you provide attribution for the images you used, but at the moment the file you uploaded does not provide attribution. Linking to the filename is standard practice for providing attribution on Wikipedia. Best — Mr. Stradivarius♪ talk ♪05:03, 3 May 2014 (UTC)
Please could the image for the Arab-Israeli conflict be removed. A post requesting comment at Portal talk:Arab–Israeli conflict has been unanswered for 10 days. The portal is "inactive" insofar as there have been no meaningful edits for more than three years.
This request is on the back of discussion at Talk:Arab–Israeli conflict where it was decided to remove the same image from the main article. The image was removed from the main article three months ago [2] and such removal has not been disputed. Oncenawhile (talk) 22:22, 24 June 2014 (UTC)
Done. I wonder if the module could be improved so that it checks whether images exist instead of producing a redlink like 32x28px and uses the default image instead. (Mr. Stradivarius?) — Martin (MSGJ · talk) 13:27, 7 July 2014 (UTC)
If I recall correctly, we avoided using ifexist (regarded as an expensive function) on every call of asbox to improve performance. The existence check only happens on the template page. Don't know if we need to worry about this though. — Martin (MSGJ · talk) 16:25, 7 July 2014 (UTC)
The images shown in the portal template aren't exactly "content" (e.g., something worth adding WP:ALTTEXT for). They're mostly decorative. They should probably be marked as <span class="metadata">[[File:Foo.jpg]]</span>. WhatamIdoing (talk) 05:27, 4 August 2014 (UTC)
Template-protected edit request on 13 August 2014 — add column breaks
This edit request to Template:Portal has been answered. Set the |answered= or |ans= parameter to no to reactivate your request.
I'd like to see a new parameter, allowing a long series of portals to be broken into two or more columns, perhaps using syntax such as "columns=2", "columns=3", etc. This would improve page layouts in some articles. See, for example, Ed Nelson, which has a long string of 12 portals, creating an absurdly large vertical blank space to the left of the box.
— QuicksilverT@ 14:17, 13 August 2014 (UTC)
— QuicksilverT@14:17, 13 August 2014 (UTC)
Giovanni, assuming you are referring to the actual portal instead of the portal template, note that the lead images are in rotation and change each time the page is refreshed. The current list of images in rotation is at Portal:Opera/Intro/Image. If you are referring to its use in {{Portal|Opera}}, the image you suggest is very inappropriate as it is virtually unrecognizable when rendered in a small template like that, e.g. . It is also out of sync with Opera's sister portals, all of which use bold graphics (easily recognizable at small size) for their portal templates:
Agreed, particularly for the Opera Portal graphic. But: the image is larger when it appears as an anchor to the left of the "This article falls within the scope of Wikipedia Opera..." notice on article talk pages. It remains too indistinct at small size for the suggested replacement in the Opera Portal link included in that banner, but must the two images match? Would substituting the proposed one for the "anchor" be practical in the larger size and desirable to vary the banner's appearance? I have no opinion on the matter--other than that I have my doubts this game is worth the candle--but thought I'd throw it out for discussion. Drhoehl (talk) 19:47, 3 September 2014 (UTC)
The Red Paris Opera icon replaced the SIdney Opera House by a very narrow vote quite a while ago. The latter was instantly identifiable at very small size, however, which I can't say for either of the other two candidates. Sparafucil (talk) 22:44, 26 September 2014 (UTC)
Image edit request on 7 October 2014
This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request.
@Ɱ: I'm not convinced - when the {{Portal}} template displays it at 32x28px the clock is invisible. Perhaps crop it tightly and give it a plain blue background? -- John of Reading (talk) 06:10, 7 October 2014 (UTC)
That's odd, I didn't see this on my watchlist or as a notification, so I'm only reading this because I thought to check back anyway. To reply: the clock is somewhat visible, and I suppose I could do some photo manipulation to make it more visible, but perhaps File:BriarcliffOutlook4-crop.jpg would be even better?--ɱ(talk)04:50, 10 October 2014 (UTC)
It seems that the above SVG was just the original PNG in an SVG wrapper, which after being told then became a 1.55Mb monstrosity of an autotraced svg with much lower quality than the original png. There is however a new 25k totally vector version: File:Spaccato vulcano.svg. If you deem it to be superior or more functional then please can you replace the above file with this one? Many thanks. --207.207.22.215 (talk) 19:21, 6 November 2014 (UTC)
.attr('valign', 'middle') results in <tr valign="middle">; valign is obsolete HTML. This should be replaced with the CSS vertical-align: middle;. --Gadget850talk07:54, 14 November 2014 (UTC)