Module talk:Excerpt slideshow
![]() | Portals ![]() | |||||||||
|
![]() | To help centralize discussions and keep related topics together, the talk pages for all the excerpt slideshow templates redirect here: |
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)
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)
- 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)
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)
- 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)
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:34, 6 August 2018 (UTC)
- @FR30799386: I can't see any issues with the excerpt slideshows on that portal, at least on my computer.
- Can you provide a screenshot of the problem? (see WP:WPSHOT for instructions)
- Can you test on other browsers or other computers?
- Does the same problem happen if you use {{transclude lead excerpt}}? (If so, that would indicate a problem with Module:Excerpt rather than this module.)
- - Evad37 [talk] 13:04, 6 August 2018 (UTC)
- Evad37 - I have uploaded added the screenshot of the problem. — FR + 10:51, 7 August 2018 (UTC)
Template:Transclude list item excerpt causes Bogus file options lint errors
Template stops transcluding lead when it encounters a | character
See Portal:A-ha and Minor Earth Major Sky.
Transclusion stops at the | character, when it shouldn't. Dreamy Jazz 🎷 talk to me | my contributions 10:57, 5 September 2018 (UTC)
Problems when including a page with a mathematics formula
Portal:Tires uses this module via
{{Transclude list item excerpts as random slideshow | paragraphs=1-2 | files=1 | more=
| Template:{{PAGENAME}} | }}
and creates maths rendering error when transcluding Slip angle which has a mathematical expression at the end of its second paragraph.
The slip angle, <math>\alpha</math> is defined as <br />
<center><math>\alpha \triangleq -\arctan\left(\frac{v_y}{|v_x|}\right)</math></center>
The error message generated is
Failed to parse (syntax error): {\displaystyle
\alpha \triangleq -\arctan\left(\frac{v_y}\right)}
It looks like the {|v_x|}
part got stripped, perhaps thinking this is a table rather than part of a math's formula. --Salix alba (talk): 12:07, 8 September 2018 (UTC)
Annotated links in lists
Evad37 I think I may be repaying your helpfulness by creating more work. Sorry about that.
I have made a template {{Annotated link}}
which is useful in lists to annotate the item using the short description from the linked article. This obviously changes the format and now this template does not recognise the links any more - they are now inside {{Annotated link|Article title}}
, where article title represents the link.
Can this be managed without excessive overhead? An example can be seen in Portal:Underwater diving in box Diving modes, which gets a list from Outline of underwater diving#Modes of underwater diving, which now has examples of the Annotated link template. · · · Peter (Southwood) (talk): 08:12, 13 September 2018 (UTC)
- @Pbsouthwood: Done - Evad37 [talk] 10:28, 13 September 2018 (UTC).
- Also fixed in Module:Excerpt, so that {{Transclude linked excerpt}} and {{Transclude list item excerpt}} will work with annotated links. - Evad37 [talk] 10:36, 13 September 2018 (UTC)