Badge time.png   The Paragon Wiki Archive documents the state of City of Heroes/Villains as it existed on December 1, 2012.

Difference between revisions of "Category talk:Sets for level 20"

From Paragon Wiki Archive
Jump to: navigation, search
m
 
Line 11: Line 11:
 
::<code><nowiki>-->{{#ifexpr: ({{{1}}})<=20 and ({{{2}}})>=20|[[Category:Sets for level 20-25]]}}<!--</nowiki></code>
 
::<code><nowiki>-->{{#ifexpr: ({{{1}}})<=20 and ({{{2}}})>=20|[[Category:Sets for level 20-25]]}}<!--</nowiki></code>
 
:And keep the level 20-25 category you just made, but delete/keep the level 20 category nonfunctional? -- [[User:Aggelakis|Agge]] ([[User_talk:Aggelakis|talk]]) 17:32, 7 January 2009 (UTC)
 
:And keep the level 20-25 category you just made, but delete/keep the level 20 category nonfunctional? -- [[User:Aggelakis|Agge]] ([[User_talk:Aggelakis|talk]]) 17:32, 7 January 2009 (UTC)
 +
::Aw, crap.  I didn't make it all the way down the list to the Taunt IOs and on.  I see them now.  I'll check when I get home to see if there really aren't any level 20 IOs for those sets that we have listed starting at 21.  If there really aren't any level 20s for those sets, then I'll modify the template again.
 +
::Good catch. --[[User:Eabrace|Eabrace]] 19:46, 7 January 2009 (UTC)

Latest revision as of 19:46, 7 January 2009

I've always been curious why we have this category...I can't find anything special about the enhancements listed here... what's the difference between this and Category:Sets for levels 15-20? Smilies crazy.gif -- Agge (talk) 01:03, 7 January 2009 (UTC)

That's a valid question. I'll have to think way back to when we were putting the IO templates together to figure out if there's an actual reason for the category. What I can tell you off the top of my head, though, is that it's auto generated through inheritance from {{InvSetOverview}}. --Eabrace 04:36, 7 January 2009 (UTC)
There's this part from that template that puts them in this category:
-->{{#ifexpr: ({{{1}}})<=20 and ({{{2}}})>=20|[[Category:Sets for level 20]]}}<!--
My brain is not parsing what that means. If the first level argument is less than 20 and the second argument is more than 20, add it to this category? Why is this level special, and level 30 and level 40 are not? -- Agge (talk) 08:03, 7 January 2009 (UTC)
Yeah, that's the part I'm racking my brain to figure out. --Eabrace 12:50, 7 January 2009 (UTC)
Still letting this churn in the back of my head, but I'm thinking it has something to do with sets that run 20-35. I think I'm going to modify the template a bit and check the sets that have IOs in the level 20 range to see if anything breaks. (I'd do it on the test wiki, but that's blocked for me at the moment.) --Eabrace 14:59, 7 January 2009 (UTC)
OK. That's done. I don't see anything with a level 20 IO that's broken, so I've gone ahead and cleaned up the category changes. The original line that produced the level 20 specific category is still there in the template, but it's commented out now, just in case someone does find something that broke. --Eabrace 15:16, 7 January 2009 (UTC)
Oooh. After looking around some more, there are some sets that start at 20 and some sets that start at 21. Is that why level 20 was separated out? For the sets that go 20-whatever, and then another category for the sets that go 21-whatever? Wouldn't a better way to have done that would be to make an if statement like:
-->{{#ifexpr: ({{{1}}})=21 and ({{{2}}})>=21|[[Category:Sets for level 21-25]]}}<!--
-->{{#ifexpr: ({{{1}}})<=20 and ({{{2}}})>=20|[[Category:Sets for level 20-25]]}}<!--
And keep the level 20-25 category you just made, but delete/keep the level 20 category nonfunctional? -- Agge (talk) 17:32, 7 January 2009 (UTC)
Aw, crap. I didn't make it all the way down the list to the Taunt IOs and on. I see them now. I'll check when I get home to see if there really aren't any level 20 IOs for those sets that we have listed starting at 21. If there really aren't any level 20s for those sets, then I'll modify the template again.
Good catch. --Eabrace 19:46, 7 January 2009 (UTC)