Difference between revisions of "Basic bulletin board codes" From Online Manual

Jump to: navigation, search
m
 
Line 1: Line 1:
<div style="overflow:auto">{{#ask: [[Category:Basic Bulletin Board Code]]
+
<div style="overflow:auto">
|mainlabel=tag
 
|?BBC_button=button
 
|?BBC_example=example
 
|?BBC_result=result
 
}}</div>[[Category:Lists of Bulletin Board Codes]]
 
  
 +
{|
 +
!width="25%"| tag
 +
!width="25%"| button
 +
!width="25%"| example
 +
!width="25%"| result
 +
|-
 +
| [[B|B]]
 +
| [[File:Bold.gif]]]
 +
| [b]text or more BB Code[/b]
 +
| '''text or more BB Code'''
 +
|-
 +
| [[Center|Center]]
 +
| [[File:Center.gif|23x22px|class=thumbborder|Center.gif]]]
 +
| [center]blocks, text or more BB Code[/center]
 +
| blocks, text or more BB Code
 +
|-
 +
| [[Code|Code]]
 +
| [[File:Code.gif|23x22px|class=thumbborder|Code.gif]]]
 +
|
 +
[code]<br />
  
For more information about how to correctly nest BBcode, please go to [[Bulletin_board_code|the Bulletin board code]] wiki page.
+
if (node.attributes[i].nodeValue != null)<br />
 +
str += ' ' + node.attributes[i].nodeName + '="' + node.attributes[i].nodeValue + '"';<br />
 +
 
 +
 
 +
[/code]
 +
|
 +
<div class="code">
 +
 
 +
<pre>if (node.attributes[i].nodeValue != null)
 +
str += ' ' + node.attributes[i].nodeName + '="' + node.attributes[i].nodeValue + '"';</pre>
 +
 
 +
</div>
 +
|-
 +
| [[Email|Email]]
 +
| [[File:Email.gif|23x22px|class=thumbborder|Email.gif]]
 +
| [email][email protected][/email]
 +
| [https://web.archive.org/mailto:[email protected] mailto:[email protected]]
 +
|-
 +
| [[Flash|Flash]]
 +
| [[File:Flash.gif|23x22px|class=thumbborder|Flash.gif]]
 +
| [flash=200, 200]http://somefile.swf[/flash]
 +
|
 +
 
 +
|-
 +
| [[Font|Font]]
 +
|
 +
 
 +
| [font=Times, Times New Roman, serif]text or more BB Code[/font]
 +
| <span class="bbc_font" style="font-family: Times, Times New Roman, serif;">text or more BB Code</span>
 +
|-
 +
| [[Ftp|Ftp]]
 +
| [[File:Ftp.gif|23x22px|class=thumbborder|Ftp.gif]]
 +
| [ftp=ftp://somedomain.com]text or more BB Code[/ftp], [ftp]ftp://somedomain.com[/ftp]
 +
| [https://web.archive.org/ftp://somedomain.com/ text or more BB Code], [https://web.archive.org/ftp://somedomain.com/ ftp://somedomain.com]
 +
|-
 +
| [[Glow|Glow]]
 +
| [[File:Glow.gif|23x22px|class=thumbborder|Glow.gif]]
 +
| [glow=orange,2]text or more BB Code[/glow]
 +
| <span style="text-shadow: orange 1px 1px 1px">text or more BB Code</span>
 +
|-
 +
| [[Hr|Hr]]
 +
| [[File:Hr.gif|23x22px|class=thumbborder|Hr.gif]]
 +
| [hr]
 +
|
 +
 
 +
-----
 +
|-
 +
| [[I|I]]
 +
| [[File:Italicize.gif|23x22px|class=thumbborder|Italicize.gif]]
 +
| [i]text or more BB Code[/i]
 +
| ''text or more BB Code''
 +
|-
 +
| [[Img|Img]]
 +
| [[File:Img.gif|23x22px|class=thumbborder|Img.gif]]
 +
| [img width=30px]http://wiki.simplemachines.org/skins/common/images/button_media.png http://wiki.simplemachines.org/skins/common/images/button_media.png[/img]
 +
| [[File:Button_media.png|30x29px|Button media.png]]
 +
|-
 +
| [[Iurl|Iurl]]
 +
|
 +
 
 +
| [iurl]http://simplemachines.org[/iurl]
 +
| [https://web.archive.org/http://simplemachines.org/ http://simplemachines.org]
 +
|-
 +
| [[Left|Left]]
 +
| [[File:Left.gif|23x22px|class=thumbborder|Left.gif]]
 +
| [left]blocks, text or more BB Code[/left]
 +
|
 +
<div style="text-align: left;">
 +
 
 +
blocks, text or more BB Code
 +
 
 +
</div>
 +
|-
 +
| [[List|List]]
 +
| [[File:List.gif|23x22px|class=thumbborder|List.gif]]
 +
| [list type=lower-greek] [li]list item (see [[Li|li]])[/li] [li]another list item[/li] [/list]
 +
|
 +
# list item (see [[Li|li]])
 +
# another list item
 +
|-
 +
| [[Move|Move]]
 +
| [[File:Move.gif|23x22px|class=thumbborder|Move.gif]]
 +
| [move]text or BBc[/move]
 +
| <marquee>text or BBc</marquee>
 +
|-
 +
| [[Nobbc|Nobbc]]
 +
|
 +
 
 +
| [nobbc][b]BB Code[/b][/nobbc]
 +
| [b]BB Code[/b]
 +
|-
 +
| [[Pre|Pre]]
 +
| [[File:Pre.gif|23x22px|class=thumbborder|Pre.gif]]
 +
| [pre]example text[/pre]
 +
|
 +
<pre>example text</pre>
 +
|-
 +
| [[Quote|Quote]]
 +
| [[File:Quote.gif|23x22px|class=thumbborder|Quote.gif]]
 +
| [quote]blocks, text or more BB Code[/quote]
 +
|
 +
<div style="color:#666;font-size:x-small;font-weight:bold;padding:0 0.3em;">
 +
 
 +
Quote
 +
 
 +
</div>
 +
<blockquote><div class="floatnone">
 +
 
 +
[[File:Quote.png|20x16px]]
 +
 
 +
</div>
 +
blocks, text or more BB Code</blockquote>
 +
|-
 +
| [[Right|Right]]
 +
| [[File:Right.gif|23x22px|class=thumbborder|Right.gif]]
 +
| [right]blocks, text or more BB Code[/right]
 +
|
 +
<div style="text-align: right;">
 +
 
 +
blocks, text or more BB Code
 +
 
 +
</div>
 +
|-
 +
| [[S|S]]
 +
| [[File:Strike.gif|23x22px|class=thumbborder|Strike.gif]]
 +
| [s]text or more BB Code[/s]
 +
| <s>text or more BB Code</s>
 +
|-
 +
| [[Size|Size]]
 +
| [[File:Size.gif|23x22px|class=thumbborder|Size.gif]]
 +
| [size=x-large]text or more BB Code[/size]
 +
| <span class="bbc_size" style="font-size: x-large;">text or more BB Code</span>
 +
|-
 +
| [[Sub|Sub]]
 +
| [[File:Sub.gif|23x22px|class=thumbborder|Sub.gif]]
 +
| normal[sub]subscript[/sub]
 +
| normal<sub>subscript</sub>
 +
|-
 +
| [[Sup|Sup]]
 +
| [[File:Sup.gif|23x22px|class=thumbborder|Sup.gif]]
 +
| normal[sup]superscript[/sup]
 +
| normal<sup>superscript</sup>
 +
|-
 +
| [[Table|Table]]
 +
| [[File:Table.gif|23x22px|class=thumbborder|Table.gif]]
 +
| [table]<br />
 +
 [tr][td]text[/td][td]or more[/td][/tr]<br />
 +
 [tr][td]BB[/td][td]Code[/td][/tr]<br />
 +
[/table]
 +
|
 +
{|
 +
| text
 +
| or more
 +
|-
 +
| BB
 +
| Code
 +
|}
 +
|-
 +
| [[Td|Td]]
 +
| [[File:Td.gif|23x22px|class=thumbborder|Td.gif]]
 +
| [table]<br />
 +
 [tr][td]text[/td][/tr]<br />
 +
[/table]
 +
|
 +
{|
 +
| text
 +
|}
 +
|-
 +
| [[Tr|Tr]]
 +
| [[File:Tr.gif|23x22px|class=thumbborder|Tr.gif]]
 +
| [table]<br />
 +
 [tr][td]text[/td][td]or more[/td][/tr]<br />
 +
[/table]
 +
|
 +
{|
 +
| text
 +
| or more
 +
|}
 +
|-
 +
| [[Tt|Tt]]
 +
| [[File:Tele.gif|23x22px|class=thumbborder|Tele.gif]]
 +
| [tt]text or more BB Code[/tt]
 +
| <span style="font-family: dejavu sans mono,monaco,lucida console,courier new,monospace;">text text or more BB Code</span>
 +
|-
 +
| [[U|U]]
 +
| [[File:Underline.gif|23x22px|class=thumbborder|Underline.gif]]
 +
| [u]text or more BB Code[/u]
 +
| text or more BB Code
 +
|-
 +
| [[Url|Url]]
 +
| [[File:Url.gif|23x22px|class=thumbborder|Url.gif]]
 +
| [url=[https://simplemachines.org/ https://simplemachines.org]]text or more BB Code[/url]
 +
| <span class="pops">[https://simplemachines.org/ text or more BB Code]</span>
 +
|}

Latest revision as of 17:31, 11 January 2022

tag button example result
B Bold.gif] [b]text or more BB Code[/b] text or more BB Code
Center Center.gif] [center]blocks, text or more BB Code[/center] blocks, text or more BB Code
Code Code.gif]

[code]

if (node.attributes[i].nodeValue != null)
str += ' ' + node.attributes[i].nodeName + '="' + node.attributes[i].nodeValue + '"';


[/code]

if (node.attributes[i].nodeValue != null)
str += ' ' + node.attributes[i].nodeName + '="' + node.attributes[i].nodeValue + '"';
Email Email.gif [email][email protected][/email] mailto:[email protected]
Flash Flash.gif [flash=200, 200]http://somefile.swf[/flash]
Font [font=Times, Times New Roman, serif]text or more BB Code[/font] text or more BB Code
Ftp Ftp.gif [ftp=ftp://somedomain.com]text or more BB Code[/ftp], [ftp]ftp://somedomain.com[/ftp] text or more BB Code, ftp://somedomain.com
Glow Glow.gif [glow=orange,2]text or more BB Code[/glow] text or more BB Code
Hr Hr.gif [hr]
I Italicize.gif [i]text or more BB Code[/i] text or more BB Code
Img Img.gif [img width=30px]http://wiki.simplemachines.org/skins/common/images/button_media.png http://wiki.simplemachines.org/skins/common/images/button_media.png[/img] Button media.png
Iurl [iurl]http://simplemachines.org[/iurl] http://simplemachines.org
Left Left.gif [left]blocks, text or more BB Code[/left]

blocks, text or more BB Code

List List.gif [list type=lower-greek] [li]list item (see li)[/li] [li]another list item[/li] [/list]
  1. list item (see li)
  2. another list item
Move Move.gif [move]text or BBc[/move] <marquee>text or BBc</marquee>
Nobbc [nobbc][b]BB Code[/b][/nobbc] [b]BB Code[/b]
Pre Pre.gif [pre]example text[/pre]
example text
Quote Quote.gif [quote]blocks, text or more BB Code[/quote]

Quote

Quote.png

blocks, text or more BB Code

Right Right.gif [right]blocks, text or more BB Code[/right]

blocks, text or more BB Code

S Strike.gif [s]text or more BB Code[/s] text or more BB Code
Size Size.gif [size=x-large]text or more BB Code[/size] text or more BB Code
Sub Sub.gif normal[sub]subscript[/sub] normalsubscript
Sup Sup.gif normal[sup]superscript[/sup] normalsuperscript
Table Table.gif [table]

 [tr][td]text[/td][td]or more[/td][/tr]
 [tr][td]BB[/td][td]Code[/td][/tr]
[/table]

text or more
BB Code
Td Td.gif [table]

 [tr][td]text[/td][/tr]
[/table]

text
Tr Tr.gif [table]

 [tr][td]text[/td][td]or more[/td][/tr]
[/table]

text or more
Tt Tele.gif [tt]text or more BB Code[/tt] text text or more BB Code
U Underline.gif [u]text or more BB Code[/u] text or more BB Code
Url Url.gif [url=https://simplemachines.org]text or more BB Code[/url] text or more BB Code