Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
DOORS Site Logo

Welcome to the Official DOORS Wiki!
Please read the Wiki Rules the Manual of Style and familiarise yourself with our Wiki Policies before contributing to get a better understanding of what content is allowed on our wiki and how to display it properly, if you need help don't hesitate to reach out to a DOORS Wiki Staff Member.

Template:SpoilerWarning: Difference between revisions

Template page
m (Remove unused class)
(I know this one doesn't follow the others (notice templates) but I THINK that's important considering the type of template)
 
Line 1: Line 1:
{{#vardefine:spoilers|<span style=font-size:120%;font-weight:700>spoilers</span>}}<!--
{{#vardefine:spoilers|<span style=font-size:120%;font-weight:700>spoilers</span>}}<!--
--><div {{#if:{{{content|}}}|class="mw-collapsible" id="mw-customcollapsible-SpoilersWarning"}} style="background: linear-gradient(to left,#6F468533, #350DCE33); box-shadow: 0 4px 6px rgba(0, 0, 0, .4); margin: 10px 5px 15px 5px; text-align: center; text-shadow: 0 2px 4px rgba(0, 0, 0, .16), 0 2px 4px rgba(0, 0, 0, .25); border-radius: 20px; padding: 12px; font-size: 150%;"><!--
-->{{#vardefine:classes|{{#if:{{{content|}}}|class="mw-collapsible notice-template" id="mw-customcollapsible-SpoilersWarning"|class="notice-template"}}}}<!--
--><div {{#var:classes}} style="background: linear-gradient(to left,#6F468533, #350DCE33);padding: 12px; font-size: 150%;"><!--
--><div style="border-radius:24px;border: 5px solid #6F468577;background-color:rgba(var(--theme-accent-color--rgb),0.1);margin:5px;margin-bottom:15px;padding:5px">[[File:Cannot.png|center|600x120px|link=]]</div>
--><div style="border-radius:5px;border: 5px solid #6F468577;background-color:rgba(var(--theme-accent-color--rgb),0.1);margin:5px;margin-bottom:15px;padding:5px">[[File:Cannot.png|center|600x120px|link=]]</div>
<span style="color:#FFF;font-size:125%;">This {{{type|page}}} {{#if:{{{content|}}}|mainly covers content containing {{#var:spoilers}}. Read with care if you wish to avoid them.|contains {{#var:spoilers}}. They are hidden by default, but may be expanded.}}<br></span><!--
<span style="color:#FFF;font-size:125%;">This {{{type|page}}} {{#if:{{{content|}}}|mainly covers content containing {{#var:spoilers}}. Read with care if you wish to avoid them.|contains {{#var:spoilers}}. They are hidden by default, but may be expanded.}}<br></span><!--
-->{{#if:{{{content|}}}|<div class="mw-customtoggle-SpoilersWarning wds-button" style="background:rgba(0,0,0,.3);color:var(--theme-accent-color);font-size:inherit;padding:14px 36px;border-radius:12px;border: 5px solid #6F468577;background-color:rgba(var(--theme-accent-color--rgb),0.1);color:#fff;margin:5px;margin-top:15px;">Hide</div>}}<!--
-->{{#if:{{{content|}}}|<div class="mw-customtoggle-SpoilersWarning wds-button" style="background:rgba(0,0,0,.3);color:var(--theme-accent-color);font-size:inherit;padding:14px 36px;border-radius:12px;border: 5px solid #6F468577;background-color:rgba(var(--theme-accent-color--rgb),0.1);color:#fff;margin:5px;margin-top:15px;">Hide</div>}}<!--

Latest revision as of 08:20, 19 June 2025

{{#vardefine:spoilers|spoilers}}{{#vardefine:classes|class="notice-template"}}

Cannot.png
This page contains {{#var:spoilers}}. They are hidden by default, but may be expanded.

{{#vardefine: base page |

   Template:SpoilerWarning
 

}}{{#vardefine: current page | Template:SpoilerWarning}}{{#vardefine: doc page |

 {{#var: base page}}/doc

}}{{#vardefine: namespace |

 Template

}}{{#vardefine: preload |

 Template:Documentation/preload&summary=Create+%2Fdoc+subpage+for+%5B%5B%7B%7B%23var%3A+base+page%7D%7D%5D%5D&editintro=Template:Documentation/editintro-doc

}}{{#vardefine: preload-sandbox |

 Template:Documentation/preload-sandbox&summary=Create+sandbox+subpage+for+experimenting+on+template+%5B%5B%7B%7B%23var%3A+base+page%7D%7D%5D%5D

}}{{#vardefine: sandbox |

 {{#var: base page}}/sandbox

}}{{#vardefine: page text |

 page

}}{{#vardefine: doc image |

  

}}

{{#var: doc image }}{{#var: page text}} Documentation[[[[:Template:Fullurl:]] create] | [[Special:Purge/{{#var: current page}}|purge]]]

The documentation for this {{#var: page text}} does not exist. Create it at [[[:Template:Fullurl:]] {{#var: doc page}}].

[[[:Template:Fullurl:]] Create documentation] for this template.
Editors can experiment in this {{#var: page text}}'s sandbox ([[[:Template:Fullurl:]] create] | [[[:Template:Fullurl:]] mirror]) page.
[[Special:PrefixIndex/{{#var: current page}}|Subpages of this {{#var: page text}}]].