Template talk:Infobox character

From Puella Magi Wiki
Jump to navigation Jump to search

Tabs

Hi! I don't have enough technical know-how to do this myself, but would it be possible to add a tab to this to change which art is displayed? I imagine it would be used to display differences in character appearance/forms, or for different character profile images corresponding to card art (for Magia Record characters). If you need an example, here's a similar concept from the Limbus Company wiki. ~ Amaterasu (talk) 02:46, 1 June 2025 (UTC)

Looking at their infobox code, they're using PortableInfobox, an extension we don't have right now. Our infoboxes are structured kind of differently, look at Template:Infobox/row. I mean, it's probably not impossible to port it in somehow without installing PortableInfobox, but our tabs are kind of, well... Bad EPF (talk) 04:36, 1 June 2025 (UTC)
What exactly is so bad about our tabs? I think someone mentioned the fact that clicking one scrolls it to the top, but that's probably solvable with a bit of JavaScript… was there anything else? ~ Celtic Minstrel (talk) 04:40, 1 June 2025 (UTC)

Categories

I've mentioned this on Category talk:Magical girls but I want to actually ask, should the categories be split from this template? the only parameter the infobox and the category section share is the magireco ID (And from what Im seeing pages already use many of these categories on their own). This would help with the special magireco variant pages not being on Category:Characters, but still having their ID in Category:Magia Record by ID, since the nocategory argument deletes the ID category too. - TheresaFrog421 (talk) 20:35, 6 August 2025 (UTC)

The categories should definitely be in a template, because we don't want to have to deal with adding all 4 variations of the name template (normal, by surname, deceased, deceased by surname) to every page that it's relevant on. I suppose it's not strictly required for it to be in this template though. ~ Celtic Minstrel (talk) 23:29, 6 August 2025 (UTC)
How about we keep the ID in the infobox, but take the categories that have their by surname counterparts and put them into a separate template? I was trying a template on my user page where the categories are a single string and the #explode function takes them apart, the Surname is just the second argument. The explode function is messy the way I made it so there's 100% a better way to do this. Also, do we need Category:Deceased Characters by Surname??? out of the three it seems the most out of place, its not like them being deceased is as important as them being a magical girl, and the timeline jumping makes their status as deceased even less important. I just don't see why we need this. - TheresaFrog421 (talk) 12:54, 7 August 2025 (UTC)
I don't know why you would use #explode when you can use named parameters in the template. I think the main reason I chose to put the categories in the infobox was because the name is already there so that was less duplication of the name. As for Category:Deceased Characters by Surname – as long as you're tracking deceased characters at all, you might as well track them by surname too. When the categories are added by a template, it's not really any more effort to include it, and it could be helpful to someone. ~ Celtic Minstrel (talk) 13:08, 7 August 2025 (UTC)
I guess I didn't want the template to feel like a checklist? To be fair if the ID stays on the Infobox the new template would automatically give the character category, so it would only check for if theyre a magical girl and deceased (and the surname ofc). - TheresaFrog421 (talk) 13:27, 7 August 2025 (UTC)
So something like {{Character Categories|deceased=yes|magicalgirl=yes|surname=Miki}}, right? Or maybe more like {{Character Categories|Miki|deceased|magicalgirl}}. ~ Celtic Minstrel (talk) 13:59, 7 August 2025 (UTC)
Yeah! I think the surname should be the {{{1}}} argument but for deceased and magicalgirl we could go for the =yes version, since there's so many different characters that are either both, or only one of them. - TheresaFrog421 (talk) 14:07, 7 August 2025 (UTC)
I made it and I think it's ready, it works perfectly, the only issue is the fact that the category Magical girls has the g uncapitalized, but if we edit all the magical girl pages to rely on this new template we will be able to change it in one edit. I'll wait for a response until starting to edit character pages incase something is wrong. - TheresaFrog421 (talk) 19:29, 7 August 2025 (UTC)
I really don't think it matters whether or not the G is capitalized. I do think though that it makes more sense to put this category template at the bottom of the page, alongside the regular categories. ~ Celtic Minstrel (talk) 22:37, 7 August 2025 (UTC)

I'm almost done, but I did leave character 'variants' that are VERY major, I don't really know what to do with them. The list is Devil Homura, Ultimate Madoka, Infinite Iroha, Holy Mami, Holy Alina, Rumor Tsuruno, Rumor Sana, Rumor Mikoto (Even though I edited Homura I dont know if it's right). - TheresaFrog421 (talk) 08:49, 8 August 2025 (UTC)

I'm not sure either, but for now I've edited those ones to be consistent with Devil Homura. ~ Celtic Minstrel (talk) 13:46, 8 August 2025 (UTC)

Language template

Should the jname cell use {{lang|ja}}? It's used on Holy Mami's page and some other pages use the nihongo template, but there's too many characters not using either to just put it in manually. - TheresaFrog421 (talk) 09:30, 5 October 2025 (UTC)