Module talk:Is infobox in lead
Making the module accessible from another module
@Galobtter: could you change the main function so it can be accessed from another module without the need of a frame? Seeing as how the frame is only used to get the argument, it doesn't seem to be an issue. --Gonnym (talk) 10:59, 2 February 2019 (UTC)
Done Galobtter (pingó mió) 11:04, 2 February 2019 (UTC)
- Thanks! --Gonnym (talk) 11:24, 2 February 2019 (UTC)
Exclude {{infobox mapframe}} from other infoboxes in lead check
Galobtter I've made a change to the module sandbox to exclude infobox mapframe from the other-infoboxes in-lead-check. This is done because it's not actually an infobox and quite common causing quite a lot of false positives. This was promted by a report on my talkpage. I think it should work and have done some testing in my sandbox, but would like a second pair of eyes on it since it's my first module edit. --Trialpears (talk) 22:06, 2 October 2019 (UTC)
- I have now also removed embeded templates from the check since they are part of the main infobox. --Trialpears (talk) 22:38, 2 October 2019 (UTC)
- Trialpears, seems sensible. Bit busy but should be able to take a look at this by the end of the week. Also good work on getting short descriptions for school articles! Galobtter (pingó mió) 01:38, 3 October 2019 (UTC)
- Trialpears,
Done Galobtter (pingó mió) 04:38, 7 October 2019 (UTC)
When multiple infoboxes are present, the one in the lead does not appear to generate a short description
Together Again (Buck Owens song) contains multiple instances of {{Infobox song}}. All three of them are in the lead, but none of them appear to generate a short description. It seems like one or all of them should do so.
Grande amore has an infobox in the lead, but it does not generate a short description. I can't explain this one, but it might help with debugging.
We Had It All (song) has one infobox in the lead and one in another section, but neither appears to generate a short description. It seems like the first one should do so. – Jonesey95 (talk) 19:47, 5 March 2024 (UTC)
- @Jonesey95: See the first line of this module's documentation, which notes that there must not be multiple infoboxes in the lead or multiple of the same infobox anywhere.
And Grande amore actually does have a second infobox; it's nested inside the first one.SilverLocust 💬 05:47, 6 March 2024 (UTC)- Actually, nested infoboxes (with
embed = yes
orchild = yes
) don't count for a second infobox in the lead. The issue with Grande amore is not something noted in the documentation. The module is matching "Infobox song contest entry" (the nested infobox) as being a second instance of infobox song. SilverLocust 💬 07:01, 6 March 2024 (UTC)
- Actually, nested infoboxes (with