Difference between revisions of "User talk:Donovan Ravenhull"

From Cunnan
Jump to navigationJump to search
(welcome)
 
(Hiding of missing variables in info boxes)
 
Line 1: Line 1:
 
Hello and welcome to Cunnan. You seem to have caught on to some of the technicalities of the wiki pretty quickly, but if there's anything I can help you with feel free to leave a message on my talk page. If you are looking for ways to contribute, look at [[Cunnan:Projects]] for a few ideas. [[User:Conrad Leviston|Conrad Leviston]] 07:46, 9 Oct 2005 (CDT)
 
Hello and welcome to Cunnan. You seem to have caught on to some of the technicalities of the wiki pretty quickly, but if there's anything I can help you with feel free to leave a message on my talk page. If you are looking for ways to contribute, look at [[Cunnan:Projects]] for a few ideas. [[User:Conrad Leviston|Conrad Leviston]] 07:46, 9 Oct 2005 (CDT)
  +
  +
== Hiding of missing variables in info boxes ==
  +
  +
I got the hiding code to work. To use it in an article, you still need to have the variable name (i.e. ''baroness= |'') and it will provide the label in the infobox, but you won't get the triple-bracketed stuff after it so it's much cleaner. To implement this functionality in your own templates, you must first enclose the transclusion info in a span or div tag with a call to the "HideIfEmpty" template (i.e. <nowiki><span {{HideIfEmpty|{{{baroness}}}}}>{{{baroness}}}</span></nowiki>). Just send me a note on my talk page if you have questions on this, I'm no expert, but I might be able to help! I've already put this code into your Barony info box and it doesn't have to be removed ever as you can see the Baron still shows up.[[User:ThorgrimrGunnarrsson|Thorgrimr of Dragonsspine]] 19:53, 22 Feb 2006 (CST)

Latest revision as of 11:53, 23 February 2006

Hello and welcome to Cunnan. You seem to have caught on to some of the technicalities of the wiki pretty quickly, but if there's anything I can help you with feel free to leave a message on my talk page. If you are looking for ways to contribute, look at Cunnan:Projects for a few ideas. Conrad Leviston 07:46, 9 Oct 2005 (CDT)

Hiding of missing variables in info boxes

I got the hiding code to work. To use it in an article, you still need to have the variable name (i.e. baroness= |) and it will provide the label in the infobox, but you won't get the triple-bracketed stuff after it so it's much cleaner. To implement this functionality in your own templates, you must first enclose the transclusion info in a span or div tag with a call to the "HideIfEmpty" template (i.e. <span {{HideIfEmpty|{{{baroness}}}}}>{{{baroness}}}</span>). Just send me a note on my talk page if you have questions on this, I'm no expert, but I might be able to help! I've already put this code into your Barony info box and it doesn't have to be removed ever as you can see the Baron still shows up.Thorgrimr of Dragonsspine 19:53, 22 Feb 2006 (CST)