Forum:Help with infobox parameter ?

Hello,

I am working on a fanon wiki, I already set up the first infobox template, but I would like help with the second one. It is mostly when to trigger an unused parameter with a default message; unlike the first infobox which renders an unfilled parameter invisible, this second infobox is different as it is a table set up and would basically require the box to be filled. if the box isn't filled, a default message is suppose to show. If possible.

See Infobox Character 2.

Basically I want to know where to put the "#if:" and how many. Also, if you do volunteer, there is a Welcome-user-page‎ ^_^;; -- Bunai82 (talk) 08:51, September 10, 2011 (UTC)


 * Use


 * You'll have to be more visual with me, sorry. I am still learning how template triggers work.


 * example
 * align=center | GENDER
 * style="font-weight:bold;" |
 * style="font-weight:bold;" |


 * I have it set like this, but when I leave the parameter blank, it does not show the default message. -- Bunai82 (talk) 10:27, September 10, 2011 (UTC)


 * Odd, seems to work well for me - when I transclude the Template:Infobox/Character2 without filling any parameters, I do see all the "Ambiguous/Not available/Unknown" messages. — Sovq 11:16, September 10, 2011 (UTC)


 * Still not showing for me. -- Bunai82 (talk) 16:04, September 10, 2011 (UTC)


 * Be sure to actually use the template somewhere to see if it works - the documentation page uses the template with filled out parameters, which might be misleading. — Sovq 16:18, September 10, 2011 (UTC)


 * Also, if you want it to use the default, you must make sure you don't add the parameter when calling the template (eg. ). If you do that it will not use the default, but use what you entered (= nothing). You can adapt your template to that though:  . The other option is to not add the "gender=" - Tjcool007 (Talk) 16:53, September 10, 2011 (UTC)


 * Thank you, that is what I was looking for, it seems to work on the rows, but having some issue with the top "Has no name" etc.
 * To the other option... if I understood right, if I were to completely remove the parameter, then it would have shown the default message?-- Bunai82 (talk) 17:06, September 10, 2011 (UTC)

You forgot the opening, where it should be  - Tjcool007 (Talk) 17:23, September 10, 2011 (UTC)


 * Ah, I thought it was because both parameter codes were on the same line. ^_^;;
 * Thanks again. -- Bunai82 (talk) 17:54, September 10, 2011 (UTC)