Template talk:Spoiler

From MediaWiki
Jump to navigation Jump to search

For this one, I would almost suggest going with the ridiculous TFTM trailer: DOES PRIME DIE?! (hint: yes.) -hx 03:54, 18 May 2007 (UTC)

What about Barricade's vehicle mode? -Derik 05:30, 18 May 2007 (UTC)

Additional Text?

[edit]

Can we add one of those "addiitonal text" fields into this template? Preferably so said text shows up in large, easy-to-notice letters? A field so the thing can say "Spoilers for ____________ follow." Then maybe Rob won't have a heart attack.
Well, he will, because he's old, but at least it won't be caused by spoilers. --M Sipher 17:21, 16 November 2007 (UTC)

Perhaps just work it into the text. For example it would read:
Have the usage syntax mirror template:storylink perhaps?--RosicrucianTalk 17:29, 16 November 2007 (UTC)
The Old Man approves. -- Repowers 18:50, 16 November 2007 (UTC)

Okay, I've now tweaked it. It now has an optional storylink field in it. The following code:

{{spoiler|Megatron Origin issue 4}}

Now produces:

{{#ifeq:|left|

|}}{{#if: |
0 }} | 1 | ffefef | d8ffd4 }}
ffefef

}} }}{{ #if:

1 {{#expr: ( - {{#time: U}} + 18000) / (24*60*60) round 0}} days {{#expr: ( - {{#time: U}} + 18000) / (60*60) round 0}} hours

}} }}; border:solid 1px #{{ #if: true

{{{now}}}}} }} + 30*24*60*60 {{{now}}}}} }} + 30*24*60*60 - {{#time: U }}) > 0 }} | 1 | ff9f9f | 9fffa6 }} 000000

}} }}{{ #if:

1 {{#expr: ( - {{#time: U}} + 18000) / (24*60*60) round 0}} days {{#expr: ( - {{#time: U}} + 18000) / (60*60) round 0}} hours

}} }};text-align:center;margin:auto; {{ #if:| min-height:{{{min-height}}};|}}">{{#if: Spoiler_jazz.gif | }} | }}

{{ #if: |
|}}

{{#if: {{#expr: {{#time:U|{{{now}}}}} }} + 30*24*60*60

{{{now}}}}} }} + 30*24*60*60 - {{#time: U }}) > 0}} | 1 | Spoiler warning:|}} Spoiler warning:}} Plot details {{#if: Megatron Origin issue 4|for Megatron Origin issue 4 |}} follow.

{{ #if: |{{ #if: |  |
}} talk page.
|}}

{{#if: {{#if: {{#expr: {{#time:U|{{{now}}}}} }} + 30*24*60*60
{{{now}}}}} }} + 30*24*60*60 - {{#time: U }}) > 0}} | 1 | Spoilers expire in {{ #if: {{#if: 1 | notexpired | expired }} noexpiry

}} }}{{ #if: {{#expr: {{#time:U|{{{now}}}}} }} + 30*24*60*60

{{{now}}}}} }} + 30*24*60*60 - {{#time: U}} + 18000) > (24*60*60) }} | 1 {{{now}}}}} }} + 30*24*60*60 - {{#time: U}} + 18000) / (24*60*60) round 0}} days {{{now}}}}} }} + 30*24*60*60 - {{#time: U}} + 18000) / (60*60) round 0}} hours

}} }}| Spoilers have expired, you may remove this tag}}

