Category talk:Lumatone mappings: Difference between revisions
→Sorting order: How to do this elsewhere, if needed? |
→Sorting order: Re |
||
Line 6: | Line 6: | ||
:: Thanks. For the future, how did you fix this? I don't see any difference in the page source. [[User:Lucius Chiaraviglio|Lucius Chiaraviglio]] ([[User talk:Lucius Chiaraviglio|talk]]) 21:07, 6 August 2025 (UTC) | :: Thanks. For the future, how did you fix this? I don't see any difference in the page source. [[User:Lucius Chiaraviglio|Lucius Chiaraviglio]] ([[User talk:Lucius Chiaraviglio|talk]]) 21:07, 6 August 2025 (UTC) | ||
::: I created [[Module:ET sort key]]. I used it to edit [[Template:Navbox Lumatone]], which adds the corresponding categories to the page in addition to displaying the navbox itself (it's just more convenient that way). This module will count the number of digits in the EDO's size and output the needed sort key to make the numerical sorting work. It should be usable in other templates as well. Some other templates already had a similar feature built into their own modules, but it wasn't really possible to re-use that code, so that's why I made a separate module instead. --[[User:Fredg999|Fredg999]] ([[User talk:Fredg999|talk]]) 00:57, 7 August 2025 (UTC) |