Template talk:Portal
This is the talk page for discussing improvements to the Portal template. |
|
Archives: Index, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10Auto-archiving period: 9 months |
This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||||||||
|
Template:Portal is permanently protected from editing because it is a heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by consensus, editors may use {{edit protected}} to notify an administrator to make the requested edit. Usually, any contributor may edit the template's documentation to add usage notes or categories.
Any contributor may edit the template's sandbox. Functionality of the template can be checked using test cases. |
Image edit request on 3 May 2024
editThis edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Add
["african cinema"] = "Africa-map-TAN.svg|link=|alt=map"
to Module:Portal/images/a to show up as the portal's icon in the WikiProject's banner and template. Assem Khidhr (talk) 01:20, 3 May 2024 (UTC)
- Done, except icon requires a link because it is CC licensed. — hike395 (talk) 11:42, 3 May 2024 (UTC)
Image edit request on 4 May 2024
editThis edit request to Module:Portal/images/w has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please add the following:
["washington, d.c."] = "Flag_of_Washington,_D.C.svg|link=|alt=",
Thanks! '''[[User:CanonNi]]'''
(talk|contribs) 07:55, 4 May 2024 (UTC)
- Completed. P.I. Ellsworth , ed. put'er there 08:53, 4 May 2024 (UTC)
Template-protected edit request on 9 May 2024
editThis edit request to Module:Portal/images/p has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please change the icon for Portal:Psychiatry from File:American Lady Against The Sky.jpg to File:Psi and Caduceus.svg. Jeaucques Quœure (talk) 06:03, 9 May 2024 (UTC)
- Done — hike395 (talk) 08:46, 9 May 2024 (UTC)
Template-protected edit request on 30 July 2024
editThis edit request to Module:Portal/images/r has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
["risk"] = "Warning icon.svg|link=|alt=icon",
Add the above line to Module:Portal/images/r for use on {{User WP Risk}}
. Tule-hog (talk) 19:31, 30 July 2024 (UTC)
- Done Sohom (talk) 20:13, 30 July 2024 (UTC)
Urgent: Please fix this template for printed content Module:Portal/styles.css.
editFirstly, apologies for writing in English if this is not your first language (this is an automated message).
This template has been detected as one of 436 pages using styles that break the page when printed when the user is using dark mode. The fix is very straightforward - all your styles relating to dark mode must be scoped to. Since there is a high risk of this templates being copied to other wikis it is important this notice is acted on ASAP.
To fix this:
- Update `@media (prefers-color-scheme: dark` to `@media screen and (prefers-color-scheme: dark`
- Wrap any styles relating to `html.skin-theme-clientpref-night` in `@media screen`
If this message has not been acted on in 7 days, this will be fixed by an automated script. Thank you for your help fixing this important issue.
For any questions feel free to ask them at phab:T369874.
Jon (WMF) (talk) 18:22, 2 August 2024 (UTC) on behalf of the web team.
- Fixed, and a typo. Izno (talk) 22:13, 3 August 2024 (UTC)
Image edit request on 25 August 2024
editThis edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Hello everyone: can someone please set the portal icon for Portal:Peace? I propose PeaceAndLoveBus.svg which well encapsulates activism, nonviolent resistance, and historical demonstrations which is a primary feature of the category; or the more generic Peace dove icon.svg or Peace button.svg. Thank you very much. Evedawn99 (talk) 20:29, 25 August 2024 (UTC)
- I have implemented the dove because it is vectorized and works in dark mode..... that said if this is not ideal a discussion could take place if a change warranted or wanted. Moxy🍁 01:51, 26 August 2024 (UTC)
Inconsistency caused by inclusion of link parameter either being left empty or not being included
editIn Module:Portal/images/other, some decade portals have
|link=
included, and some do not. The list of decade portals that have this property are:
- 1920s
- 1930s
- 1940s
- 1950s
- 1960s
- 2000s
- 2020s (in some other file)
The list of decade portals that do not have this property are:
- 1970s
- 1980s
- 1990s
- 2010s
The effect of including the link parameter or not is that the picture associated with the portal becomes a link to the File: page on Wikipedia of that image if it is not included, or it becomes just a static image with no link if the link parameter is explicitly set as an empty string. The inconsistency is apparently unintentional, as these specific decade portals are commonly linked together on many pages, such as at Zillennials#See_also, leading to inconsistent behaviour of Portal images in the same Portals box.
A decision should be made whether or not it is ever desirable to link to the File namespace (maybe desirable, but it seems that perhaps sometimes the decision has been made to intentionally not link to it). In either case, a change should be made that the link parameter be included or omitted consistently in the definitions of these specific decade portals.
However, this issue may alternatively be handled at the top Module:Portal level, if it is determined appropriate to never link to File namespace by default. It could be done to implement the same behaviour as link=[nothing] if the parameter is not included. This would reduce the risk of editors forgetting to include the parameter, handling it properly by default, if Portal images are never intended to link to File namespace. Thanks, Hubcapp (talk) 08:23, 18 September 2024 (UTC)
Edit request 1 October 2024
editThis edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
The use of "File:" in Module:Portal/images/b has broken the icon file link in every instance of every template that calls for that icon, because that's implied already and it's accordingly trying to load File:File:Dharma Wheel (2).svg, which does not exist and never will. Please remove the "File:" from the module. - Sumanuil. (talk to me) 04:44, 1 October 2024 (UTC)
- Fixed --- removed "File:" from Module:Portal/images/b — hike395 (talk) 09:48, 1 October 2024 (UTC)
Edit request: HTML output
editCould this template be wrapped in a <div>? Using <ul> for a self-contained box of this sort is an abuse of semantic HTML. Other templates similar to this one tend to use <div> or <table> elements (although I don't recommend the latter in this case). I noticed this issue when some code I wrote to extract the "text content" of a Wikipedia article was failing to filter out this template. Ioaxxere (talk) 04:11, 2 October 2024 (UTC)
Template-protected edit request on 3 December 2024
editThis edit request to Module:Portal/images/t has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Hi, File:EF4DaltonMNtornadoJuly2020.png was deleted from commons 3 December 2024 and now causing 100+ file errors in articles. A possible alternate is file:F5 tornado Elie Manitoba 2007.jpg as currently used on Tornado. Regards KylieTastic (talk) 19:31, 3 December 2024 (UTC)
- Updated. -- WOSlinker (talk) 19:46, 3 December 2024 (UTC)