Hiya escapists.
So, you're lounging around in a random thread, having fun, giving praise to Nasrin, regular forum stuff, when you notice a random greenhorn complaining that they don't know how to put things in spoiler boxes...
Naturally your first instinct is to help, as the responsible and bb-savvy forum member that you are.
But how does one explain bb-code to a rookie in a medium that transforms code into images and spoiler boxes?
I've seen many a clumsy attempt to explain how to write code without writing the code itself, and it is without fail confusing for the rookie user.
That's why I'm here: to tell you that there is a way to write code without having the code activate and turn into nonsense in the finished post.
Behold:
"How does one do this, great teacher?"
It is surprisingly simple, dear student. Let me write that above line again, but make it appear the way it does in the code that makes up this post:
Do you see?
Let me try to make the code easier to understand:
Now the code that is outlined in red will be visible to the reader.
You see, bb-code loses its effect if you try to write extra code inside its brackets. However, the code that you write inside the brackets will still work, provided you've written it correctly.
That, combined with the fact that some code, like
is invisible to the reader, means that if you try to manually color your bb-code black, it will stop working.
You can use this to your advantage when explaining the ropes to newcomers.
You can also use simpler code than
You can for example bold the text inside the brackets, but this might lead to some confusion.
Hopefully, you now know how to handle a situation if a newcomer asks you how to write some piece of code.
Jonluw away.
And you owe me $5 by the way.
So, you're lounging around in a random thread, having fun, giving praise to Nasrin, regular forum stuff, when you notice a random greenhorn complaining that they don't know how to put things in spoiler boxes...
Naturally your first instinct is to help, as the responsible and bb-savvy forum member that you are.
But how does one explain bb-code to a rookie in a medium that transforms code into images and spoiler boxes?
I've seen many a clumsy attempt to explain how to write code without writing the code itself, and it is without fail confusing for the rookie user.
That's why I'm here: to tell you that there is a way to write code without having the code activate and turn into nonsense in the finished post.
Behold:
The secret contents of the spoiler box
"How does one do this, great teacher?"
It is surprisingly simple, dear student. Let me write that above line again, but make it appear the way it does in the code that makes up this post:
Code:
[[[color=black]color=black[/color]]spoiler[[color=black]/color[/color]]] The secret contents of the spoiler box [[[color=black]color=black[/color]]/spoiler[[color=black]/color[/color]]]
Let me try to make the code easier to understand:
Code:
[color=red][[/color][[color=black]color=black[/color]][color=red]spoiler[/color][[color=black]/color[/color]][color=red]][/color] [color=red]The secret contents of the spoiler box[/color] [color=red][[/color][[color=black]color=black[/color]][color=red]/spoiler[/color][[color=black]/color[/color]][color=red]][/color]
You see, bb-code loses its effect if you try to write extra code inside its brackets. However, the code that you write inside the brackets will still work, provided you've written it correctly.
That, combined with the fact that some code, like
Code:
[color=black]
You can use this to your advantage when explaining the ropes to newcomers.
You can also use simpler code than
Code:
[color=black]
Hopefully, you now know how to handle a situation if a newcomer asks you how to write some piece of code.
Jonluw away.
And you owe me $5 by the way.