Forum:Help With Template Modification

Hello. Could a kindly editor please take a look at this template, and tell me if there is anyway to insert tables into it? I've tried turning the table in question into another template, but doing so seems to negate the switch functionality when it is added into the original template. Any information would be greatly appreciated.

Thank you,

-- 12:44, September 3, 2012 (UTC)


 * Not having looked at your template, but did you use the Template:! instead of vertical lines so as to not interfer with template-parameter syntax?--PedroM (talk) 12:55, September 3, 2012 (UTC)


 * I'm sorry; I don't know what you mean.-- 13:56, September 3, 2012 (UTC)


 * Read up on the template here.--PedroM (talk) 16:15, September 3, 2012 (UTC)


 * The page no longer exists.-- 01:57, September 4, 2012 (UTC)
 * :| Here.--PedroM (talk) 02:13, September 4, 2012 (UTC)


 * Basically, Mediawiki acknowledges a pipe ( | ) as part of a template or parser function before it acknowledges it as part of a table. By using ! in place of the pipes in a table, you're tricking the template that contains the table into not acknowledging it as an argument delimiter, while the table's behavior does not change.


 * Alright. So, which pipes in the table do I need to replace with ! then? And after doing so, I would be able to insert that table into this template, without breaking both?-- 03:21, September 4, 2012 (UTC)

Any pipe that doesn't separate arguments (i.e. parameters) needs to be replaced with !. And it should work, unless there's some other factor messing it up.


 * I'm very sorry, but inserting the table still seems to break the original template. Turning the table into a template itself and inserting that also hasn't made any visible changes. Either the template ceases to function, or the table is not switched out when it should be.
 * -- 03:52, September 4, 2012 (UTC)