Template talk:Exedra Story Appearances

From Puella Magi Wiki
Jump to navigation Jump to search

Order

Hm. Any ideas how to make it ordered more sensibly? It doesn't matter much for MSSs, but now that I ported Main Story, the list is all out of whack. Alphabetical probably wouldn't work well for this, either... EPF (talk) 07:19, 27 April 2025 (UTC)

The only idea I have is editing Template:Game Character Story Appearances to have an ID parameter, that would then be used as the sortkey for each category the template adds (so it would be [[Category:{{character}} in {{game}} story|{{ID}}]], not fully accurate with the {{character}} but still). Then putting ordermethod as sortkey should order them by the IDs (like 101 for Rose Garden Witch I). The only problem with that is the category pages would look ugly but theyre kinda jarring anyway (i think they should be hidden categories too). - TheresaFrog421 (talk) 12:06, 27 April 2025 (UTC)
No, that doesn't make sense. It's not the characters that need to be used as a sort key, but rather the chapters. But the chapters are not a category.
Having looked at the documentation, I can't see anything that would work to sort them they way you want without renaming all the transcript pages to include a chapter number somewhere in them and requesting alphabetical sort. ~ Celtic Minstrel (talk) 14:25, 27 April 2025 (UTC)
The idea was for the chapter pages to have a category sort key for the character categories theyre on, so that the chapters are forced into an order in the categories. But if it doesn't work then yeah we'll need something else. - TheresaFrog421 (talk) 14:38, 27 April 2025 (UTC)
I came up with a somewhat cursed solution: User:EPF/Sandbox. A borderless sortable table, with a template parameter (in this case, char_1, since it's something all of those pages should have and that's somewhat unique, but realistically it'd be an ID of sorts) inserted in the beginning of a given cell so the table sorts by that value, and some span display:none-s to hide them (doesn't seem to affect sortability). The biggest problem here is that sortable tables are still unsorted by default... EPF (talk) 17:55, 27 April 2025 (UTC)
As for the story ID, I actually did think of making an invisible template parameter that'd exist just for row-sorting (my idea was to make an invisible template just for that, but the category one seems to be ok, too). It's just, I didn't expect DPL to have no option for sorting by template parameters????? It has a sorting order for BRIDGE CARDS, but not a sort method based on template parameters. Absolutely insane. Anyway, for the way the IDs should look (I don't think there's anything suitable for our use in the game's code), I was thinking something like <storytype>_<installment (if relevant)>_<idnumber>, so Main_Madoka_01, Main_MagiReco_03, and so on. EPF (talk) 17:59, 27 April 2025 (UTC)
What is BRIDGE CARDS? Anyway, DPL is absolutely insane in general, so this doesn't really surprise me. ~ Celtic Minstrel (talk) 18:28, 27 April 2025 (UTC)
https://en.m.wikipedia.org/wiki/Contract_bridge EPF (talk) 21:03, 27 April 2025 (UTC)
…what? I don't get it… ~ Celtic Minstrel (talk) 21:24, 27 April 2025 (UTC)
Nothing important, sorry. It's totally irrevelant here, I shouldn't have brought it up. This is the part of their documentation that mentions bridge, but like. I doubt we'll ever need it. EPF (talk) 11:19, 28 April 2025 (UTC)