Template talk:Portal-inline

Recreated
I revived this for use in. See also Talk:Autism (edit). Cheers, theFace 20:17, 23 November 2010 (UTC)

Links in bold italics
I know that this template matches portal, but the links shouldn't really be stylized this way. Look at Farm to Market Road 28, and you'll see why.  Imzadi 1979  →   07:47, 9 March 2012 (UTC)


 * Here's a permanent link to that page. For the most part your right, but there are exceptions. On Open source video game when you try to use portal there the images push it out of the see also section. Use portal bar there and the images push a huge amount of whitespace into the See also section. Use a portals sub-section and there and it works. Emmette Hernandez Coleman (talk) 20:17, 29 November 2012 (UTC)

Bulleted automatically
Several pages that include more than one of these templates, (US Roads portal/Some other portal) often have the templates side by side, not bulleted which can be somewhat sloppy. Is there a way to update the formatting, instead of inserting bullets manually on the thousand pages that includes them? An example would be New Jersey Route 66, look at the "see also" section. Tinton5 (talk) 16:14, 18 March 2012 (UTC)
 * removed the automatic bullets on March 2, but hasn't updated the pages that transclude the template as promised/indicated/whatever. In the meaning time, I've been changing articles myself as I come across them  Imzadi 1979  →   21:38, 18 March 2012 (UTC)

Projects that do not use a See also section
The WP:MEDMOS deprecates See also sections, so another place option is necessary for portal links in general, including this format. There is a discussion at Wikipedia talk:Manual of Style/Medicine-related articles where we are trying to come to a consensus. Peter (Southwood) (talk): 08:14, 10 June 2012 (UTC)

Text parameter
can we add a text parameter? this will allow me to get rid of portal-text-inline. thank you. Frietjes (talk) 17:48, 23 October 2013 (UTC)
 * Done! Plastikspork ―Œ (talk) 01:56, 26 October 2013 (UTC)

metadata class for the logo
The logo part of this should be wrapped in a  or should maybe have "link=" added to it, either pointing at the portal page or pointing at nothing. Otherwise the logo shows up in the new media viewer and is confusing, especially on pages with many portals. --MarkTraceur (talk) 20:17, 29 May 2014 (UTC)
 * Thanks, MarkTraceur! Our Help FAQ now documents the ‘metadata’ solution in more detail, with a few caveats. At this point, we would not recommend using the ‘link=’ option to disable Media Viewer for unsuitable images, unless they are intended to act as links -- because this may prevent users from reading important attribution or license information. To discuss this with other community members, join our discussion. Fabrice Florin (WMF) (talk) 21:13, 29 May 2014 (UTC)

Protected edit request on 2 February 2015
Description of the problem:

Media Viewer shows images that are a part of the interface.

On, for example, this article when you click the image in the infobox and then click the "next image" arrow then.

The article contains the following wikicode:

This template contains the image:

https://en.wikipedia.org/wiki/Template:Portal-inline

Description of the solution:

We can stop Media Viewer from displaying images that are a part of the interface with the methods described here.

Thank you!

Ping

Brandis76 (talk) 08:00, 2 February 2015 (UTC)
 * This makes sense to me. However by the same logic, all images produced by the main template portal should be excluded as well. So I will make a comment on the talk page over there. &mdash; Martin (MSGJ · talk) 12:41, 2 February 2015 (UTC)
 * It seems that Module:Portal already does this. So I do not see this request as controversial. Code is on Template:Portal-inline/sandbox - does this look okay to you? &mdash; Martin (MSGJ · talk) 12:48, 2 February 2015 (UTC)
 * Yes, that is perfect. Thanks! Brandis76 (talk) 15:32, 2 February 2015 (UTC)
 * ✅ &mdash; Martin (MSGJ · talk) 16:37, 2 February 2015 (UTC)

