Forum:Need help coding template to use "created" variables

I have: User:Nicolasjager/Template:Weapon/stat which when called with 4 parameters will become: where i is slots, j is type, k is stat, and l is statnumber.
 * islottypejk=l

User:Nicolasjager/Template:Weapon then among other things (I haven't coded yet) will do a bunch of conditionals with the parameters: 0slottype1str 0slottype2str 0slottype3str 0slottype4str ... 0slottype1dex ... 6slottype4luc It will do different things depending on whether or not they exist and what their values are.

Currently, it's only content is:

so, if the parameter 1slottype2str exists, then it will return 1, else 0.

Finally everything will be used at: User:Nicolasjager/List_of_Weapons.

The part above the comment works because I call User:Nicolasjager/Template:Weapon directly and input values directly (but that's not how I want to use it).

The part below the comment IS NOT WORKING. In it, I call User:Nicolasjager/Template:Weapon and use User:Nicolasjager/Template:Weapon/stat to give it some parameters.

But, all it does is return the text, when I'd like it to actually run that as code and return what the code would return.

Help in resolving this would be very much appreciated. Nicolasjager 16:15, 5 April 2008 (UTC)

Resolved
It's been resolved. Nicolasjager 22:55, 5 April 2008 (UTC)