Template talk:Ambox

From Wikipedia, the free encyclopedia
Jump to: navigation, search


I have seen | subst = <includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly> being replaced by | subst = <includeonly>{{subst:substcheck}}</includeonly> often. Is that okay, and if that is okay, shouldn't we update the documentation? Debresser (talk) 20:14, 19 October 2013 (UTC)

Good idea, and I've added it. By the way, the reason you might have seen it being used a lot is that was the code used in the "common parameters" box. Presumably editors were just copying the code wholesale. — Mr. Stradivarius ♪ talk ♪ 13:03, 20 October 2013 (UTC)
Most likely. Most editors copy the code of templates from the documentation. Debresser (talk) 16:17, 4 January 2014 (UTC)


I have added a warning to the documentation regarding the "cat" and "all" parameters that they should not be linked, nor should "Category:" be used. What ever happened to the "cat-date" parameter? Debresser (talk) 16:17, 4 January 2014 (UTC)

Testcase "talk= name=foo page=template:foo text=text" and the one directly below it.[edit]

Mr. Stradivarius, I don't know if this is related to the change that was just made to the module or something that has been there for awhile. In Template:Ambox/testcases#talk= name=foo page=template:foo text=text the link to the "talk page" is set to go to section #.23 which is ## decoded... Is that intentional? Technical 13 (talk) 01:22, 27 January 2014 (UTC)

That was like that before, and is actually a feature of MediaWiki, not of the module - see my sandbox for a demonstration. A little more complex is the question of why the ambox template put a hash in the fragment by default. I am assuming that the previous template needed a non-blank value, and the hash sign was a convenient one to use because it is unlikely to be a section heading, but I could be wrong there. — Mr. Stradivarius ♪ talk ♪ 02:01, 27 January 2014 (UTC)

Protected edit request on 20 March 2014[edit] (talk) 21:57, 20 March 2014 (UTC)

Not done: it's not clear what changes you want made. Please mention the specific changes in a "change X to Y" format. — {{U|Technical 13}} (tec) 22:01, 20 March 2014 (UTC)