Template:Wordy bbc: Difference between revisions From Online Manual

Jump to: navigation, search
No edit summary
(updated page)
Line 1: Line 1:
{{#if: {{{tag|}}}|{{DISPLAYTITLE:{{{tag|}}}}}|}}<!--
<div style="overflow:auto">
-->{{#if: {{{tag|}}}|{{#if: {{{wikiheader|}}}|{{
#switch: {{{wikiheader}}}
|1=={{ucfirst:{{{tag}}}}}=
|2==={{ucfirst:{{{tag}}}}}==
|3===={{ucfirst:{{{tag}}}}}===
|4===== {{ucfirst:{{{tag}}}}}====
|#default
}}
__NOEDITSECTION__ }}
{{#if: {{{button|}}}|<p>'''button''': [[File:{{{button}}}]]</p>|}}<!--
-->{{#if: {{{type|}}}|<p>'''type''': {{
#switch: {{{type}}}
|unparsed_equals= <nowiki>[</nowiki>{{{tag}}}<nowiki>=xyz]parsed content[/</nowiki>{{{tag}}}<nowiki>]</nowiki>
|empty= <nowiki>[</nowiki>{{{tag}}}<nowiki>]</nowiki>
|parsed_equals= <nowiki>[</nowiki>{{{tag}}}<nowiki>=parsed data]parsed content[/</nowiki>{{{tag}}}<nowiki>]</nowiki>
|unparsed_content= <nowiki>[</nowiki>{{{tag}}}<nowiki>]unparsed content[/</nowiki>{{{tag}}}<nowiki>]</nowiki>
|closed= <nowiki>[</nowiki>{{{tag}}}<nowiki>]</nowiki>, <nowiki>[</nowiki>{{{tag}}}<nowiki>/]</nowiki>, <nowiki>[</nowiki>{{{tag}}}<nowiki> /]</nowiki>
|unparsed_commas= <nowiki>[</nowiki>{{{tag}}}<nowiki>=1,2,3]parsed content[/</nowiki>{{{tag}}}<nowiki>]</nowiki>
|unparsed_commas_content= <nowiki>[</nowiki>{{{tag}}}<nowiki>=1,2,3]unparsed content[/</nowiki>{{{tag}}}<nowiki>]</nowiki>
|unparsed_equals_content= <nowiki>[</nowiki>{{{tag}}}<nowiki>=...]unparsed content[/</nowiki>{{{tag}}}<nowiki>]</nowiki>
|parsedcontent
|parsed content= <nowiki>[</nowiki>{{{tag}}}<nowiki>]parsed content[/</nowiki>{{{tag}}}<nowiki>]</nowiki>
|#default=}}</p>|}}<!-- end if type-->{{
#if: {{{description|}}}|


<p>
{|
!width="25%"| tag
!width="25%"| button
!width="25%"| example
!width="25%"| result
|-
| [https://wiki.simplemachines.org/smf/Abbr Abbr]
|


'''description''': {{{description}}}</p>|}}<!--
| [abbr="a.k.a. [Unknown]"]Unknown W. Brackets[/abbr]
-->{{#if: {{{parameters|}}}|<p>'''parameters''':</p>{{{parameters}}}|}}<!--
| Unknown W. Brackets;
-->{{#if: {{{example|}}}|<p>'''example''': {{{example}}}</p>|}}<!--
|-
-->{{#if: {{{result|}}}|<p>'''result''': {{{result}}} </p>|}}<!--
| [https://wiki.simplemachines.org/smf/Acronym Acronym]
|


-->|'''Template must be given a tag}}
| [acronym=Simple Machines Forum]SMF[/acronym]
<noinclude>{{documentation}}</noinclude>
| SMF
|-
| [https://wiki.simplemachines.org/smf/Anchor Anchor]
|
 
| [anchor=id]text or more BB Code[/anchor];
| <span id="post_id">text or more BB Code</span>
|-
| [https://wiki.simplemachines.org/smf/B B]
| [[File:Bold.gif|23x22px|class=thumbborder|Bold.gif]]
| [b]text or more BB Code[/b]
| '''text or more BB Code'''
|-
| [https://wiki.simplemachines.org/smf/Bdo Bdo]
|
 
| Here is some text in the default direction and [bdo=rtl]Here is some right-to-left text[/bdo]
| Here is some text in the default direction and <span style="direction:rtl; unicode-bidi:bidi-override;">Here is some right-to-left text</span>
|-
| [https://wiki.simplemachines.org/smf/Black Black]
|
 
| [black]text or more BB Code[/black]
| <span style="color: black;">text or more BB Code</span>
|-
| [https://wiki.simplemachines.org/smf/Blue Blue]
|
 
| [blue]text or more BB Code[/blue]
| <span style="color: blue;">text or more BB Code</span>
|-
| [https://wiki.simplemachines.org/smf/Br Br]
|
 
| text[br]text
| text<br />
text
|-
| [https://wiki.simplemachines.org/smf/Center Center]
| [[File:Center.gif|23x22px|class=thumbborder|Center.gif]]
| [center]blocks, text or more BB Code[/center]
| blocks, text or more BB Code
|-
| [https://wiki.simplemachines.org/smf/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>
|-
| [https://wiki.simplemachines.org/smf/Color Color]
|
 
| [color=fuchsia]text or more BB Code[/color]
| <span style="color: fuchsia;">text or more BB Code</span>
|-
| [https://wiki.simplemachines.org/smf/Email Email]
| [[File:Email.gif|23x22px|class=thumbborder|Email.gif]]
| [email][email protected][/email]
|-
| [https://wiki.simplemachines.org/smf/Flash Flash]
| [[File:Flash.gif|23x22px|class=thumbborder|Flash.gif]]
| [flash=200, 200]http://somefile.swf[/flash]
|
 
|-
| [https://wiki.simplemachines.org/smf/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>
|-
| [https://wiki.simplemachines.org/smf/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]
| [ftp://somedomain.com/ text or more BB Code], [ftp://somedomain.com/ ftp://somedomain.com]
|-
| [https://wiki.simplemachines.org/smf/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>
|-
| [https://wiki.simplemachines.org/smf/Green Green]
|
 
| [green]text or more BB Code[/green]
| <span style="color: green;">text or more BB Code</span>
|-
| [https://wiki.simplemachines.org/smf/HTML HTML]
|
 
| [html]<em>Direct <del>html</del> <ins>HTML</ins> output</em>[/html]
|
Direct <s>html</s>
HTML
output
|-
| [https://wiki.simplemachines.org/smf/Hr Hr]
| [[File:Hr.gif|23x22px|class=thumbborder|Hr.gif]]
| [hr]
|
 
-----
|-
| [https://wiki.simplemachines.org/smf/I I]
| [[File:Italicize.gif|23x22px|class=thumbborder|Italicize.gif]]
| [i]text or more BB Code[/i]
| ''text or more BB Code''
|-
| [https://wiki.simplemachines.org/smf/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]]
|-
| [https://wiki.simplemachines.org/smf/Iurl Iurl]
|
 
| [iurl]http://simplemachines.org[/iurl]
| [http://simplemachines.org/ http://simplemachines.org]
|-
| [https://wiki.simplemachines.org/smf/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>
|-
| [https://wiki.simplemachines.org/smf/Li Li]
|
 
| [li]text or bbc code of a list item[/li]
|
* text or bbc code of a list item
|-
| [https://wiki.simplemachines.org/smf/List List]
| [[File:List.gif|23x22px|class=thumbborder|List.gif]]
| [list type=lower-greek] [li]list item (see [https://wiki.simplemachines.org/smf/Li li])[/li] [li]another list item[/li] [/list]
|
# list item (see [https://wiki.simplemachines.org/smf/Li li])
# another list item
|-
| [https://wiki.simplemachines.org/smf/Ltr Ltr]
|
 
| [ltr]text or more BB Code[/ltr]
|
<div style="direction: ltr">
 
blocks, text or more BB Code
 
</div>
|-
| [https://wiki.simplemachines.org/smf/Me Me]
|
 
| [me=username]does an action[/me]
|
<div style="color:red">
 
* username does an action
 
</div>
|-
| [https://wiki.simplemachines.org/smf/Move Move]
| [[File:Move.gif|23x22px|class=thumbborder|Move.gif]]
| [move]text or BBc[/move]
| <marquee>text or BBc</marquee>
|-
| [https://wiki.simplemachines.org/smf/Nobbc Nobbc]
|
 
| [nobbc][b]BB Code[/b][/nobbc]
| [b]BB Code[/b]
|-
| [https://wiki.simplemachines.org/smf/Php Php]
|
 
| [php]<?php echo "Hello world!"; ?>[/php]
| <span class="phpcode"><span style="color: #000000"><span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #DD0000">"Hello world!"</span><span style="color: #007700">; </span><span style="color: #0000BB">?></span></span></span>
|-
| [https://wiki.simplemachines.org/smf/Pre Pre]
| [[File:Pre.gif|23x22px|class=thumbborder|Pre.gif]]
| [pre]example text[/pre]
|
<pre>example text</pre>
|-
| [https://wiki.simplemachines.org/smf/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">
 
[https://wiki.simplemachines.org/smf/File:Quote.png [[File:Quote.png|20x16px]]]
 
</div>
blocks, text or more BB Code</blockquote>
|-
| [https://wiki.simplemachines.org/smf/Red Red]
|
 
| [red]text or more BB Code[/red]
| <span style="color: red;">text or more BB Code</span>
|-
| [https://wiki.simplemachines.org/smf/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>
|-
| [https://wiki.simplemachines.org/smf/Rtl Rtl]
|
 
| [rtl]blocks, text or more BB Code![/rtl]
|
<div style="text-align:right;direction: rtl">
 
blocks, text or more BB Code!
 
</div>
|-
| [https://wiki.simplemachines.org/smf/S S]
| [[File:Strike.gif|23x22px|class=thumbborder|Strike.gif]]
| [s]text or more BB Code[/s]
| <s>text or more BB Code</s>
|-
| [https://wiki.simplemachines.org/smf/Shadow Shadow]
| [[File:Shadow.gif|23x22px|class=thumbborder|Shadow.gif]]
| [shadow=red,left]Hello[/shadow]
| <span style="text-shadow: red -2px 0 1px">Hello</span>
|-
| [https://wiki.simplemachines.org/smf/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>
|-
| [https://wiki.simplemachines.org/smf/Sub Sub]
| [[File:Sub.gif|23x22px|class=thumbborder|Sub.gif]]
| normal[sub]subscript[/sub]
| normal<sub>subscript</sub>
|-
| [https://wiki.simplemachines.org/smf/Sup Sup]
| [[File:Sup.gif|23x22px|class=thumbborder|Sup.gif]]
| normal[sup]superscript[/sup]
| normal<sup>superscript</sup>
|-
| [https://wiki.simplemachines.org/smf/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
|}
|-
| [https://wiki.simplemachines.org/smf/Td Td]
| [[File:Td.gif|23x22px|class=thumbborder|Td.gif]]
| [table]<br />
[tr][td]text[/td][/tr]<br />
[/table]
|
{|
| text
|}
|-
| [https://wiki.simplemachines.org/smf/Time Time]
|
 
| [time]1132812640[/time]
| 24 November 2005, 07:10:40
|-
| [https://wiki.simplemachines.org/smf/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
|}
|-
| [https://wiki.simplemachines.org/smf/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>
|-
| [https://wiki.simplemachines.org/smf/U U]
| [[File:Underline.gif|23x22px|class=thumbborder|Underline.gif]]
| [u]text or more BB Code[/u]
| text or more BB Code
|-
| [https://wiki.simplemachines.org/smf/URL URL]
| [[File:Url.gif|23x22px|class=thumbborder|Url.gif]]
| [url=[http://simplemachines.org/ http://simplemachines.org]]text or more BB Code[/url]
| <span class="pops">[http://simplemachines.org/ text or more BB Code]</span>
|-
| [https://wiki.simplemachines.org/smf/White White]
|
 
| [white][shadow=black,right]text or more BB Code[/shadow][/white]
| <span style="color: white;text-shadow: black 2px 0 1px">text or more BB Code</span>
|}
 
 
</div>

Revision as of 22:25, 10 January 2022

tag button example result
Abbr [abbr="a.k.a. [Unknown]"]Unknown W. Brackets[/abbr] Unknown W. Brackets;
Acronym [acronym=Simple Machines Forum]SMF[/acronym] SMF
Anchor [anchor=id]text or more BB Code[/anchor]; text or more BB Code
B Bold.gif [b]text or more BB Code[/b] text or more BB Code
Bdo Here is some text in the default direction and [bdo=rtl]Here is some right-to-left text[/bdo] Here is some text in the default direction and Here is some right-to-left text
Black [black]text or more BB Code[/black] text or more BB Code
Blue [blue]text or more BB Code[/blue] text or more BB Code
Br text[br]text text

text

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 + '"';
Color [color=fuchsia]text or more BB Code[/color] text or more BB Code
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
Green [green]text or more BB Code[/green] text or more BB Code
HTML [html]Direct html HTML output[/html]

Direct html HTML output

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[/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

Li [li]text or bbc code of a list item[/li]
  • text or bbc code of a list item
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
Ltr [ltr]text or more BB Code[/ltr]

blocks, text or more BB Code

Me [me=username]does an action[/me]
  • username does an action
Move Move.gif [move]text or BBc[/move] <marquee>text or BBc</marquee>
Nobbc [nobbc][b]BB Code[/b][/nobbc] [b]BB Code[/b]
Php [php]<?php echo "Hello world!"; ?>[/php] <?php echo "Hello world!"; ?>
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

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

blocks, text or more BB Code

Rtl [rtl]blocks, text or more BB Code![/rtl]

blocks, text or more BB Code!

S Strike.gif [s]text or more BB Code[/s] text or more BB Code
Shadow Shadow.gif [shadow=red,left]Hello[/shadow] Hello
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
Time [time]1132812640[/time] 24 November 2005, 07:10:40
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=http://simplemachines.org]text or more BB Code[/url] text or more BB Code
White [white][shadow=black,right]text or more BB Code[/shadow][/white] text or more BB Code




Advertisement: