Template talk:Code

Serial comma
This template does not generate a Serial comma (aka the "oxford comma"). This ought to be fixed, since otherwise things read incorrectly. It really only applies with "and" and "or", though, not any of the other delimiters. I don't think it'd be that hard to implement, but I don't have a good test case or enough experience with the template system. (I only noticed it on the 1.14 page, which includes armorer_poifletcher_poistanding_signs &mdash; it looks like it's grouping them in a weird way to me. Also worth noting that that page has well over 10 items in that list, and most of them aren't showing up...) --Pokechu22 (talk) 16:43, 28 March 2019 (UTC)


 * Done – Nixinova Nixinova sig1.png Nixinova sig2.png 18:23, 28 March 2019 (UTC)

cd shortcut
The  shortcut seems to have a number of issues, which can be seen in the folded sections here: https://minecraft.gamepedia.com/index.php?title=Commands&oldid=1388227#minecraft:block_pos

and here: https://minecraft.gamepedia.com/index.php?title=Commands&oldid=1388227#minecraft:block_predicate

Fabian42 (talk) 10:49, 6 June 2019 (UTC)


 * That's not specific to the shortcut, in general, as soon as you include brackers, the template gets messed up and you should use tags at the expense of some template usage overhead? Delimiter functionality does seem to be a redeeming point, but outside of that, is this template really needed? —  Babylon  A S  19:11, 3 December 2020 (UTC)


 * I've been wondering about this too. On Official pages/Bedrock Edition flattening, replacing ~8000 usages of this template with code tags significantly reduced the loading time, which was previously 30+ seconds (compare the new version with the old version by viewing the page source and searching for "NewPP limit report"). Since the main benefit appears to be convenience, I do think it shouldn't be used within other templates at least. – Sonicwave talk   19:43, 3 December 2020 (UTC)
 * Just saying, it also adds a span style="word-break: break-word;" along with the code formatting. Dhranios (talk) (Join the wiki videos project!) 19:44, 3 December 2020 (UTC)