{{#if: {{#expr: {{#time:U|{{{now}}}}} }} + 30*24*60*60 {{{now}}}}} }} + 30*24*60*60 - {{#time: U }}) > 0}} | 1 | Spoilers expire in {{ #if: {{#if: 1 | notexpired | expired }} noexpiry

}} }}{{ #if: {{#expr: {{#time:U|{{{now}}}}} }} + 30*24*60*60

{{{now}}}}} }} + 30*24*60*60 - {{#time: U}} + 18000) > (24*60*60) }} | 1 {{{now}}}}} }} + 30*24*60*60 - {{#time: U}} + 18000) / (24*60*60) round 0}} days {{{now}}}}} }} + 30*24*60*60 - {{#time: U}} + 18000) / (60*60) round 0}} hours

}} }}| Spoilers have expired, you may remove this tag}}

}}
{{#ifeq: Template talk||{{#if: {{#expr: {{#time:U|{{{now}}}}} }} + 30*24*60*60
| {{#ifeq: {{#expr: ({{#expr: {{#time:U|{{{now}}}}} }} + 30*24*60*60 - {{#time: U }}) > 0}} |  1 || }}
|}}}}{{#ifeq: Template talk|File|{{#if: {{#expr: {{#time:U|{{{now}}}}} }} + 30*24*60*60
| {{#ifeq: {{#expr: ({{#expr: {{#time:U|{{{now}}}}} }} + 30*24*60*60 - {{#time: U }}) > 0}} |  1 || }}
|}}}}
|
0 }} | 1 | ffefef | d8ffd4 }}
ffefef

}} }}{{ #if:

1 {{#expr: ( - {{#time: U}} + 18000) / (24*60*60) round 0}} days {{#expr: ( - {{#time: U}} + 18000) / (60*60) round 0}} hours

}} }}; border:solid 1px #{{ #if: true

{{#time:U|}}|}} {{#time:U|}}|}} - {{#time: U }}) > 0 }} | 1 | ff9f9f | 9fffa6 }} 000000

}} }}{{ #if:

1 {{#expr: ( - {{#time: U}} + 18000) / (24*60*60) round 0}} days {{#expr: ( - {{#time: U}} + 18000) / (60*60) round 0}} hours

}} }};text-align:center;margin:auto; {{ #if:| min-height:{{{min-height}}};|}}">{{#if: Spoiler_jazz.gif | }} | }}

{{ #if: |
|}}

{{#if: {{#if:|{{#time:U|}}|}}

{{#time:U|}}|}} - {{#time: U }}) > 0}} | 1 | Spoiler warning:|}} Spoiler warning:}} Plot details {{#if: Megatron Origin issue 4|for Megatron Origin issue 4 |}} follow.

{{ #if: |{{ #if: |  |
}} talk page.
|}}

{{#if: {{#if: {{#if:|{{#time:U|}}|}}
{{#time:U|}}|}} - {{#time: U }}) > 0}} | 1 | Spoilers expire in {{ #if: {{#if: 1 | notexpired | expired }} noexpiry

}} }}{{ #if: {{#if:|{{#time:U|}}|}}

{{#time:U|}}|}} - {{#time: U}} + 18000) > (24*60*60) }} | 1 {{#time:U|}}|}} - {{#time: U}} + 18000) / (24*60*60) round 0}} days {{#time:U|}}|}} - {{#time: U}} + 18000) / (60*60) round 0}} hours

}} }}| Spoilers have expired, you may remove this tag}}

{{#if: {{#if:|{{#time:U|}}|}} {{#time:U|}}|}} - {{#time: U }}) > 0}} | 1 | Spoilers expire in {{ #if: {{#if: 1 | notexpired | expired }} noexpiry

}} }}{{ #if: {{#if:|{{#time:U|}}|}}

{{#time:U|}}|}} - {{#time: U}} + 18000) > (24*60*60) }} | 1 {{#time:U|}}|}} - {{#time: U}} + 18000) / (24*60*60) round 0}} days {{#time:U|}}|}} - {{#time: U}} + 18000) / (60*60) round 0}} hours

}} }}| Spoilers have expired, you may remove this tag}}

}}
{{#ifeq: Template talk||{{#if: {{#if:|{{#time:U|}}|}}
| {{#ifeq: {{#expr: ({{#if:|{{#time:U|}}|}} - {{#time: U }}) > 0}} |  1 || }}
|}}}}{{#ifeq: Template talk|File|{{#if: {{#if:|{{#time:U|}}|}}
| {{#ifeq: {{#expr: ({{#if:|{{#time:U|}}|}} - {{#time: U }}) > 0}} |  1 || }}
|}}}}
}}{{#ifeq:|left|

|}}

