Section BBCode

User submitted BBCodes
Let us see what You have
There is no support here! Only Read Access!
Forum rules
We dont add more BBCodes to our database, but feel free to share and support your own BBCodes here.
Remember that it is not allowed to use {TEXT} inside the html tags!!!
It causes a serious security risk to your board and users.
Like this: <div style="{TEXT}">{TEXT}</div>
Green = OK - Red = forbidden
Locked
KukY13
BBCoder III
BBCoder III
Posts: 96
Joined: 26 Jun 2010, 16:23
Contact:

Section BBCode

Post by KukY13 »

Hi, I'm new to here and I'm looking for some new stuff for my forum.
I wanted to provide you with a BBCode which I thouht of, and it provided pretty useful to me in long posts.

BBCode:

Code: Select all

[section={IDENTIFIER}]{TEXT}[/section]
HTML Replacement:

Code: Select all

<a href="#{IDENTIFIER}" id="{IDENTIFIER}" style="font-weight:bold;">{TEXT}:</a>
Help Line:

Code: Select all

Allows directly linking to a user-defined section of a post.
Example:

Code: Select all

[section=intro]Introduction[/section]
This is a section text.
[section=main]Main[/section]
This is another section text.
NOTES:
  • style="font-weight:bold;" isn't required, but automaticaly increases visibility of the section, which is useful to me.
  • The : after {TEXT} isn't required, but automaticaly places a colon after the text, which also proved useful to me.
Last edited by KukY13 on 26 Jun 2010, 17:51, edited 1 time in total.
Image
Locked