Warriors Wiki talk:Characters/Archive 23

Charcat: auto-hide unused sections
Many cats (rogues, loners, minor characters) have no Family or Education info, and these sections just take up space in the charcat box (sometimes the box is much longer than the TOC + article itself). Should I make those sections hidden when there is no info entered? (the articles do not have to be changed, just the template) Helixtalk 09:02, May 9, 2010 (UTC)

That would be just swell. There's really no point in having those sections there if it's just to say 'Unknown' or 'None'. A question, though; we would have to alter the articles that already have the family and education sections, once you change the coding to allow those sections to be omitted, right? Or are you able to alter the coding so that those respective articles will omit the family and education sections if they have the words 'unknown' or 'none' in them? To my mind, that'd be fairly tricky... just wondering. -- Bram ble  01:59, May 10, 2010 (UTC)

The articles do not have to be modified, just the template. I will work on it when I find some time. Helixtalk 06:52, May 10, 2010 (UTC)

This is a good idea. For the coding, would it be something like you put in a parameter to hide the sections, or if you simple don't put anything for those parameters, those parts wouldn't show up? (ie, if you didn't add the "|mentor= |apps=", the education section would not be there)  i nsaneular The original Hazelnut spread 21:57, May 10, 2010 (UTC)

I will make it to hide for any of the following arguments: This way, the existing Character articles do not have to be modified. Helixtalk 15:18, May 11, 2010 (UTC)
 * (empty)
 * None
 * None Known
 * Unknown
 * (other suggestions?)

That sounds great, but could you also make it disappear for a single asterisk? (*) The reason being, when a character has no known family, we put an asterisk for the familyt and then None Known on the familyl.  i nsaneular The original Hazelnut spread 20:32, May 11, 2010 (UTC)

That would be already triggered by the None Known argument (but i can add the * too, just to make it more error-proof). Helixtalk 04:23, May 12, 2010 (UTC)

OK I finished the work. Some time is needed before all Character pages reflect the change. Helixtalk 18:24, May 14, 2010 (UTC)

For this change, do they not reflect it until edited, like the grade categories? Just wondering :)  i nsaneular The original Hazelnut spread 14:26, May 15, 2010 (UTC)

Seems not. Several pages are already purged, e.g. check Ryewhisker (last edit on 18 March) Helixtalk 17:47, May 15, 2010 (UTC)