Images
I can't tell when and where it came about, but can someone explain the rationale behind having images appear between the bullets and the portal names? I first noticed this template being used on Interstate 8 a few weeks ago and thought it was an anomaly, but then I saw it again today on Space Seed. I think the images are an unnecessary visual cue first of all, and they create a ruin of the text formatting second of all. On both the examples I mentioned, the otherwise useful links are bumped around and misaligned by the visual distraction. I can't think of any reason why we need to have a little image of a VW Beetle next to the text "1960s portal". -- Laser brain  (talk)  19:38, 11 February 2015 (UTC)
 * User:Laser brain, you can try either [//en.wikipedia.org/w/index.php?title=Space_Seed&diff=648355354&oldid=647254996 portal bar], or [//en.wikipedia.org/w/index.php?title=Interstate_8&diff=648355511&oldid=646808632 plainlist] if you don't like the bullets. Frietjes (talk) 18:25, 22 February 2015 (UTC)
 * if you don't want the images at all, then use . Frietjes (talk) 18:27, 22 February 2015 (UTC)

Color
Are we able to change the font color for this when it's displayed in template with a dark background? I've tried everything and can't seem to figure it out. 🎓 Corkythe hornetfan  🎓 20:20, 5 May 2016 (UTC)
 * Nevermind. It's been resolved. 🎓 Corkythe hornetfan  🎓 21:11, 17 May 2016 (UTC)

Metadata
It appears that the entire output of this template, and not just the image, is metadata. If there aren't any objections, I'd like to apply the  to the entire output, so that it's omitted from printer view and other alternative views. Matt Fitzpatrick (talk) 21:48, 15 July 2016 (UTC)


 * It may be metadata, but hiding this text with CSS can be problematic, as in List of gaps in Interstate Highways, Moka pot, and doubtless many other examples. Since the template produces inline text and not a floating box, these pages include it as an item in a bulleted list, and possibly even in a sentence, which looks weird when it is hidden. jleedev (talk) 21:53, 4 August 2016 (UTC)


 * Could you revert the last change because when using template after bullet – that bullet displays in mobile view but with no content (that's not looking very nice). --Obsuser (talk) 17:40, 11 November 2016 (UTC)
 * I've reverted the change. Thanks for pointing this out. Matt Fitzpatrick (talk) 18:36, 11 November 2016 (UTC)

Presentational/unlinked portal icon vs linked portal icon
Would anyone object to me converting the portal icon in this template to an unlinked, presentational icon? What I'm asking is basically the equivalent of changing the template output on the line that follows to the one below it:  Seppi  333  (Insert 2¢) 22:38, 30 December 2018 (UTC)
 * [[File:|class=noviewer|]] (current)
 * |class=noviewer (proposed)
 * For copyright reasons, the image needs to link to its description page. Qzekrom 💬 theythem 19:03, 18 March 2019 (UTC)

Icon alt text
Per MOS:ICON, the portal icon should probably (although not necessarily) include alt text with the portal name. As an alternative to the proposal in the section immediately above, it might be worthwhile to link the icon to the corresponding portal page via  instead of using the   code from above.  Seppi  333  (Insert 2¢) 22:46, 30 December 2018 (UTC)
 * Since the portal name already appears next to the image, it should not be repeated in the alt text. I recommend making the alt text empty instead. Qzekrom 💬 theythem 19:02, 18 March 2019 (UTC)

Short
To Mr. Stradivarius : the anything parameter, according to Template:Portal-inline, is in this template to remove "portal" from the output. That should make "(portal name) portal" appear as just "(portal name)". In the example at Template:Portal-inline, the "Sexuality portal" should appear as just "Sexuality", that is, "portal" should be removed when the "short" parameter is equal to "anything", isn't that correct?

If so, then there must be something needed in the Lua module at Module:Portal-inline that will remove "portal" when the "short" param is used. That is unless it would be better not to have the "short" parameter, in which case it can be removed from the documentation. Which way do you think we should go forward?  Paine Ellsworth , ed. put'r there 17:33, 9 February 2019 (UTC)

bringing this to your attention, since you created and developed the module. Should we get the module to pass the short parameter or should we remove it from the documentation?  Paine Ellsworth , ed. put'r there 11:45, 10 February 2019 (UTC)
 * , I believe that the code I wrote to convert it to a module has a problem. Fixing it now. Dreamy Jazz 🎷 talk to me &#124; my contributions 11:48, 10 February 2019 (UTC)
 * problem fixed. I had got my boolean logic the wrong way round when I converted the template to a module. The module will append "portal" when the small parameter is not used or left empty as the template documentation states. Dreamy Jazz 🎷 talk to me &#124; my contributions 11:53, 10 February 2019 (UTC)
 * thank you very much for solving and helping with this!  Paine Ellsworth , ed. put'r there  14:28, 10 February 2019 (UTC)

Template-protected edit request on 18 March 2019
The icon should have alt text "icon" (this is done at Portal). Qzekrom 💬 theythem 19:23, 18 March 2019 (UTC)
 * Red question icon with gradient background.svg Not done: it's not clear what changes you want to be made. Please mention the specific changes in a "change X to Y" format and provide a reliable source if appropriate. —&thinsp;JJMC89&thinsp; (T·C) 03:49, 19 March 2019 (UTC)
 * Per MOS:PDI, the icon in this template should have alt text  if it is copyrighted, or blank alt text if it is public domain. Qzekrom 💬 theythem 23:14, 21 March 2019 (UTC)
 * The issue is clear, but you still haven't specified the exact change that needs to be made. From what I can tell, you have to make updates for each image on the image subpages of Module:Portal. —&thinsp;JJMC89&thinsp; (T·C) 02:35, 22 March 2019 (UTC)

Multiple portals?
This template is currently giving errors where multiple portals have been entered as parameters, e.g. – Fayenatic  L ondon 11:05, 5 November 2019 (UTC)
 * @Fayenatic it has only ever been intended to link to one portal. It used to silently ignore other parameters, but in these two edits to Module:Portal-inline I modified it to display an error message an add tracking to Category:Portal-inline template with more than one portal parameter.  That allows any such errors to be tracked and fixed. --  Brown HairedGirl  (talk) • (contribs) 15:46, 5 November 2019 (UTC)
 * Ah, I should have looked harder, as I know that is the sort of thing that you often do! Thanks. I see that the category is empty now. – Fayenatic  L ondon 16:53, 5 November 2019 (UTC)
 * Thanks, Fayenatic. Your note was a helpful reminder, because I had forgotten to do the cleanup after one run of BHGbot.  So I got to and fixed it. --  Brown HairedGirl  (talk) • (contribs) 16:56, 5 November 2019 (UTC)