Template talk:Xtag

lines
poem is being renamed to lines.

Test: 123

--  Gadget850talk 19:56, 10 February 2014 (UTC)

Bug
I think there is a bug with this template. With  a space should be rendered between the syntaxhighlight tag and the attribute enclose, e.g.  rather than. --Mrjulesd (talk)  09:42, 28 November 2014 (UTC)


 * p --  Gadget850talk 11:58, 28 November 2014 (UTC)


 * Thanks. --Mrjulesd (talk)  12:47, 28 November 2014 (UTC)


 * Single was also missing a space. Fixed. --  Gadget850talk 17:12, 28 November 2014 (UTC)

Breaks inside links
This should work:

but it does not:
 * the syntaxhighlight MediaWiki tag

This, however:

does work:
 * the MediaWiki tag

It's probably matter of escaping some character in there. Also, this template should probably get a safesubst conversion. — SMcCandlish ☏ ¢ 😼  00:01, 8 February 2021 (UTC)
 * The code expands to  which includes a link. You are therefore trying to make this:  MediaWiki tag]] which has a link inside a link, which is forbidden. Why would you want to link mw:Extension:SyntaxHighlight twice, anyway? -- Red rose64 &#x1f339; (talk) 16:42, 8 February 2021 (UTC)