Forum:Question about formatting

I have a question about formatting. How do I use the "if" thing, so not every article will display weight, WeX, and Effects?

I'm basically trying to do it here so weight, WeX, and effects are optional for being filled in. --Thenewguy34( Other) 19:13, June 23, 2012 (UTC)
 * The syntax for an #if statement is:


 * So what you would do here is, say you were doing the weight column:


 * The string for when it is empty is optional. Anyway, that would make it so the weight header cell won't appear unless the weight parameter is defined when using the template. You will have to do the same for the respective cell below it.


 * I use  there instead of | because that would confuse the if statement into thinking I've already defined the result when not empty and I'm now defining the result when empty. Wikis get a ! template when they are created. All they are is a pipe character ( | ), but they can be substituted with the template so that you can use pipes when using, because normally a pipe is interpreted as the start of a new parameter.


 * Anyways, you'll just have to repeat that for everything you want to do. Make sure you change the parameter ( up there) for each column you do, and make sure what you choose is what you will actually use when using the template. — Matthew2602 (talk) 22:10, June 23, 2012 (UTC)

I put a question in the coding; can you please answer it? --Thenewguy34( Other) 23:11, June 23, 2012 (UTC)

=Never mind, this is getting way too complicated.= --Thenewguy34( Other) 23:24, June 23, 2012 (UTC)
 * Here, just use this.


 * — Matthew2602 (talk) 23:33, June 23, 2012 (UTC)