Jump to content

Template:Spoiler: Difference between revisions

From Joepedia
No edit summary
No edit summary
Line 7: Line 7:
background-title-color=#ff7154|
background-title-color=#ff7154|
center=center
center=center
}}
}}<noinclude>
<noinclude>
== Example ==
E.g:
  <nowiki>{{Spoiler|Mars Needs Senpais}}</nowiki>
{{Spoiler|Mars Needs Senpais}}
 
== Template Data ==
<templatedata>
<templatedata>
{
{
Line 15: Line 20:
"label": "Media Name",
"label": "Media Name",
"description": "The name of the media the spoilers are for.",
"description": "The name of the media the spoilers are for.",
"example": "Danganronpa 1",
"type": "string",
"type": "string",
"required": true
"required": true

Revision as of 20:33, 21 January 2025

Spoiler Alert!
This article contains spoilers for {{{1}}}. Proceed with caution.

Example

E.g:

 {{Spoiler|Mars Needs Senpais}}
Spoiler Alert!
This article contains spoilers for Mars Needs Senpais. Proceed with caution.


Template Data

Warns users that the article contains spoilers. This should be positioned at the top of the article.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Media Name1

The name of the media the spoilers are for.

Stringrequired