Forum:Need help finalizing a Template

Hello all,

I'm currently writing a (rather simple lookin) template, but I need some help finalizing it. The template is over here.

What I'd like to see different is the following 3 points:


 * alt title in English should be hidden when not used.
 * Used by/cited by should appear on the top right.
 * Amount of juǎn should also be hidden when not used.

I hope someone can help me with this. --- Zantam03 ( Talk ) 10:11, March 14, 2012 (UTC)


 * You probably need to use #if to create template passages that are hidden when unused. Here's a simple example:


 * The name and the b-tag will only be included if a value for "name" was specified.


 * And as for the "Used by/cited by": Have you tried specifying its position with CSS? -- Pecoes 10:29, March 14, 2012 (UTC)


 * Thanks. I've added the if command succesfully to the 'amount of juan' part I think, but I can't get it to work right on the 'alt title in English' part. --- Zantam03 ( Talk ) 11:31, March 14, 2012 (UTC)


 * I suspect the parentheses and apostrophes in the parameter name are the problem. Use simple one-word names. The names are for internal template use only after all. They are not meant to document the template. You should use Template:Documentation for that. -- Pecoes 11:58, March 14, 2012 (UTC)


 * I tried that, but it's still messed up. The bottom paramater appears on the right and the English titles appear underneath each other while I want them next to each other. --- Zantam03 ( Talk ) 12:16, March 14, 2012 (UTC)


 * That's a little too complex for me. I would have to see the template in action to understand the problem. -- Pecoes 13:38, March 14, 2012 (UTC)


 * There's an example here. --- Zantam03 ( Talk ) 19:57, March 14, 2012 (UTC)


 * Can you also give me an idea of what it should look like? -- Pecoes 20:24, March 14, 2012 (UTC)


 * Yes, I'd like to make it look like this. --- Zantam03 ( Talk ) 21:24, March 14, 2012 (UTC)
 * Okay. It should work now. -- Pecoes 21:50, March 14, 2012 (UTC)


 * Looks great, thanks very much :-) --- Zantam03 ( Talk ) 21:51, March 14, 2012 (UTC)


 * I've just added another parameter, called 'description', but when I fill it in the 'citer' parameter no longer functions properly. Click here for an example. As you can see, when I use a space the words are placed underneath each other. --- Zantam03 ( Talk ) 16:50, March 16, 2012 (UTC)


 * That's because I turned your template into a two-column table. The new fields you added do not span both columns but stretch the first column to the point where it asphyxiates the second. I'll show you what I mean... -- --  p e c o e s   16:56, March 16, 2012 (UTC)


 * Ah I see. Well, thanks for the fix ;-) --- Zantam03 ( Talk ) 17:13, March 16, 2012 (UTC)