Keen?--RosicrucianTalk 21:45, 17 November 2007 (UTC)

Can we add another text-field that allows for expiry notice? There's been a bit of discussion about auto-expiration, but until that comes to pass, it'd be great to be able to manually add a little notice that says, "Can delete after xx-xx-xx, or next issue/episode come out, whichever happens first." - Jackpot 21:49, 9 June 2008 (UTC)

{{#ifeq:|left|

|}}{{#if: |
0 }} | 1 | ffefef | d8ffd4 }}
ffefef

}} }}{{ #if:

1 {{#expr: ( - {{#time: U}} + 18000) / (24*60*60) round 0}} days {{#expr: ( - {{#time: U}} + 18000) / (60*60) round 0}} hours

}} }}; border:solid 1px #{{ #if: true

{{{now}}}}} }} + 30*24*60*60 {{{now}}}}} }} + 30*24*60*60 - {{#time: U }}) > 0 }} | 1 | ff9f9f | 9fffa6 }} 000000

}} }}{{ #if:

1 {{#expr: ( - {{#time: U}} + 18000) / (24*60*60) round 0}} days {{#expr: ( - {{#time: U}} + 18000) / (60*60) round 0}} hours

}} }};text-align:center;margin:auto; {{ #if:| min-height:{{{min-height}}};|}}">{{#if: Spoiler_jazz.gif | }} | }}

{{ #if: |
|}}

{{#if: {{#expr: {{#time:U|{{{now}}}}} }} + 30*24*60*60

{{{now}}}}} }} + 30*24*60*60 - {{#time: U }}) > 0}} | 1 | Spoiler warning:|}} Spoiler warning:}} Plot details {{#if: Grimlock's New Brain|for Grimlock's New Brain |}} follow.

{{ #if: |{{ #if: |  |
}} talk page.
|}}

{{#if: {{#if: {{#expr: {{#time:U|{{{now}}}}} }} + 30*24*60*60
{{{now}}}}} }} + 30*24*60*60 - {{#time: U }}) > 0}} | 1 | Spoilers expire in {{ #if: {{#if: 1 | notexpired | expired }} noexpiry

}} }}{{ #if: {{#expr: {{#time:U|{{{now}}}}} }} + 30*24*60*60

{{{now}}}}} }} + 30*24*60*60 - {{#time: U}} + 18000) > (24*60*60) }} | 1 {{{now}}}}} }} + 30*24*60*60 - {{#time: U}} + 18000) / (24*60*60) round 0}} days {{{now}}}}} }} + 30*24*60*60 - {{#time: U}} + 18000) / (60*60) round 0}} hours

}} }}| Spoilers have expired, you may remove this tag}}

{{#if: {{#expr: {{#time:U|{{{now}}}}} }} + 30*24*60*60 {{{now}}}}} }} + 30*24*60*60 - {{#time: U }}) > 0}} | 1 | Spoilers expire in {{ #if: {{#if: 1 | notexpired | expired }} noexpiry

}} }}{{ #if: {{#expr: {{#time:U|{{{now}}}}} }} + 30*24*60*60

{{{now}}}}} }} + 30*24*60*60 - {{#time: U}} + 18000) > (24*60*60) }} | 1 {{{now}}}}} }} + 30*24*60*60 - {{#time: U}} + 18000) / (24*60*60) round 0}} days {{{now}}}}} }} + 30*24*60*60 - {{#time: U}} + 18000) / (60*60) round 0}} hours

}} }}| Spoilers have expired, you may remove this tag}}

}}
{{#ifeq: Template talk||{{#if: {{#expr: {{#time:U|{{{now}}}}} }} + 30*24*60*60
| {{#ifeq: {{#expr: ({{#expr: {{#time:U|{{{now}}}}} }} + 30*24*60*60 - {{#time: U }}) > 0}} |  1 || }}
|}}}}{{#ifeq: Template talk|File|{{#if: {{#expr: {{#time:U|{{{now}}}}} }} + 30*24*60*60
| {{#ifeq: {{#expr: ({{#expr: {{#time:U|{{{now}}}}} }} + 30*24*60*60 - {{#time: U }}) > 0}} |  1 || }}
|}}}}
|
0 }} | 1 | ffefef | d8ffd4 }}
ffefef

}} }}{{ #if:

1 {{#expr: ( - {{#time: U}} + 18000) / (24*60*60) round 0}} days {{#expr: ( - {{#time: U}} + 18000) / (60*60) round 0}} hours

}} }}; border:solid 1px #{{ #if: true

