Forum:Help with a template

Hi. I'm building up a template here. Is it possible to have the last line disapear if there's nothing in ? See for example this. It looks bad when there's nothing there to end the sentance. If there's no possible way of doing this, then I'll go ahead and make a new Template for it, but I would like to be able to use just one Template. --Steinninn 13:19, 15 May 2007 (UTC)
 * That's done using parserfunctions. I made the change for you.
 * On another note... onlyinclude? I never knew that tag existed. ~Dantman(talk) tricks May 15, 2007 @ 13:25 (UTC)
 * Thanks. And yea, onlyinclude, I don't remember where I found that. Oh yea now I remember, its here Use it at will --Steinninn 15:16, 15 May 2007 (UTC)


 * Very obscure tag, been around forever, not highly useful IMHO (for example, preload doesn't parse it). ^_^ --Splarka (talk) 07:37, 16 May 2007 (UTC)
 * Ya, in all my experience I've only used noincludes outside of the area to be included. From what I see even most of the big Wikipedia templates only use that method. ~Dantman(talk) tricks May 16, 2007 @ 09:23 (UTC)
 * So what's the real difference?

--Steinninn talk 23:29, 30 May 2007 (UTC)
 * 1) includeonly: the only thing that shows up on a page that uses the template
 * 2) noinclude: only shows up on the pages that use the template but not in the template page itself
 * 3) onlyinclude: same as nr.2?

After a few tests at test.wikipedia this is what I found out
 * 1) Doesn't show up in the template itself: includeonly
 * 2) Isn't take to the page: noinclude
 * 3) The only thing taken to the page: onlyinclude
 * 4) --Steinninn talk 23:56, 30 May 2007 (UTC)


 * The easiest way to describe onlyinclude is the opposite of noinclude. &lt;onlyinclude&gt;This acts like everything else is wrapped in noinclude&lt;/onlyinclude&gt;. --Splarka (talk) 06:57, 31 May 2007 (UTC)