User:Eyes/Spoilers

This page is a brief description of some spoiler templates I created on a private wiki. This page shows how the spoiler system works from a user perspective.

Note that this is merely an inactive preview. This system depends upon CSS and Javascript that could only be added by an admin, or with appropriate extensions, would require page protection to enable.

Also, I copied the same styles I used on the private wiki. The formatting and styles can be adjusted.

Inline spoilers
These are used when you're including something spoilerish in a sentence or paragraph that is otherwise not spoilerish.

Initial appearance for those with Javascript enabled
[reveal] [hidden spoiler]

[reveal] [spoiling text hidden for your convenience]

After clicking the "reveal" link
[hide] some spoiling text

[hide] some spoiling text

How it looks for those with Javascript off
[hidden spoiler]  some spoiling text

[spoiling text hidden for your convenience]  some spoiling text

Block spoilers
When one or more paragraphs have spoiler content, this template is a better choice.

Initial appearance for those with Javascript enabled
[reveal] Spoilers. [reveal] This is concealing the same thing the previous one is.

After clicking the "reveal" link
[hide] Spoilers. A lot of spoiling text that says nothing, but needs to be at least a couple sentences long to provide the appropriate look. Therefore, I shall blather on for another sentence to do nothing more than waste space. [hide] This is concealing the same thing the previous one is. A lot of spoiling text that says nothing, but needs to be at least a couple sentences long to provide the appropriate look. Therefore, I shall blather on for another sentence to do nothing more than waste space.

How it looks for those with Javascript off
Spoilers. A lot of spoiling text that says nothing, but needs to be at least a couple sentences long to provide the appropriate look. Therefore, I shall blather on for another sentence to do nothing more than waste space. This is concealing the same thing the previous one is. A lot of spoiling text that says nothing, but needs to be at least a couple sentences long to provide the appropriate look. Therefore, I shall blather on for another sentence to do nothing more than waste space.