{{#time:U|}}|}} {{#time:U|}}|}} - {{#time: U }}) > 0 }} | 1 | ff9f9f | 9fffa6 }} 000000

}} }}{{ #if:

1 {{#expr: ( - {{#time: U}} + 18000) / (24*60*60) round 0}} days {{#expr: ( - {{#time: U}} + 18000) / (60*60) round 0}} hours

}} }};text-align:center;margin:auto; {{ #if:| min-height:{{{min-height}}};|}}">{{#if: Spoiler_jazz.gif | }} | }}

{{ #if: |
|}}

{{#if: {{#if:|{{#time:U|}}|}}

{{#time:U|}}|}} - {{#time: U }}) > 0}} | 1 | Spoiler warning:|}} Spoiler warning:}} Plot details {{#if: Grimlock's New Brain|for Grimlock's New Brain |}} follow.

{{ #if: |{{ #if: |  |
}} talk page.
|}}

{{#if: {{#if: {{#if:|{{#time:U|}}|}}
{{#time:U|}}|}} - {{#time: U }}) > 0}} | 1 | Spoilers expire in {{ #if: {{#if: 1 | notexpired | expired }} noexpiry

}} }}{{ #if: {{#if:|{{#time:U|}}|}}

{{#time:U|}}|}} - {{#time: U}} + 18000) > (24*60*60) }} | 1 {{#time:U|}}|}} - {{#time: U}} + 18000) / (24*60*60) round 0}} days {{#time:U|}}|}} - {{#time: U}} + 18000) / (60*60) round 0}} hours

}} }}| Spoilers have expired, you may remove this tag}}

{{#if: {{#if:|{{#time:U|}}|}} {{#time:U|}}|}} - {{#time: U }}) > 0}} | 1 | Spoilers expire in {{ #if: {{#if: 1 | notexpired | expired }} noexpiry

}} }}{{ #if: {{#if:|{{#time:U|}}|}}

{{#time:U|}}|}} - {{#time: U}} + 18000) > (24*60*60) }} | 1 {{#time:U|}}|}} - {{#time: U}} + 18000) / (24*60*60) round 0}} days {{#time:U|}}|}} - {{#time: U}} + 18000) / (60*60) round 0}} hours

}} }}| Spoilers have expired, you may remove this tag}}

}}
{{#ifeq: Template talk||{{#if: {{#if:|{{#time:U|}}|}}
| {{#ifeq: {{#expr: ({{#if:|{{#time:U|}}|}} - {{#time: U }}) > 0}} |  1 || }}
|}}}}{{#ifeq: Template talk|File|{{#if: {{#if:|{{#time:U|}}|}}
| {{#ifeq: {{#expr: ({{#if:|{{#time:U|}}|}} - {{#time: U }}) > 0}} |  1 || }}
|}}}}
}}{{#ifeq:|left|

|}}


Done. --RosicrucianTalk 21:55, 9 June 2008 (UTC)
Fantasmical. Thank you, sir. - Jackpot 22:03, 9 June 2008 (UTC)

Spoiler Policy

[edit]

Since we're tweaking the spoiler tag, perhaps this would be a good opportunity to write an actual spoiler policy akin to the Caption policy page rather than linking to Wikipedia for this. Such an article would ideally go at Transformers Wiki:Spoilers.

As for what would go on such a page, I'll get the ball rolling with the following:

  • Spoiler tags are removed six months after publication/airtime/movie release.
  • Spoiler tags are not used on cartoon episode or comic issue pages. If you read the plot summaries on these articles you should not be surprised if you get spoiled.

Anything else that should go in there?--RosicrucianTalk 19:49, 16 November 2007 (UTC)

