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 "Template talk:Base Additional Info"

From Paragon Wiki Archive
Jump to: navigation, search
(Changing the way AllowedAux works: new section)
(Changing the way AllowedAux works)
 
Line 20: Line 20:
  
 
I'd like to change the way that the AllowedAux works in this template. Specifically I'd like to set it so that instead of the '''Allowed "Aux" Items''' line always being displayed it is displayed if either AllowedAux is not blank or AllowedAux is blank and Attaches is blank. The purpose of this is to remove the '''Allowed "Aux" Items''' from Auxilary items which by default cannot have auxiliary items. I've checked the links in [[Help:Templates]] but I can't seem to find an elegant way of doing this. Nested if statements would work, but they're inelegant (and messy). Can anyone help? If not I'll go for nested if statements. [[User:CmdrAdeon|CmdrAdeon]] 23:26, 18 November 2009 (UTC)
 
I'd like to change the way that the AllowedAux works in this template. Specifically I'd like to set it so that instead of the '''Allowed "Aux" Items''' line always being displayed it is displayed if either AllowedAux is not blank or AllowedAux is blank and Attaches is blank. The purpose of this is to remove the '''Allowed "Aux" Items''' from Auxilary items which by default cannot have auxiliary items. I've checked the links in [[Help:Templates]] but I can't seem to find an elegant way of doing this. Nested if statements would work, but they're inelegant (and messy). Can anyone help? If not I'll go for nested if statements. [[User:CmdrAdeon|CmdrAdeon]] 23:26, 18 November 2009 (UTC)
 +
:Ok, I figured out a reasonably decent way to do it with only to #if statement. Sill if anyone knows a way to do logical operands I'd be interested. [[User:CmdrAdeon|CmdrAdeon]] 02:07, 19 November 2009 (UTC)

Latest revision as of 02:07, 19 November 2009

Testing: Not quite ready yet

Price 1000 prestige
Unlocked by xa
Energy Consumed 500
Control Consumed 500
Crafted at Basic Forge
Allowed "Aux" Items None

Expand Additional Info Box

I would propose that the additional info box be expanded to include fields for monthly Upkeep and Effects (for defensive items). I believe those are the last two bits of data that are currently not tracked on the base items. --Blondeshell 07:18, 6 January 2009 (UTC)

Done. -- Agge (talk) 07:21, 6 January 2009 (UTC)

Changing the way AllowedAux works

I'd like to change the way that the AllowedAux works in this template. Specifically I'd like to set it so that instead of the Allowed "Aux" Items line always being displayed it is displayed if either AllowedAux is not blank or AllowedAux is blank and Attaches is blank. The purpose of this is to remove the Allowed "Aux" Items from Auxilary items which by default cannot have auxiliary items. I've checked the links in Help:Templates but I can't seem to find an elegant way of doing this. Nested if statements would work, but they're inelegant (and messy). Can anyone help? If not I'll go for nested if statements. CmdrAdeon 23:26, 18 November 2009 (UTC)

Ok, I figured out a reasonably decent way to do it with only to #if statement. Sill if anyone knows a way to do logical operands I'd be interested. CmdrAdeon 02:07, 19 November 2009 (UTC)