Template:Spoiler: Difference between revisions

From MediaWiki
Jump to navigationJump to search
Converting to messagebox format since Monaco hates this template's guts. No functionality should be lost.
Tigerpaw28 (talk | contribs)
m Removing nocats now that messagebox supports smart category inclusion
 
(22 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{-}}
<includeonly>{{#ifeq:{{{float|}}}|left|<div style="float:left; width:60%">|}}{{#if: {{{now|}}}
{{Messagebox|
| {{Template:spoiler/guts|render=true|render_for={{{1|}}}
|message_text='''[[Wikipedia:Spoiler warning|Spoiler warning]]: ''Plot and/or ending details {{#if: {{{1|}}}|for [[{{{1|}}}]] |}} follow.'''''
|clearall=true
|image_name=Spoiler_jazz.gif
|render_expires= {{#expr: {{#time:U|{{{now}}}}} }} + {{{days|30}}}*24*60*60}}
|border=9f9fff
|{{Template:spoiler/guts|render=true|render_for={{{1|}}}
|bgcolor=efefff
|clearall=true
}}
|render_expires= {{#if:{{{2|{{{when|}}}}}}|{{#time:U|{{{2|{{{when|}}}}}}}}|}}
<noinclude>
}}
This template includes an optional '''storylink''' parameter. You can include a link to the article the section spoils with the following syntax:
}}{{#ifeq:{{{float|}}}|left|</div><div style="clear:left"></div>|}}
 
</includeonly><noinclude>{{doc}}
'''<tt><nowiki>{{Spoiler|ARTICLENAME}}</nowiki></tt>'''


[[Category:Fiction section templates]]</noinclude>
[[Category:Fiction section templates]]</noinclude>

Latest revision as of 01:22, 23 June 2022

(Transcluded documentation: view)