Six months seems excessive (and would cause lots of clutter when people forget to remove them in half a year). One month would be better. Interrobang 19:55, 16 November 2007 (UTC)
Six months is excessive. For comics, I'd suggest a week, but if some feel a month is necessary, I think that's about the top window. --ItsWalky 19:58, 16 November 2007 (UTC)
Eh, I tried to err on the side of caution. I don't mind if it's shorter.--RosicrucianTalk 20:00, 16 November 2007 (UTC)
The problem with measuring the spoiler-time from when the comic issue is published, is that some of us only buy the trade paperbacks. I suspect, however, if I suggest it should be "one month from when the trade paperback is released", I'll meet with a lot of resistance . . . (And let's not get into those of us who don't watch the shows on TV, but buy the DVDs . . . ) JW 20:10, 16 November 2007 (UTC)
Are we setting an automatic removal thingermabob of some sort? Or is someone going to religiously purge spoiler tags from articles once a month? 'Cause otherwise, it's relatively moot.
I'd say anything from 2-4 weeks is entirely reasonable. I know I don't always make the trip to the comic store every week, and some people wait for the trades... though if we wait for the trades, nobody's gonna remember to do cleanup. I know I never even see the damn things, let alone know when they come out... -- Repowers 20:45, 16 November 2007 (UTC)
I'd say two weeks max for comics. In the majority of instances, if you haven't picked up the book within two weeks of publication, it's your own damn fault and I frankly can't work up any sympathy for you being spoiled, ESPECIALLY if you're going to wait the six-plus months plus for a damn trade collection to come out. (And this is coming from someone who sometimes has month-long gaps bewteen comic store visits). Waiting for trades is going back to "well, people in Botswana haven't seen the episode yet" ridiculous extremes. Same for movies.
TV shows are a little trickier, since even with VCRs and Tivo, you're more at the whim of when the channel reruns it. So say... a month? --M Sipher 21:30, 16 November 2007 (UTC)

Bug

[edit]

There is a bug in the template which is causing it not to display if there was no episode link set for it.

It should be fixed in 10 minutes, sorry for the inconvenience- this was part of the re-architecturing for the move.  :( -Derik 20:00, 12 June 2008 (UTC)

That has been fixed. As has a bug that added too much space on the bottom. Instead of using {{-}} to clear floated images like the old template does, it now uses a 'clearall' attribute sent to the messagebox template.
Like everything about the messageox template, its actual functioning is poorly documented. -Derik 20:13, 12 June 2008 (UTC)

A possible new twist.

[edit]

On the Final Fantasy wiki, I spotted a spoiler gimmick that's so simple I'm surprised we didn't try it. They have an additional tag, {{endspoiler}}, that is basically just an anchor tag that can be jumped to via a "skip this section" link in the spoiler tag. Do you guys think it's worth implementing here?--RosicrucianTalk 19:59, 6 November 2009 (EST)

Changing the background colour of the template

[edit]

It came up on the Allspark thread that maybe this template isn't visually distinct enough from our many other templates, and people may therefore be tuning it out and being spoiled by information. How do people feel about changing this to have a red background to make it look sufficently different and therefore less likely for people to skip over it? --abates (talk) 20:50, 17 May 2019 (EDT)

I say if you skip over a warning template, you deserve what you get.--Khajidha (talk) 20:52, 17 May 2019 (EDT)
Sure, but we have stub tags everywhere which look similar to this template, so if you're used to tuning them out, it's pretty easy to tune out the spoiler template too. --abates (talk) 22:40, 17 May 2019 (EDT)
Again, if you don t read a notice posted right in the middle of the text I have no sympathy for you.--Khajidha (talk) 22:52, 17 May 2019 (EDT)
And I have no sympathy for anyone who thinks doing a minor change to make things more noticeable and readable and doesn't actually affect you isn't worth doing because... smug? We have other templates in red, like the {{inprogress}} one specifically to make things more immediately noticeable, so I don't see the problem with doing it for the spoiler. --M Sipher (talk) 05:18, 18 May 2019 (EDT)