Discuss Scratch

Ihatr
Scratcher
1000+ posts

iTopic collaboration.

To help make this, simply edit the below post

Last edited by Ihatr (Nov. 11, 2020 22:55:18)

Ihatr
Scratcher
1000+ posts

iTopic collaboration.

The old topic by @nXIII has outdated information, so I revived this topic with up-to-date info. Huge thanks to them as they basically made the whole layout of this topic.

What is BBCode?

BBCode is a markup language that can be used to format posts. It can be used by simply typing the tags, or by using the toolbar found above the message. BBCode transfers a simple post with plain text, to a dynamic one with tons of cool advantages. The tags function in brackets, like [tag] stuff [/tag]. In this guide, I'll show you how to use BBCode to format your posts!

Formatting Text


[b] — bold text (Ctrl+B)
This tag makes text bold. Often used to add emphasis or make small headings.
[b]example phrase[/b] —> example phrase

[i] — italic text (Ctrl+I)
This tag makes text italic. Often used to add emphasis or mark the titles of books or other works.
[i]example phrase[/i] —> example phrase

[u] — underlined text (Ctrl+U)
This tag adds a line below text. Use sparingly, as underlined text can often be confused with links.
[u]example phrase[/u] —> example phrase

[color=color] — colored text
This tag changes the color of text. You can use color names (ex: blue), or hex codes as the color. See here for a full list of color names, and here for a color picker that will generate hex values for you.
[color=red]example phrase[/color] —> example phrase
[color=#a5d]example phrase[/color] —> example phrase

[s] — struck-through text (Ctrl+S)
This tag adds a line through text. You can use it to mark deletions in posts.
[s]example phrase[/s] —> example phrase

[big] — big text
This tag makes text big. It's often used for headers. Make sure you don't use it when it's not needed, because it can be very annoying.
[big]example phrase[/big] —> example phrase

[small] — small text
This tag makes text small. You can use it for subtle remarks in posts.
[small]example phrase[/small] —> example phrase

Formatting Links


[url] — link (Ctrl+L)
This tag adds a link. You can specify a link location or use the text of the link.
[url]http://www.google.com/[/url] —> http://www.google.com/
[url=http://www.google.com/]Google[/url] —> Google

Images

Note: If you are new to the forums (a New Scratcher), you won't be able to post links and images. Once you become a Scratcher, the ability to post images will be turned on automatically. Read this topic to learn about how to become a scratcher

[img] — image (Ctrl+P)
This tag adds an image to the post. Images must be hosted on one of the following sites:
[img]http://scratch.mit.edu/scratchr2/static/images/logo_sm.png[/img] —>

Lists

These tags allow you to add both ordered (marked with 1, 2, 3…) and unordered (marked with a bullet “•” or other character) lists to your posts.

[list] — unordered list
Adds an unordered list.

[list]
[*]imagine
[*]program
[*]share
[/list]

Produces:

  • imagine
  • program
  • share

[list=symbol] — ordered list
Adds an ordered list. Symbol specifies the starting symbol (ex: 1).

[list=1]
[*]lather
[*]rinse
[*]repeat
[/list]

Produces:

  1. lather
  2. rinse
  3. repeat



Emojis

Some emoticons will be automatically be converted to images.

:) —>
:| —>
:( —>
:D —>
:o —>
;) —>
:/ —>
:P —>
:lol: —>
:mad: —>
:rolleyes: —>
:cool: —>

Quotes

You can click the Quote button on any post to automatically add the quote BBCode to your post, or manually add the quote using the [quote] tag.

[quote] — quote box
This tag adds a quote box. You can specify author of the post with [quote=author].
[quote]Example quote[/quote] —>
Example quote
[quote=Someone]Example quote[/quote] —>

Someone wrote:

Example quote

Scratchblocks

Note: Don't use this tag to spam in topics, as it can be annoying. If you want to test it out, do so in the official testing topic here
This is a BBCode plugin that can be used to visualize scratchblocks. There's a really helpful iTopic here if you want to know more about them.
[scratchblocks]when green flag clicked[/scratchblocks] —>
when green flag clicked


Code

You can use the [code] tag to display sections of code in a monospaced font. Tags within the [code] tag (other than [/code]) will not have any effect.

[code] — source code
This tag adds block of code.
[code]example[/code] —>
example

[code=language] — source code
This tag adds block of code with syntax highlighting. You can use any of the languages supported by pygments. See here for a full list.

[code=javascript]alert('imagine, program, share!');[/code] —>
alert('imagine, program, share!');

External link tags

[wiki] — Scratch Wiki article link
This tag adds a link to a Scratch Wiki article.
[wiki]Scratch (programming language)[/wiki] —> Scratch (programming language)

[wp] — Wikipedia article link
This tag adds a link to a wikipedia article.
[wp]Scratch (programming language)[/wp] —> Scratch (programming language)

[google] — Google search link
This tag adds a link to a Google search for a term.
[google]Scratch[/google] —> Scratch

[dictionary] — dictionary link
This tag adds a link to a dictionary definition of a word.
[dictionary]imagine[/dictionary] —> imagine

BBCode buttons.



Other BBCode Information

You can use [dict] as a shortcut for [dictionary].

Text in brackets will confuse the BBCode parser—it thinks it's a tag, which hides the brackets and the text in them. You can put [] inside the brackets to prevent this from happening:
some [example] text —> some text
some [[]example] text —> some [example] text

You can nest tags to apply more than one kind of formatting to a region of text.
[b][i]example phrase[/i][/b] —> example phrase

Conclusion
That's the end! Now you know BBCode, and you can format your posts in awesome ways!

Previous Topic by @nXIII

Last edited by Ihatr (Nov. 11, 2020 23:30:12)

Nezon
Scratcher
1000+ posts

iTopic collaboration.

added a few things..

Ihatr wrote:

The old topic by @nXIII has outdated information, so I revived this topic with up-to-date info. Huge thanks to them as they basically made the whole layout of this topic.

What is BBCode?
BBCode is a markup language that can be used to format posts. It can be used by simply typing the tags, or by using the toolbar found above the message. BBCode transfers a simple post with plain text, to a dynamic one with tons of cool advantages. The tags function in brackets, like [tag] stuff [/tag]. In this guide, I'll show you how to use BBCode to format your posts!

Formatting Text

[b] — bold text (Ctrl+B)
This tag makes text bold. Often used to add emphasis or make small headings.
[b]example phrase[/b] —> example phrase

[i] — italic text (Ctrl+I)
This tag makes text italic. Often used to add emphasis or mark the titles of books or other works.
[i]example phrase[/i] —> example phrase

[u] — underlined text (Ctrl+U)
This tag adds a line below text. Use sparingly, as underlined text can often be confused with links.
[u]example phrase[/u] —> example phrase

[color=color] — colored text
This tag changes the color of text. You can use color names (ex: blue), or hex codes as the color. See here for a full list of color names, and here for a color picker that will generate hex values for you.
[color=red]example phrase[/color] —> example phrase
[color=#a5d]example phrase[/color] —> example phrase
Make sure not to over use colors! Make sure not to make your color your text too much. Some scratchers may get annoyed by bright colors.

[s] — struck-through text (Ctrl+S)
This tag adds a line through text. You can use it to mark deletions in posts.
[s]example phrase[/s] —> example phrase

[big] — big text
This tag makes text big. It's often used for headers. Make sure you don't use it when it's not needed, because it can be very annoying
[big]example phrase[/big] —> example phrase

[small] — small text
This tag makes text small. You can use it for subtle remarks in posts.
[small]example phrase[/small] —> example phrase

Formatting Links

[url] — link (Ctrl+L)
This tag adds a link. You can specify a link location or use the text of the link.
[url]http://www.google.com/[/url] —> http://www.google.com/
[url=http://www.google.com/]Google[/url] —> Google

Images
Note: If you are new to the forums (a New Scratcher), you may not be able to post links and images. If you are active on the main site and the forums for a while you will become a Scratcher and be able to post links and images.

[img] — image (Ctrl+P)
This tag adds an image to the post. Images must be hosted on one of the following sites:
[img]http://scratch.mit.edu/scratchr2/static/images/logo_sm.png[/img] —>

Lists
These tags allow you to add both ordered (marked with 1, 2, 3…) and unordered (marked with a bullet “•” or other character) lists to your posts.

[list] — unordered list
Adds an unordered list.

[list]
[*]imagine
[*]program
[*]share
[/list]

Produces:

  • imagine
  • program
  • share
[list=symbol] — ordered list
Adds an ordered list. Symbol specifies the starting symbol (1 or a).

[list=1]
[*]lather
[*]rinse
[*]repeat
[/list]

Produces:

  1. lather
  2. rinse
  3. repeat
[list=a]
[*]10
[*]10,000
[*]10,000,000
[/list]

Produces:


  1. 10
  2. 10,000
  3. 10,000,000
Emojis
Some emoticons will be automatically be converted to images.
You can get the original text emojis by doing this: :[b][/b])
:) —>
:| —>
:( —>
:D —>
:o —>
;) —>
:/ —>
:P —>
:lol: —>
:mad: —>
:rolleyes: —>
:cool: —>

Quotes
You can click the Quote button on any post to automatically add the quote BBCode to your post, or manually add the quote using the [quote] tag.

[quote] — quote box
This tag adds a quote box. You can specify author of the post with [quote=author].
[quote]Example quote[/quote] —>
Example quote
[quote=Someone]Example quote[/quote] —>

Someone wrote:

Example quote

Scratchblocks
This is a BBCode plugin that can be used to visualize scratchblocks. There's a really helpful iTopic here if you want to know more about them.

[scratchblocks]when green flag clicked[/scratchblocks] —>
when green flag clicked


Code
You can use the [code] tag to display sections of code in a monospaced font. Tags within the [code] tag (other than [/code]) will not have any effect.

[code] — source code
This tag adds block of code.
[code]example[/code] —>
example

[code=language] — source code
This tag adds block of code with syntax highlighting. You can use any of the languages supported by pygments. See here for a full list.

[code=javascript]alert('imagine, program, share!');[/code] —>
alert('imagine, program, share!');

[wiki] — Scratch Wiki article link
This tag adds a link to a Scratch Wiki article.
[wiki]Scratch (programming language)[/wiki] —> Scratch (programming language)

[wp] — Wikipedia article link
This tag adds a link to a wikipedia article.
[wp]Scratch (programming language)[/wp] —> Scratch (programming language)

[google] — Google search link
This tag adds a link to a Google search for a term.
[google]Scratch[/google] —> Scratch

[dictionary] — dictionary link
This tag adds a link to a dictionary definition of a word.
[dictionary]imagine[/dictionary] —> imagine

BBCode buttons.



Other BBCode information
You can use [dict] as a shortcut for [dictionary]

Text in brackets will confuse the BBCode parser—it thinks it's a tag, which hides the brackets and the text in them. You can put [] inside the brackets to prevent this from happening:
some [example] text —> some text
some [[]example] text —> some [example] text
You can make text go to the middle or right by doing [/middle]
You can nest tags to apply more than one kind of formatting to a region of text.
[b][i]example phrase[/i][/b] —> example phrase

Conclusion
That's the end! Now you know BBCode, and you can format your posts in awesome ways!

Previous Topic by @nXIII

Last edited by Nezon (Nov. 11, 2020 23:06:10)

DancingNekoGirl
Scratcher
1000+ posts

iTopic collaboration.

Just some suggestions as well as punctuation/grammar:

  • You should probably link the old topic in the introduction.
  • In “big text”, the word “annoying” is missing a period.
  • On “images”, “you may not” suggests that it's somewhat possible to insert an image as a New Scratcher, but I'm pretty sure it isn't (I don't know, I didn't start using the forums until April this year.)
  • On “images”, you should probably link the guide to the “How to Become a Scratcher” sticky.
  • On “lists”, it seems like the lettered list part doesn't work.
  • On “Scratchblocks”, you should probably briefly mention that block spam isn't allowed, and link a relevant post.
  • It looks like after a part of “Scratchblocks”, the centering is off. The alignment should be consistent, but I think only the titles of each section should be centered, and the information is left aligned.
  • In “Other BBCode information”, the “i” in “information” should be capitalized.
  • The end of the first sentence in “Other BBCode Information” is missing a period.
  • I think the “nesting tags” part of “Other BBCode Information” should be in “Formatting Text”.

Last edited by DancingNekoGirl (Nov. 11, 2020 23:12:54)

Ihatr
Scratcher
1000+ posts

iTopic collaboration.

DancingNekoGirl wrote:

Just some suggestions as well as punctuation/grammar:

  • You should probably link the old topic in the introduction.
  • In “big text”, the word “annoying” is missing a period.
  • On “images”, “you may not” suggests that it's somewhat possible to insert an image as a New Scratcher, but I'm pretty sure it isn't (I don't know, I didn't start using the forums until April this year.)
  • On “images”, you should probably link the guide to the “How to Become a Scratcher” sticky.
  • On “lists”, it seems like the lettered list part doesn't work.
  • On “Scratchblocks”, you should probably briefly mention that block spam isn't allowed, and link a relevant post.
  • It looks like after a part of “Scratchblocks”, the centering is off. The alignment should be consistent, but I think only the titles of each section should be centered, and the information is left aligned.
  • In “Other BBCode information”, the “i” in “information” should be capitalized.
  • The end of the first sentence in “Other BBCode Information” is missing a period.
  • I think the “nesting tags” part of “Other BBCode Information” should be in “Formatting Text”.
Done.
DancingNekoGirl
Scratcher
1000+ posts

iTopic collaboration.

Ihatr wrote:

Done.
Looks good, and I actually didn't know some of this stuff in this guide…
Ihatr
Scratcher
1000+ posts

iTopic collaboration.

Shall I create the new topic, or wait a bit for more suggestions?

Last edited by Ihatr (Nov. 11, 2020 23:42:06)

DancingNekoGirl
Scratcher
1000+ posts

iTopic collaboration.

You should probably go ahead and create it, but if there are any suggestions you can edit it from there.
Ihatr
Scratcher
1000+ posts

iTopic collaboration.

DancingNekoGirl wrote:

You should probably go ahead and create it, but if there are any suggestions you can edit it from there.
Ok, thanks for the help!
Ihatr
Scratcher
1000+ posts

iTopic collaboration.

The new topic has been posted, it can be found here. Please suggest any improvements there. ^^

Powered by DjangoBB