Template talk:Asterix
From Wikipedia, the free encyclopedia
[edit] Rogue code appearing
At bottom of the template, when in use, the following text is appearing:
- {{#switch:book | b | books | book = | m | movie | movies | f | films | film = | g | games | game = |
I have no idea what it is for (even having looked at the template code). Could someone fix this please?
EdJogg 11:31, 19 January 2007 (UTC)
- This is the code that sorts the various articles using the template into their appropriate categories. when the template was made collapsible it stopped being treated as code and dropped into the article directly (causing all articles using the template to be placed in all categories (book,game,film & general) ... collapsible would be nice, but the damage it caused isn't worth it, so I've reverted to the (working) non-collapsible version for now ---Invisifan 15:19, 19 January 2007 (UTC)
- On closer examination it appears the when Dispenser added the collapsibility option he erased a couple of critical closing braces from the parser function - I'll rv & correct that and hopefully we'll have the best of all possible templates ;-) --Invisifan 15:37, 19 January 2007 (UTC)
- Well the rogue code has certainly gone now! Thanks. EdJogg 16:43, 19 January 2007 (UTC)
- On closer examination it appears the when Dispenser added the collapsibility option he erased a couple of critical closing braces from the parser function - I'll rv & correct that and hopefully we'll have the best of all possible templates ;-) --Invisifan 15:37, 19 January 2007 (UTC)