Module talk:Excerpt slideshow

This is an old revision of this page, as edited by FR30799386 (talk | contribs) at 05:32, 6 August 2018 (Option for title display: C). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Latest comment: 7 years ago by FR30799386 in topic Images not rendering properly
WikiProject iconPortals  
WikiProject iconThis page is within the scope of WikiProject Portals, a collaborative effort to improve portals on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
Template This module does not require a rating on the project's quality scale.
Note icon
See also: List of Portals

Very useful

I want this! Next step would be to combine with {{Transclude list item excerpt}} as {{Transclude list item excerpts as random slideshow}}, to make a really powerful automation tool to make a portal from an outline list. · · · Peter (Southwood) (talk): 05:13, 25 June 2018 (UTC)Reply

Losing list formatting

This template seems to be losing the formatting of bulleted lists. See example.

The template {{Transclude lead excerpt}} seems to do it right. See example.

Gas planning is one of the stages of scuba gas management. The other stages include:

  • Knowledge of personal and team members' gas consumption rates under varying conditions
    • basic consumption at the surface for variations in workload
    • variation in consumption due to depth variation
    • variation in consumption due to dive conditions and personal physical and mental condition
  • Monitoring the contents of the cylinders during a dive
  • Awareness of the critical pressures and using them to manage the dive
  • Efficient use of the available gas during the planned dive and during an emergency
  • Limiting the risk of equipment malfunctions that could cause a loss of breathing gas (Full article...)

so the module is working. Cheers, · · · Peter (Southwood) (talk): 12:07, 28 July 2018 (UTC)Reply

This is from a limitation of the gallery syntax, where the caption can't contain any new lines, so the module changes them to <br> tags. It might be possible for the module to change a wikitext list into a html list with <ul>...</ul> and <li>...</li> tags. But allowing for sublists makes it complicated. - Evad37 [talk] 03:46, 29 July 2018 (UTC)Reply

Option for title display

Would it be possible to extract the title of the selected excerpt and display it at the top of the rendering? Some excerpts are not very obvious about their topic, and particularly with the slideshow arrangement, it would help to identify what the excerpt is about. In the case of a section, the full section title would probably be most generally useful. · · · Peter (Southwood) (talk): 17:11, 28 July 2018 (UTC)Reply

For lead excerpts at least, it sounds more like a content issue that should be addressed at the individual articles – lead sentences should be making it obvious what the topic of the article is (MOS:LEAD). If they do that properly, than showing the page title as well is superfluous. For sections, showing the article title and section makes sense, but should probably be done at Module:Excerpt rather than here. - Evad37 [talk] 03:40, 29 July 2018 (UTC)Reply

Images not rendering properly

Evad37 - The images produced by this template at Portal:India are rendering badly (they seem to be getting cut off after a certain width). Could you check this up.   — FR+ 05:32, 6 August 2018 (UTC)Reply