Template talk:Code: Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>NXTBoy |
>NXTBoy |
(No difference)
|
Revision as of 22:45, 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
- 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.
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.
- 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?
- 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
- We don't want more options - we want consistency! Letting each wiki editor choose their favourite tab width is not a good way to be consistent.
- 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.
- It's not more complicated. It's just redundant - where will it be used?