Forum:Can a notice template have a category switch option ?

I've seen it done with image boxes for uploads, but I want to try doing one using a notice (aka ambox) template for articles.-- Bunai82 (talk) 23:28, September 10, 2011 (UTC)
 * Not sure what you're asking. Are you trying to get a template that changes its message depending upon category in which it's placed? If so, the answer's yes, because you would just do a switch on the , as at tardis:template:ooucat. Dunno if that helps or not.
 * 23:43:14 Sat 10 Sep 2011


 * Um, I'll try a visual example. Your link maybe the base of what I want.
 * The parameters for the "#switch Reason" would be "positive" and "negative". What I would like for the parameters to do is link an article to a category, depending on which one is in place. I would also like the parameters message to display in the Notice.

-- Bunai82 (talk) 01:42, September 11, 2011 (UTC)




 * Won't simply this do what you want? Or did I misunderstand the question? — Sovq 06:35, September 11, 2011 (UTC)


 * I think it will work. However, can a template be in place of category?
 * And then, that template will be the link to the category? -- Bunai82 (talk) 00:40, September 12, 2011 (UTC)