Template talk:Base Additional Info: Difference between revisions
imported>CmdrAdeon (→Changing the way AllowedAux works: new section) |
imported>CmdrAdeon |
||
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
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)
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)