Forum:External links and templates not working

On the Traveller Wiki we're having an interesting problem with getting template and some external links to work together properly. Specifically, we have a Sources template for registering authors. We want to include a parameterised url external link: e.g. Traveller Atlas. Note there is a "?" in the url. If you remove the ? part of the url, it shows up in the template, but not as it is listed. Now what? Tjoneslo 23:54, 2 March 2007 (UTC)


 * Maybe try encoding it as %3F: Traveller Atlas . --Splarka (talk) 03:17, 3 March 2007 (UTC)


 * Nope, that did not work either. Tjoneslo 15:39, 3 March 2007 (UTC)

Substitute your code to this code:

and if you want to make it more easy put the [] beside each  like this   that way you will only have to put the

This is a temporal example i use the Wikia:Sandbox to test it

--Cizagna (Talk) 20:55, 3 March 2007 (UTC) Oh forgot the explanation, the problem from what i have read in the helps of mediawiki is with the "?" its take some way by the parser function so in order to resolve it what i come out with a previous help and did a parser function but only to check if fields its blank, we use css code to hide the row in case there is nothing and if there is something it will be display and the field will be separate from the inside instructions of the parse function making it viewable, for the cases i have seen parser functions and table html dont mix very well...--Cizagna (Talk) 21:12, 3 March 2007 (UTC)


 * That worked perfectly. Thank you very much for your help. Tjoneslo 01:36, 4 March 2007 (UTC)


 * Just a note, using CSS tricks to hide unused table content has been deprecated on Wikipeda. It should be done using parserfunctions to actually generate the table rows serverside (but this isn't easy on Wikia at the moment, without Tidy installed). --Splarka (talk) 04:49, 4 March 2007 (UTC)


 * The original template did just that, but you can't combine the template and the {| |} table format unless you do the above (or there is some other trick I'm missing. And the original didn't work. Tjoneslo 14:11, 4 March 2007 (UTC)
 * Create a template call "!" and and put "|" so any time you need to the pipe in a parser function you call the template |, the template i gave you will translate like this:


 * My issues are that the when trying to work with the tables it respects the lines so you end up with a bunch of empty lines the only way i have found to resolve the issue is by chaining the parser functions and it works perfectly but if by mistake you jump one of the fields (eg; s1,s2,s4,s5) the following fields will not appear at oppose of the css solution.--Cizagna (Talk) 19:25, 4 March 2007 (UTC)