Template:Spoiler: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Box| | {{Box| | ||
title=<big>Spoiler Alert!</big>| | title=<big>Spoiler Alert!</big>| | ||
content=<div style="text-align: center;">This article contains spoilers for '''{{{ | content=<div style="text-align: center;">This article contains spoilers for '''{{{1}}}'''. Proceed with caution.</div>| | ||
style=margin:auto; max-width: 50em| | style=margin:auto; max-width: 50em| | ||
icon=JphDragonS.png| | icon=JphDragonS.png| | ||
Line 12: | Line 12: | ||
{ | { | ||
"params": { | "params": { | ||
" | "1": { | ||
"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.", | ||
Line 21: | Line 21: | ||
}, | }, | ||
"description": "Warns users that the article contains spoilers. This should be positioned at the top of the article.", | "description": "Warns users that the article contains spoilers. This should be positioned at the top of the article.", | ||
"format": "block" | "format": "block", | ||
"paramOrder": [ | |||
"1" | |||
] | |||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |