(Basic Bulletin Board Code -- almost like the original article) |
No edit summary |
||
(11 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{ | <div style="overflow:auto"> | ||
| | |||
| | {| | ||
| | !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 /> | |||
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 22:31, 11 January 2022
tag | button | example | result | ||||
---|---|---|---|---|---|---|---|
B | ] | [b]text or more BB Code[/b] | text or more BB Code | ||||
Center | ] | [center]blocks, text or more BB Code[/center] | blocks, text or more BB Code | ||||
Code | ] |
[code] if (node.attributes[i].nodeValue != null)
|
if (node.attributes[i].nodeValue != null) str += ' ' + node.attributes[i].nodeName + '="' + node.attributes[i].nodeValue + '"'; | ||||
[email][email protected][/email] | mailto:[email protected] | ||||||
Flash | [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=ftp://somedomain.com]text or more BB Code[/ftp], [ftp]ftp://somedomain.com[/ftp] | text or more BB Code, ftp://somedomain.com | |||||
Glow | [glow=orange,2]text or more BB Code[/glow] | text or more BB Code | |||||
Hr | [hr] |
| |||||
I | [i]text or more BB Code[/i] | text or more BB Code | |||||
Img | [img width=30px]http://wiki.simplemachines.org/skins/common/images/button_media.png http://wiki.simplemachines.org/skins/common/images/button_media.png[/img] | ||||||
Iurl | [iurl]http://simplemachines.org[/iurl] | http://simplemachines.org | |||||
Left | [left]blocks, text or more BB Code[/left] |
blocks, text or more BB Code | |||||
List | [list type=lower-greek] [li]list item (see li)[/li] [li]another list item[/li] [/list] |
| |||||
Move | [move]text or BBc[/move] | <marquee>text or BBc</marquee> | |||||
Nobbc | [nobbc][b]BB Code[/b][/nobbc] | [b]BB Code[/b] | |||||
Pre | [pre]example text[/pre] |
example text | |||||
Quote | [quote]blocks, text or more BB Code[/quote] |
Quote
| |||||
Right | [right]blocks, text or more BB Code[/right] |
blocks, text or more BB Code | |||||
S | [s]text or more BB Code[/s] | ||||||
Size | [size=x-large]text or more BB Code[/size] | text or more BB Code | |||||
Sub | normal[sub]subscript[/sub] | normalsubscript | |||||
Sup | normal[sup]superscript[/sup] | normalsuperscript | |||||
Table | [table] [tr][td]text[/td][td]or more[/td][/tr] |
| |||||
Td | [table] [tr][td]text[/td][/tr] |
| |||||
Tr | [table] [tr][td]text[/td][td]or more[/td][/tr] |
| |||||
Tt | [tt]text or more BB Code[/tt] | text text or more BB Code | |||||
U | [u]text or more BB Code[/u] | text or more BB Code | |||||
Url | [url=https://simplemachines.org]text or more BB Code[/url] | text or more BB Code |