schliessen
| Neuigkeiten | Content | Diskussion | Obligatorisches | System | [ ^ ] |
| Einloggen / Registrieren | Wer ist online? | neue Mitglieder | neue Forenthemen | allgemeine Suche |
 
» Diskussion » . » Kommentaruebersicht » DISKUSSIONSFORUM » Bugs, Leaks, Wünsche & Kritiken » BB-Code Test

Forenfunktionen:

> [ Kommentare: Anmelden / registrieren | als Mail versenden | Vorheriges Thema | Druckversion | 221 Abrufe ]
> Benutzerliste anzeigen

BB-Code Test

Gepostet am: 12 Juli, 2006 - 07:24 von V∆ļŧîæÅ
V∆ļŧîæÅs Benuterbild

Administrator

Mitglied seit:
2005-06-15


Beiträge bisher
(Threads & Content):

2699

This document uses (almost) all BBCode tags supported by Drupal's BBCode module. You can cut and paste this document into a node to test Drupal's BBCode implementation or to perform some benchmarks.

[h3]Normal text formatting:[/h3]
Test bold text
Test italic text
Test underlined text
Test [s]strikeout[/s] text
Test subscript text - H[sub]2[/sub]O
Test superscript text - X[sup]3[/sup]

[h3]Font colors:[/h3]
Test blue text
Test red text
Test green text
Test #eeff00 text

[h3]Font sizes:[/h3]
Test 1px - too small, normalized to 6px
Test 12px text
Test 24px text
Test 100px - too big, normalized to 48px

[h3]Font faces:[/h3]
Test Arial typeface text
Test Arial typeface text
Test Courier typeface text
Test Courier New typeface text
Test Impact typeface text
Test Helvetica typeface text
Test Times New Roman typeface text
Test Verdana typeface text

[h3]Text alignment:[/h3]

Left hand side of the screen

Right hand side of the screen

Centered

[justify]This paragraph is justified on both sided on the page. By default most browsers render text with a jagged right edge. If you want all text rendered like in a book with an even right edge you can use the justify tag.[/justify]

[h3]Images:[/h3]

Normal image:

Float image right:

Re-sized image:

[h3]Let's test some URLs:[/h3]
www.test-url.com
ftp.test-url.com
http://test-url.com/~user/,part,of,url
ftp://test-url.com:8080/
http://test-url.com/
Test URL

Anchor (bookmark you can link to):
[anchor=TEST]URL Anchor[/anchor]

Some URL's within a sentence: http://url1.com; www.url2.com, (www.url3.com) and www.url4.com. And some more: ftp://url5.com/, (ftp.url6.com/) and ftp.url7.com.

Google link: [google]BBCode[/google]
Wikipedia link: [wikipedia]BBCode[/wikipedia]

[h3]Let's test some E-mail addresses:[/h3]



[h3]Test headings:[/h3]
[h1]Level 1 Heading[/h1]
[h2]Level 2 Heading[/h2]
[h3]Level 3 Heading[/h3]
[h4]Level 4 Heading[/h4]

[h3]Test acronyms and abbreviations:[/h3]
Abbreviations:
[abbr=Application Programming Interface]API[/abbr]
[abbr=Content Management System]CMS[/abbr]
[abbr=World Wide Web]WWW[/abbr]

Acronyms:
[acronym=Structured Query Language]SQL[/acronym]
[acronym=Graphics Interchange Format]GIF[/acronym]
[acronym=Radio Detecting and Ranging]radar[/acronym]

[h3]Code blocks:[/h3]

Normal code block:

x := y + z;

y := a - b;

An inline code block

Color highlighted PHP code block:
[php]
echo "Sample PHP code";
?>
[/php]

Test notag:
[notag]These BBCode tags are not converted to HTML![/notag]
[notag]I'm happy[/notag]

[h3]Quoting[/h3]

A simple quote:

Quote:
This is a quoted message

Quote with source:

Quote Frank:
This is a quoted message

Nested quotes:

Quote Gabor:
This is a quoted message
[quote=Alastair]This is a nested quote

[/quote]

[h3]Lists[/h3]

A normal list (circular bullets, same as list=c):

  • x
  • y
  • z

List with discs (list=d):
[list=d]

  • x
  • y
  • z
  • [/list]

    List with squares (list=s):
    [list=s]

  • x
  • y
  • z
  • [/list]

    Numeric list (list=1):

    1. x
    2. y
    3. z

    Roman lowercase list (list=i):

    1. x
    2. y
    3. z

    Roman uppercase list (list=I):

    1. x
    2. y
    3. z

    Alfa lowercase list (list=a):

    1. x
    2. y
    3. z

    Alfa uppercase list (list=A):

    1. x
    2. y
    3. z

    A nested list:
    [list=s]

  • x
  • [list=d]
  • x.1
  • x.2
  • [/list]
  • y
  • z
  • [/list]

    [h3]Table tags[/h3]

    [table]
    [row]
    [col]row1col1[/col]
    [col]row1col2[/col]
    [/row]
    [row]
    [col]row2col1[/col]
    [col]row2col2[/col]
    [/row]
    [/table]

    [h3]Other tags[/h3]

    Test marquee:
    [move]Move tag - creates a scrolling display[/move]

    Horizontal delimiter:


    Force line break:
    -->[br]<--

    Force space:
    -->[sp]<--

    [h3]Test tag nesting:[/h3]
    large red text
    again - large red test with different tag order

    [h3]Test multi-line tags:[/h3]


    test

    [h3]Check for cross site scripting (XSS) vulnerabilities[/h3]
    User-entered text with embedded script tags

    will be encoded.

    Some other exploits:
    Size tag
    Font tag

    Float tag

    Click here to see cookie
    [anchor=javascript:alert(document.cookie)]Anchor[/anchor]


    http://host.com/?act=SR&f='>

    [h3]Some broken tags[/h3]
    We need to ensure that bad formating will not disrupt your site's HTML.

    Broken [b]bold text...

    [list]
    [*]A broken list...

    [quote]A broken quote...

    [ > Funktionen ]
    Scheint ja zu

    Gepostet am: 28 Juli, 2006 - 16:41 von kamikatze
    kamikatzes Benuterbild

    ModeratorRedakteur

    Mitglied seit:
    2006-07-12


    Beiträge bisher
    (Threads & Content):

    20

    Scheint ja zu funktionieren?

    [ > Funktionen ]
    Is das bunt, ey!

    Gepostet am: 28 Juli, 2006 - 19:20 von kowa
    kowas Benuterbild

    Redakteur

    Mitglied seit:
    2005-09-15


    Beiträge bisher
    (Threads & Content):

    21

    Is das bunt, ey!

    [ > Funktionen ]

    [ ^ ]