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
(Adjusted warning to better fit how it's being used (remove hide button on places where it's not needed))
m (Remove unused class)
Line 3: Line 3:
--><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: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>
<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-PageContent 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>}}<!--
--></div><includeonly>[[Category:Spoilers]]</includeonly>
--></div><includeonly>[[Category:Spoilers]]</includeonly>
<noinclude>{{Documentation}}</noinclude>
<noinclude>{{Documentation}}</noinclude>

Revision as of 07:26, 8 June 2025

{{#vardefine:spoilers|spoilers}}

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}}]].