LEW21 wrote:The most user-friendly table bbcode system:
BBCode:
- Code: Select all
[table]{TEXT}[/table]
HTML Replacement:
- Code: Select all
<table><tr><td>{TEXT}</td></tr></table>
BBCode:
- Code: Select all
[separator]
HTML Replacement:
- Code: Select all
</td><td>
BBCode:
- Code: Select all
[newline]
HTML Replacement:
- Code: Select all
</td></tr><tr><td>
Example:
- Code: Select all
[table]
A1[separator]A2[separator]A3[newline]
B1[separator]B2[separator]B3[newline]
C1[separator]C2[separator]C3
[/table]
will output
- Code: Select all
<table><tr><td>
A1</td><td>A2</td><td>A3</td></tr><tr><td>
B1</td><td>B2</td><td>B3</td></tr><tr><td>
C1</td><td>C2</td><td>C3
</td></tr></table>
Users browsing this forum: Majestic-12 [Bot] and 0 guests