Template talk:TCG damage category: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
(Created page with "=Parent Category auto-sorting incorrectly= I recently made the category Pokémon cards with attack damage 1000, but becaus...")
 
 
Line 1: Line 1:
=Parent Category auto-sorting incorrectly=
=Parent Category auto-sorting incorrectly=
I recently made the category [[:Category:Pokémon_cards_with_attack_damage_1000|Pokémon cards with attack damage 1000]], but because this template uses <code><nowiki>{{#expr:{{{1}}}/100}}</nowiki></code>, [[:Category:Pok%C3%A9mon_cards_by_attack_damage|the parent category]] sorts them in the wrong order. It goes 0.1-0.9, 10, 1.1-3.0, where the 10 gets auto-sorted into the middle of the list. I <i>think</i> changing <code><nowiki>{{#expr:{{{1}}}/100}}</nowiki></code> to <code><nowiki>{{#expr:{{{1}}}/1000}}</nowiki></code> would fix the issue. [[User:Exempt-Medic|Exempt-Medic]] ([[User talk:Exempt-Medic|talk]]) 02:04, 12 October 2022 (UTC)
I recently made the category [[:Category:Pokémon_cards_with_attack_damage_1000|Pokémon cards with attack damage 1000]], but because this template uses <code><nowiki>{{#expr:{{{1}}}/100}}</nowiki></code>, [[:Category:Pok%C3%A9mon_cards_by_attack_damage|the parent category]] sorts them in the wrong order. It goes 0.1-0.9, 10, 1.1-3.0, where the 10 gets auto-sorted into the middle of the list. I <i>think</i> changing <code><nowiki>{{#expr:{{{1}}}/100}}</nowiki></code> to <code><nowiki>{{#expr:{{{1}}}/1000}}</nowiki></code> would fix the issue. [[User:Exempt-Medic|Exempt-Medic]] ([[User talk:Exempt-Medic|talk]]) 02:04, 12 October 2022 (UTC)
:Okay, it seems the autosort was fixed now. --[[User:Daniel Carrero|Daniel Carrero]] ([[User talk:Daniel Carrero|talk]]) 03:53, 12 October 2022 (UTC)

Latest revision as of 03:53, 12 October 2022

Parent Category auto-sorting incorrectly

I recently made the category Pokémon cards with attack damage 1000, but because this template uses {{#expr:{{{1}}}/100}}, the parent category sorts them in the wrong order. It goes 0.1-0.9, 10, 1.1-3.0, where the 10 gets auto-sorted into the middle of the list. I think changing {{#expr:{{{1}}}/100}} to {{#expr:{{{1}}}/1000}} would fix the issue. Exempt-Medic (talk) 02:04, 12 October 2022 (UTC)

Okay, it seems the autosort was fixed now. --Daniel Carrero (talk) 03:53, 12 October 2022 (UTC)