![]() | Template:Portal-inline 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 template-protected)) to notify an administrator or template editor 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. |
This is the talk page for discussing improvements to the Portal-inline template. |
|
![]() | Portals ![]() | |||||||||
|
![]() | This template was considered for deletion on 2011 July 2. The result of the discussion was "keep". |
I revived this for use in Autism (edit | talk | history | protect | delete | links | watch | logs | views). See also Talk:Autism#New_portal-inline template (edit). Cheers, theFace 20:17, 23 November 2010 (UTC)
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)
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)
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)
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)
The logo part of this should be wrapped in a <span class="metadata">
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)
![]() | This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
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 you'll see this.
The article contains the following wikicode:
((portal-inline|Biography))
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 @Fabrice Florin (WMF):
Brandis76 (talk) 08:00, 2 February 2015 (UTC)
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)
[[Portal:1960s portal|1960s portal]]
. Frietjes (talk) 18:27, 22 February 2015 (UTC)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. 🎓 Corkythehornetfan 🎓 20:20, 5 May 2016 (UTC)
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 class="metadata"
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)
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:
Seppi333 (Insert 2¢) 22:38, 30 December 2018 (UTC)
Per MOS:ICON#Remember accessibility for the visually impaired, 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 |link=PORTAL_PAGENAME
instead of using the |link=
code from above. Seppi333 (Insert 2¢) 22:46, 30 December 2018 (UTC)
To Mr. Stradivarius: the |short=anything
parameter, according to Template:Portal-inline#Parameters, 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#Using the name and short parameters, 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)
To editor Dreamy Jazz: 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)
|small=
parameter is not used or left empty as the template documentation states. Dreamy Jazz 🎷 talk to me | my contributions 11:53, 10 February 2019 (UTC)
![]() | This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
The icon should have alt text "icon" (this is done at ((Portal))). Qzekrom 💬 theythem 19:23, 18 March 2019 (UTC)
|alt=icon
if it is copyrighted, or blank alt text if it is public domain. Qzekrom 💬 theythem 23:14, 21 March 2019 (UTC)
This template is currently giving errors where multiple portals have been entered as parameters, e.g. [1] – Fayenatic London 11:05, 5 November 2019 (UTC)