Module talk:POTY
Module:POTY has been protected indefinitely because it is a highly-used or visible template. Use {{Edit request}} on this page to request an edit.Please test any changes in the template's /sandbox subpage or in a user subpage, and consider discussing changes at the talk page before implementing them. |
Reset the padding for <ul> in the gallery edit
The gallery seems to be using an unordered list for listing images. It would be nice of the default padding given for the lists is reset to 0 (using style="padding: 0"
, for instance) as the unwanted padding-left: 1em
for the list seems to be moving the images a bit to the right in mobile screens. The unordered list I'm referring to has the it's class attribute as gallery mw-gallery-traditional
and it's parent in rendered form is <div id="potyEasyVoteEnhanced" style="text-align:center">. Link to screen shot of the page after removing the unwanted padding - -Kaartic (talk) 17:41, 18 June 2018 (UTC)
Improve the layout of the Gallery page in mobile edit
The 2017 POTY Gallery page doesn't seem to be looking well in mobile. It would be nice if the layout was tweaked so that the each of the table comes one after the other in smaller screens. - -Kaartic (talk) 17:48, 18 June 2018 (UTC)
Avoid duplicate icons in {{#invoke:POTY|iconCredits}} edit
{{Edit request}} {{edit request}}
Please apply Special:Diff/592369053 in order for {{#invoke:POTY|iconCredits}} to not list duplicate icons, see:
Difference in output | ||||||||
---|---|---|---|---|---|---|---|---|
|
— ExE Boss (talk) 08:10, 20 September 2021 (UTC)
- @Minorax: Any chance you could perform this change? 1989 (talk) 01:54, 7 January 2022 (UTC)
- Unfamiliar with Lua, so nope. Sorry. --Minorax«¦talk¦» 08:18, 7 January 2022 (UTC)
- LGTM:
- The parameter
year
, used here for development, may be kept, as it can be helpful so the module isn't tied to the page it is used on. On a related note, such parameters could be extended to other parts of the module, so it isn't heavily-coupled to the pagetitle (using pagetitle only when no argument provided). - The main change is simple, it just uses a keyed table so that the item don't get added twice.
- The parameter
- Od1n (talk) 06:27, 19 March 2022 (UTC)
- LGTM:
- Unfamiliar with Lua, so nope. Sorry. --Minorax«¦talk¦» 08:18, 7 January 2022 (UTC)
- Done Awesome! Thank you! —Mdaniels5757 (talk • contribs) 17:42, 29 October 2022 (UTC)
Edit request: declare variables to fix errors edit
I've made a few edits in Module:POTY/sandbox to fix the errors showing up in various POTY pages. —CalendulaAsteraceae (talk • contribs) 19:24, 1 March 2024 (UTC)
- @Mdaniels5757, Jarekt: This request has been hanging around a few months now and I just now added some other cleanup including switching
frame:preprocess('{{int:lang}}')
toframe:callParserFunction('int', 'lang')
andrequire('Module:JSON'):encode(candidateList2)
tomw.text.jsonEncode(candidateList2)
(removing dependence on Module:JSON). Can someone with appropriate rights get this updated, please? I pinged the two of you because you both have recent activity and have edited this module in the past. Thank you, —Uzume (talk) 18:01, 2 May 2024 (UTC)- Done--Jarekt (talk) 15:23, 3 May 2024 (UTC)