From Test-Scratch-Wiki
![]() |
This page has links to outside of the Scratch website or Wikipedia. Remember to stay safe when using the internet as we can't guarantee the safety of other sites. |
BBCode (bulletin board code) is a collection of formatting tags that are used to format users' posts in the Scratch Forums and the Text-based Games Forum. BBCode is based on the same principle as, and is similar to, HTML.[1] BBCode can be used for things such as colored text, underlined text, pictures, and links.
Because of how BBCode works, content surrounded with a right-facing and left-facing square bracket will become invisible.
Basic BBCode
The following is the basics of BBCode.
Text Style
- [b]Bold[/b]
— Shows as Bold
- [i]Italics[/i]
— Shows as Italics
- [u]Underline[/u]
— Shows as Underline
- [color=#FF0000]Red text[/color]
— Shows as Red text (Note: #FF0000 is the hexadecimal color code for red).
- [color=blue]Blue text[/color]
— Shows as Blue text
![]() | A site that generates color codes can be found here. |
Links and Images
Using BBCode, Scratchers can add links and images to their posts. New Scratchers cannot post links outside of Scratch, and cannot post images.
Links:
[url]http://wiki.scratch.mit.edu/wiki/Scratch_Wiki[/url] — Shows as http://wiki.scratch.mit.edu/wiki/Scratch_Wiki
[url=http://wiki.scratch.mit.edu/wiki/Scratch_Wiki]Scratch Wiki[/url] — Shows as Scratch Wiki
Images:
[img]http://wiki.scratch.mit.edu/images/Scratch_Cat.png[/img] — Shows as
Images need the http:// or https:// prefix.
Scratch accepts images only from supported hosts. A full list can be viewed here.
Quotes and Code
Scratchers can quote others or display code using these tags. If either one has a disconnected start or end tag, a syntax error is displayed, and the post will not post.
Quotes:
[quote]This is an anonymous quote[/quote] — Creates an anonymous quote, with no name
[quote=A_Scratcher]I am being quoted[/quote] — Creates a quote box that starts A_Scratcher wrote:
I am being quoted
Code:
[code]This is some code.[/code]
This is some code.
If it is long enough, it will have a scrollbar, like this:
This is a long piece of code. This is a long piece of code. This is a long piece of code. This is a long piece of code. This is a long piece of code. This is a long piece of code.
BBCode does not work in code boxes.
Smilies
Scratchers may want to add emoticons to their posts. Here is what can be created:
- :) or =)
- :| or =|
- :( or =(
- :D or =D
- :O or :o
- ;)
- :/
- :P
- :lol:
- :mad:
- :rolleyes:
- :cool:
- :/
—
Blocks
Scratchers can show scripts on the forums using the scratchblocks tag. Before the forum update on January 7, 2012,[2] Scratchers could still show scripts by using an old system of forum blocks with the [blocks] and [/blocks] tags. There were many problems caused by lack of updates, such as 34 blocks missing and 5 that needed to be removed.
Advanced BBCode
Some BBCode can be used to make certain effects:
- [color=Gainsboro]
— Makes text invisible in normal posts (although it is slightly possible to see it)
- [color=LavenderBlush]
— Makes text invisible in quotes (although it is slightly possible to see it)
- [color=#dedfdf]
— Makes text completely invisible on normal posts
- [color=#f1f1f1]
— Makes text completely invisible in quotes
- [color=transparent]
— Makes all text completely invisible, no matter where it is, although it does not work on Internet Explorer 8 and below.
- [b][color=black]
— Even bolder
- Putting BBCode inside other BBCode tags makes the BBCode show up instead of the output; for example, "[i[b][/b]]" would show as [i]
- [url=page url][img]image url[/img][/url]
— Linked image
- Links do not need the http:// prefix, the forum adds it automatically (images do need it)
- Links beginning with ftp. get the ftp:// protocol added automatically
- Links cannot contain the javascript:, about: or chrome: pseudo-protocols for the same reason.
- [url=link][color=color]
— Colored link, but the underline stays blue
- [url=link][color=color][u]
— Colored link, with colored underline
Suggestions
The following are some of the most popular suggestions for BBCode:
- Text alignment
- Fonts
- Sizes
—see below
- Strike-through
—see below
- Highlight
It is also been suggested that the blocks only show up when the [blocks] tags are used.[3]
A Scratch Team Member has said the following about some BBCode suggestions:[4]
“ | Good ideas! I would certainly like to see some new functionality in BB code - I could really use that font setting code. | ” |
– Paddle2See |
Scratch 2.0 BBCode[5]
In Scratch 2.0, several more BBCode tags that have been added:
- [big]
— Creates big text
- [small]
— Creates small text
- [list(=...)]
— Creates a list
- [*]
— List item
- [s]
— strikethrough text
- [center]
— Center aligns text
- [wiki]
— Like [url], but links to the specified title on the Scratch Wiki
- [wikipedia] or [wp]
— Like [url], but links to the specified title on Wikipedia
- [google]
— Like [url], but links to the specified title on Google
- [dictionary] or [dic]
— Like [url], but links to the specified title on http://dictionary.reference.com
Spam
Sometimes, BBCode is used to spam the forums. This is most often done using blocks and is often referred to as block spam. Other spam includes posting irrelevant images, dangerous links, random smiles, and hard to read text.
Examples
BBCode is usually combined to make text unique. Here are some examples
Welcome To Earth Games
or
[color=tan][b]Welcome To Earth Games[/b][/color]
[quote][b][u]Application:[/u][/b]
Username:
Nickname:
Most Wanted Position:
2nd Most Wanted Position:
SWC/SDS/MIF/SST curator?:
Past FPC?:
Time on Scratch:
Status:
References?:
Other:
Activity per Day: /10
Experience: /10
How Would You Help?:
_____________________________________
_____________________________________[/quote]
References
- ↑ http://scratch.mit.edu/forums/help.php
- ↑ http://scratchforums.blob8108.net/forums/viewtopic.php?id=88009
- ↑ http://scratchforums.blob8108.net/forums/viewtopic.php?id=42412
- ↑ http://scratchforums.blob8108.net/forums/viewtopic.php?id=52274#p622104
- ↑ https://scratch.mit.edu/discuss/topic/995/?page=1#post-6684