XboxAchievements.com

XboxAchievements.com (http://www.xboxachievements.com/forum/index.php)
-   FAQ (http://www.xboxachievements.com/forum/forumdisplay.php?f=229)
-   -   Spoiler Tags (http://www.xboxachievements.com/forum/showthread.php?t=36098)

RoutineX 08-21-2007 09:53 AM

Spoiler Tags
 
You have to specify an unique ID for every spoiler (see example three what happens if you don't).
The ID can be anything you'd like as long as no one else has already used it in that thread.

Note: It doesn't mean that an ID can just be used once in the whole forums. You can use the same ID in different threads.

Usage:
PHP Code:

[spoiler=ID]This is a spoiler[/spoiler


Example one:
PHP Code:

[spoiler=test]This is a spoiler[/spoiler



Example two:
PHP Code:

[spoiler=abc]This is a spoiler
[spoiler=def]This is a spoiler inside a spoiler ;)[/spoiler]
[/
spoiler

Spoiler! (click here to reveal)


Example three:
This is what happens if several spoilers have the same ID (in this case, 123). As you can see, you can only open the first spoiler that has that ID.

PHP Code:

[spoiler=123]This is a spoiler[/spoiler]
[
spoiler=123]This is also a spoiler[/spoiler


Spoiler! (click here to reveal)


Example four:
If you don't give the spoiler any ID, the spoiler block won't appear.

PHP Code:

[spoiler]Spoiler without an unique ID[/spoiler

[spoiler]Spoiler without an unique ID[/spoiler]


All times are GMT. The time now is 04:51 PM.

Powered by vBulletin®
Copyright ©2000 - 2014, vBulletin Solutions, Inc.