Template talk:Code: Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>JulienDethurens
>JulienDethurens
(No difference)

Revision as of 22:39, 29 February 2012

Yay!

Yay! I just created a template which will allow us to highlight code with a specified tab size in Lua, but also JavaScript and lots of other languages which we never use on the wiki anyways. But it's still cool, as, basically, it's like the code tag, but better, as we can also change tab size. And this template will also make switching to the other highlighting extension easier! :D

29 February 2012
Umm... we don't program in Java here though... D: - Quenty (talk • February 29)
True, true, but it's still cool. And, it allows us to customize the tab size. Even though we could still easily do it with the style attribute, it's still useful to make it all handled by a template, as that allows us to change it on the whole wiki easily.
29 February 2012

Why do we need this?

We already have {{lua}}. Why do we need this page? I can't think of anywhere on the wiki it'll be used. It'll just be confused with the lua template.

07:55, 29 February 2012 (UTC)
It's the same thing, but it supports every language supported by the code tag and lets us change the tab size. And it isn't more complicated to use.
29 February 2012
It's not more complicated. It's just redundant - where will it be used?
21:58, 29 February 2012 (UTC)
Well, I believe it could be used instead of the lua template, since it offers more options. Or perhaps the lua template could use it, since the opposite isn't possible.
29 February 2012