dir/wip/bbcodemaster
2010-07-01 16:48:07 -07:00

160 lines
5.2 KiB
Plaintext

http://docs.simplemachines.org/index.php?topic=57.0
Button Usage Description
[b]text[/b] Makes text bold.
[i]text[/i] Makes text italicized.
[u]text[/u] Underlines text.
[s]text[/s] Strikes out text.
[glow=red,2,50]glow[/glow] Adds a glowing effect to text. This BBCode only works with MS Internet Explorer. This is not a standard feature in any other browser.
[shadow=red,left]shadow[/shadow] Adds a shadow effect to text. This BBCode only works with MS Internet Explorer. This is not a standard feature in any other browser.
[move]text[/move] Makes the text inside move in a marquee.
[pre]text[/pre] Preformats enclosed text.
[left]left align[/left] Aligns enclosed items to the left.
[center]centered[/center] Aligns enclosed items to the center.
[right]right align[/right] Aligns enclosed items to the right.
[hr] Inserts a horizontal rule into a Post or PM. Note there is no closing tag.
[size=10pt]font size[/size] Adjusts the font size of the enclosed text.
[font=Verdana]font face[/font] Used to change the font face of the enclosed text.
[flash=200,200]http://somesite/somefile.swf[/flash] Inserts a link to an animated flash file in .swf format. Please be cautious when enabling this BBCode in your forum, since it may be a security risk.
[img]http://somesite/image.jpg[/img] Inserts an image into a Post or personal message.
[url]http://somesite/[/url]
or [url=http://somesite/]Site Name[/url] Formats a URL in a Post or personal message.
[email]someone@somesite[/email]
or [email=someone@somesite]Somename[/email] Formats an email address in a Post or personal message.
[ftp]ftp://somesite[/ftp]
or [ftp=ftp://somesite]somesite[/ftp] Formats an FTP address in a Post or personal message.
[sup]text[/sup] Formats enclosed text as a superscript.
[sub]text[/sub] Formats enclosed text as a subscript.
[tt]text[/tt] Formats enclosed text in teletype format.
[code]code[/code] Used to insert a selection of code into a Personal message or post.
[quote]text[/quote] or
[quote=Author link=http://somesite/]text[/quote] Places enclosed text in a quote box.
[list]
[li]SMF[/li]
[li]YaBB SE[/li]
[/list]
You can also use the following:
[list]
[o]circle
[O]circle
[0]circle
[*]disc
[@]disc
[+]square
[x]square
[#]square
[/list] Inserts items in list format.
For the following 3 tags: they have to be used exactly like their HTML equivalent.This is a table.
[table][/table] Inserts a table. It can't be used alone, or it has no sense!
[tr][/tr] Inserts a row into a table. This BBCode can't be used alone.
[td][/td] Inserts a column into a table. This BBCode can't be used alone.
BBCode without buttons on the interface.
Usage Description
[abbr=exemlpi gratia]eg[/abbr] Displays the full expression for the abbreviation on mouseover.
[acronym=Simple Machines Forum]SMF[/acronym] Displays the full expression for the acronym on mouseover.
[html]<br />[/html] Parses HTML code. (Only Admins can use this)
[nobbc] [/nobbc] Ignores bbcode formatting
[time]1132812640[/time] Converts a Unix Timestamp into a time recognizable by people.
[iurl]http://somesite/[/iurl] Makes a link that opens in the same window.
[anchor=test]Test[/anchor] [url=#test]Link to anchor[/url]
act me.
Introduction
This free tool allows you to easily convert BBCode formatted text (such as forum posts) to standard HTML. Unlike some converters, this will generate proper paragraph tags (instead of just using a lot of line breaks), and it utilizes CSS declarations for font sizes, color, etc. instead of their depreciated HTML tag counterparts. There are several options available, and a list of supported tags can be found below.
Enter BBCode to convert to HTML
Conversion Options
Use filenames for image alt text
Close tags properly for XHTML
Links open in new window (target="_blank")
Ignore color declarations
Ignore font type and size declarations
Protect email addresses (userATdomainDOTcom)
Supported BBCode Tags
*
Bold
[b]Hello[/b]
*
Underlined
[u]Hello[/u]
*
Italics
[i]Hello[/i]
*
Strikethrough
[s]Hello[/s]
*
Forced Linebreak
[br]
*
Colors
[color=red]Hello[/color]
*
[color=#FF0000]Hello[/color]
*
Font Size
[size=9]Hello[/size]
*
Font Type
[font=Verdana]Hello[/font]
*
Alignment
[align=left]left aligned text[/align]
*
[align=center]centered text[/align]
*
[center]centered text[/center]
*
[align=right]right aligned text[/align]
*
Quotes
[quote]Hello[/quote]
*
[quote="Name"]Hello[/quote]
*
[quote=Name]Hello[/quote]
*
Code
[code]Hello[/code] (text between code tags is not modified)
*
Unordered Lists
[list] [*]Red [*]Blue [*]Yellow [/list]
*
Ordered Lists
[list=1] [*]Red [*]Blue [*]Yellow [/list]
*
[list=a] [*]Red [*]Blue [*]Yellow [/list]
*
Links
[url]http://www.example.com/[/url]
*
[url=http://www.example.com/]Example[/url]
*
Email
[email]user@domain.com[/email]
*
[email=user@domain.com]email me[/email]
*
Images
[img]http://domain.com/image.jpg[/img]