BBCodes

Have a look here for general information about the forum, rules and announcements.
Post Reply
User avatar
The G
Grease Monkey
Information
Posts: 558
Joined: 21 Jun 2009, 11:43
Location: Bucharest, Romania
Has thanked: 408 times
Been thanked: 284 times

Post by The G »

In the order they are on the BBCodes toolbar over the post edit textarea:


Typography


Bold text:

Blah blah blah.

Code: Select all

[b]Blah blah blah.[/b]

Italic text:

Blah blah blah.

Code: Select all

[i]Blah blah blah.[/i]

Underlined text:

Blah blah blah.

Code: Select all

[u]Blah blah blah.[/u]

Quote:
Some dude wrote:Blah blah blah.

Code: Select all

[quote=Some dude]Blah blah blah.[/quote]

Code:

Code: Select all

<div><a href="/" title="title">Link to somewhere</a></div>

Code: Select all

[ code ]<div><a href="/" title="title">Link to somewhere</a></div>[ code ] (remove spaces inside tags)

Unordered list:
  • List item
  • List item
  • List item

Code: Select all

[list]
[*] List item
[*] List item
[*] List item
[/list]

Ordered lists:
  1. List item
  2. List item
  3. List item

Code: Select all

[list=1]
[*] List item
[*] List item
[*] List item
[/list]
  1. List item
  2. List item
  3. List item

Code: Select all

[list=i]
[*] List item
[*] List item
[*] List item
[/list]
  1. List item
  2. List item
  3. List item

Code: Select all

[list=I]
[*] List item
[*] List item
[*] List item
[/list]
  1. List item
  2. List item
  3. List item

Code: Select all

[list=a]
[*] List item
[*] List item
[*] List item
[/list]
  1. List item
  2. List item
  3. List item

Code: Select all

[list=A]
[*] List item
[*] List item
[*] List item
[/list]

User avatar
The G
Grease Monkey
Information
Posts: 558
Joined: 21 Jun 2009, 11:43
Location: Bucharest, Romania
Has thanked: 408 times
Been thanked: 284 times

Post by The G »

Media BBCodes


Image:
Image

Code: Select all

[img]https://generative-placeholders.glitch.me/image?width=1000&height=600&style=mondrian[/img]

Link:
https://wikipedia.org/

Code: Select all

[url]https://wikipedia.org/[/url]

Font colour:
Coloured text (You'll get swatches to choose the colour when you click on the "Font colour" button)

Code: Select all

[color=#40BF40]Coloured text[/color]

Font sizes (please use them sparingly!):
Tiny text
Small text
Normal text (removes sizing if exists)
Large text
Huge text (disabled due to abuse)


Highlighted text
I'm talking normally, when, all of a sudden, I HIGHLIGHT SOME WORDS!

Code: Select all

I'm talking normally, when, all of a sudden, [highlight]I HIGHLIGHT SOME WORDS![/highlight]

Off-topic text
I'm talking normally, when, all of a sudden, I feel the urge to blabber:
OFF-TOPIC
Blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah!

Code: Select all

I'm talking normally, when, all of a sudden, I feel the urge to blabber:
[offtopic]Blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah![/offtopic]

Overlined text:
The A output provides an inverted signal compared to the A output.

Code: Select all

The [overline]A[/overline] output provides an inverted signal compared to the A output.

Preformatted text:
Preformatted text is preserving the text spaces,
line breaks,          and other formatting characters
which are normally ignored by web browsers.
     Text in the <pre> element is displayed in a       fixed-width            font.

Code: Select all

[pre]Preformatted text is preserving the text spaces,
line breaks, and other formatting characters
which are normally ignored by web browsers.
     Text in the <pre> element is displayed in a fixed-width font.[/pre]

Strike-through:
Blah blah blah.

Code: Select all

[s]Blah blah blah.[/s]

Spoiler:
(click on the down arrow to reveal the spoiler)
Spoiler
You must be sure that you want to see this!

Code: Select all

[spoil]You must be sure that you want to see this![/spoil]

Subscript text:
(excerpt from A closer look at the Fetzer Valve)
Finally, it is possible to also calculate the source voltage Vs as:
Vs = Vp * (0.37*Vcc - 0.65*Vp) / (Vcc - 2*Vp)

Code: Select all

Finally, it is possible to also calculate the source voltage Vs as:
V[sub]s[/sub] = V[sub]p[/sub] * (0.37*V[sub]cc[/sub] - 0.65*V[sub]p[/sub]) / (V[sub]cc[/sub] - 2*V[sub]p[/sub])

Superscript text:
P = I × V = R × I2 = V2 ⁄ R

Code: Select all

P = I × V = R × I[sup]2[/sup] = V[sup]2[/sup] ⁄ R

Youtube video: Superseded by [ media ], see lower
[youtube]https ://www. youtube .com/watch?v=ZVz1N0BdTkc[/youtube]


Audio post attachment
(just uploading it using the form under the edit textarea is enough, no BBCode needed):
digitech_metal_master.mp3
(430.12 KiB) Downloaded 155 times

Code: Select all

[attachment=0]digitech_metal_master.mp3[/attachment]

User avatar
The G
Grease Monkey
Information
Posts: 558
Joined: 21 Jun 2009, 11:43
Location: Bucharest, Romania
Has thanked: 408 times
Been thanked: 284 times

Post by The G »

Smileys:

:horsey: blah blah [smilie=a_goodjob.gif] blah blah :troll: blah blah blah!

Code: Select all

 :horsey:  blah blah  [smilie=a_goodjob.gif]  blah blah :troll: blah blah blah!

User avatar
The G
Grease Monkey
Information
Posts: 558
Joined: 21 Jun 2009, 11:43
Location: Bucharest, Romania
Has thanked: 408 times
Been thanked: 284 times

Post by The G »

BBCodes not on the toolbar


Button link:
Wikipedia

Code: Select all

[buttonlink=https://wikipedia.org/, color=red]Wikipedia[/buttonlink]

Box:
(creates empty space around itself)
Some text to be showed off

Code: Select all

[box=#f0f]Some text to be showed off[/box]

User avatar
The G
Grease Monkey
Information
Posts: 558
Joined: 21 Jun 2009, 11:43
Location: Bucharest, Romania
Has thanked: 408 times
Been thanked: 284 times

Post by The G »

Media:

It supersedes BBCodes for Youtube and Soundcloud (which was patchy anyway), and also adds support for many other social media sites, like Facebook, Gifs.com, Telegram, Twitch, Twitter, and many others. So if you want to add social media to your post, try selecting your link, then clicking on one of the [ media ] buttons (you have two for your convenience :lol:) and the "Preview" button to check if it works. Chances are it will.
IMG_20210224-001657.png
IMG_20210224-001657.png (7.39 KiB) Viewed 6635 times


YouTube

Code: Select all

[media]https://www.youtube.com/watch?v=IRqilTYGLIQ[/media]    or    [media]https://www.youtube.com/v/IRqilTYGLIQ[/media]    or    [media]https://youtu.be/IRqilTYGLIQ[/media]




Twitter

Code: Select all

[media]https://twitter.com/freestompboxes/status/204232060490100736?s=20[/media]




Twitch

Code: Select all

[media]https://www.twitch.tv/videos/705259639[/media]

Post Reply