Math Is Fun Forum

  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

You are not logged in.

#1 2023-11-15 01:57:53

Bob
Administrator
Registered: 2010-06-20
Posts: 10,626

bbcode help

BBCode

Note: I was surprised to discover that this page has always existed elsewhere on the forum but I could not find a way to make it easy to find nor could I edit it.  So I have copied the whole text to a new post and put it here. I am in the process of editing the original  so that it is fully user friendly.  At the moment the results of codes appear twice rather showing how to get an effect. It'll take me a while to modify all of these so they display properly but the smilies at the bottom are all done. New smilies will be added as I 'find' them. If you find more then you can reply to this post with what you have discovered.  I will add to the list and then delete your post.  This is so the thread does not become over long like the LaTex thread.  My thanks to amnkb for the original suggestion.

BBCode is a collection of formatting tags that are used to change the look of text in this forum. BBCode is based on the same principal as, and is very similar to, HTML. Below is a list of all the available BBCodes and instructions on how to use them.

Administrators have the ability to enable or disable BBCode. You can tell if BBCode is enabled or disabled out in the left margin whenever you post a message or edit your signature.

BBCode commands start with a command in square brackets and must be terminated with / then the command also in square brackets.

For example you can achieve bold text like this:

[b]bold text[/b]

Text style
The following tags change the appearance of text:

b  produces Bold text                   Bold text

u produces Underlined text           Underlined text

i produces Italic text                     Italic text

s produces Strike-through text      Strike-through text

del produces Deleted text            Deleted text

ins produces Inserted text            Inserted text

em produces Emphasised text      Emphasised text

color = #FF0000 produces  red text         Red text

color = blue produces Blue text               Blue text

Many other colours are also possible. I'll leave you to experiment.

h produces Heading text                         

Heading text

Links and images
You can create links to other documents or to email addresses using the following tags:

Math Is Fun Forum produces Math Is Fun Forum

http://www.mathisfunforum.com/ produces http://www.mathisfunforum.com/

This help page produces This help page

[email protected] produces [email protected]

My email address produces My email address



[topic=1]Test topic[/topic] produces Test topic

[topic]1[/topic] produces http://www.mathisfunforum.com/viewtopic.php?id=1

[post=1]Test post[/post] produces Test post

[post]1[/post] produces http://www.mathisfunforum.com/viewtopic.php?pid=1#p1

[forum=1]Test forum[/forum] produces Test forum

[forum]1[/forum] produces http://www.mathisfunforum.com/viewforum.php?id=1

[user=2]Test user[/user] produces Test user

[user]2[/user] produces http://www.mathisfunforum.com/profile.php?id=2

If you want to display an image you can use the img tag. The text appearing after the "=" sign in the opening tag is used for the alt attribute and should be included whenever possible.

FluxBB bbcode test produces FluxBB bbcode test

Quotes
If you want to quote someone, you should use the quote tag.

James wrote:

This is the text I want to quote.

produces a quote box like this:

James wrote:
This is the text I want to quote.

If you don't want to quote anyone in particular, you can use the quote tag without specifying a name.

This is the text I want to quote.

produces a quote box like this:

This is the text I want to quote.

Note: If a username contains the characters [ or ] you can enclose it in quote marks.

Code
When displaying source code you should make sure that you use the code tag. Text displayed with the code tag will use a monospaced font and will not be affected by other tags.

This is some code.

produces a code box like this:

This is some code.
Lists
To create a list you can use the list tag. You can create 3 types of lists using the list tag.

[list=*]
[*]Example list item 1.[/*]
[*]Example list item 2.[/*]
[*]Example list item 3.[/*]
[/list]
produces a bulleted list.

Example list item 1.

Example list item 2.

Example list item 3.

[list=1]
[*]Example list item 1.[/*]
[*]Example list item 2.[/*]
[*]Example list item 3.[/*]
[/list]
produces a numbered list.

Example list item 1.

Example list item 2.

Example list item 3.

[list=a]
[*]Example list item 1.[/*]
[*]Example list item 2.[/*]
[*]Example list item 3.[/*]
[/list]
produces an alphabetically labelled list.

Example list item 1.

Example list item 2.

Example list item 3.

Nested tags
BBCode can be nested to create more advanced formatting. For example:

Bold, underlined text produces Bold, underlined text

Smilies

If you like (and if it is enabled), the forum can convert some smilies to image representations of that smiley. This forum recognizes the following smilies and replaces them with images.

:) and =) produce 

smile

:| and =| produce 

neutral

:( and =( produce 

sad

:D and =D produce 

big_smile

:o and :O produce 

yikes

;) produces

wink

:/ produces

hmm

:P and :p

produce tongue

:lol: produces

lol

:mad: produces

mad

:rolleyes: produces

roll

:cool: produces

cool

:dizzy produces

dizzy

:eek  produces

eek

:kiss produces

kiss

:roflol produces

roflol

:shame produces

shame

:down produces

down

:up produces

up

:touched produces

touched

:sleep produces

sleep

:wave produces

wave

:swear produces

swear

:tongue produces

tongue

:what produces

what

:faint produces

faint

:dunno produces

dunno

My thanks to phrontister for these additions to the original list.   

Bob, 15th November 2023


Children are not defined by school ...........The Fonz
You cannot teach a man anything;  you can only help him find it within himself..........Galileo Galilei
Sometimes I deliberately make mistakes, just to test you!  …………….Bob smile

Offline

#2 2023-11-15 03:45:32

amnkb
Member
Registered: 2023-09-19
Posts: 253

Re: bbcode help

thanks!
up

Offline

#3 2023-11-15 14:21:17

Jai Ganesh
Administrator
Registered: 2005-06-28
Posts: 48,425

Re: bbcode help

Hi,

Thanks for the detailed post, Bob.


It appears to me that if one wants to make progress in mathematics, one should study the masters and not the pupils. - Niels Henrik Abel.

Nothing is better than reading and gaining more and more knowledge - Stephen William Hawking.

Offline

#4 2023-11-15 15:17:26

phrontister
Real Member
From: The Land of Tomorrow
Registered: 2009-07-12
Posts: 4,884

Re: bbcode help

Hi Bob;

Great work!

A couple of things:

I'd change

:P and :p

produce tongue

to

:P and :p produce 

tongue

and include

:rolleyes produces 

rolleyes

...and probably also 'BBCode help' instead of 'bbcode help' in the thread title.

Last edited by phrontister (2023-11-15 15:21:10)


"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." - Ted Nelson

Offline

Board footer

Powered by FluxBB