Hi! Welcome to the forum for Platinum Arts Sandbox Free 3D Game Maker. I currently have the forums locked as I am attempting to properly update them. If you have any questions please e-mail me through the Platinum Arts website.

The [stub] BBcode system

Discussion of things not related to Sandbox
User avatar
Former Staff
Posts: 454
Joined: May 24th, 2009, 1:52 pm
IRC Username: Katana

The [stub] BBcode system

Post by Obsidian »

The Stub BBcode System -- Internal post links

If you want to reference a link, image, or something in a bottom-of-the-post bibliography, just use the newly added <stub> BBcode system.

<link> What is a stub?
<link> How do I use the stub BBcode system?
<link> The [ stub ] BBcode
<link> The [ stublink ] BBcode

<stub> What is a stub?

It's simple. Just use a unique ID number for between each reference and the links to it, like so:
<link> Blah blah...
<stub> Blah blah blah

Notice that when you click the orange underlined text "Blah blah...", it takes you to the blue line of text that says "Blah blah blah".

<stub> How do I use the stub BBcode system?

There are two things you need. The stub, which is located where you want the link to go, and the link that points you to it.

<stub> The [ stub ] BBcode
The stub is simply a beacon for the link, but it's an essential beacon.
An example of the stub is as follows:

Code: Select all

[stub=1]Blah blah blah[/stub]

Essentially, all you need to do is replace {TEXT} with what you want the stub to say, and {NUMBER} with the stub ID in the following:

Code: Select all


@NOTE - You cannot have two stubs by the same number, the second stub that uses the same number will not be accessable by the stub's link.

Not so hard, is it?

<stub> The [ stublink ] BBcode
Oh, yes, and there /is/ another part, the link that directs you to the stub. It's essentially the same to use as the link, except that you can have multiple links to one stub.
An example is as follows:

Code: Select all

[stublink=1]Blah blah...[/stublink]

To make it yours, just edit {TEXT} with what you want it to say, and {NUMBER} with the stub ID in the following:

Code: Select all


For both the stub and stublink BBcodes, you can have other BBcodes within the {TEXT} placeholder.

And that's all you need to know!


github: https://github.com/damianb/