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:Spoiler: Difference between revisions

Template page
m (test)
Tag: 2017 source edit
No edit summary
Tag: 2017 source edit
 
(12 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{#vardefine:spoilers|<span style=font-size:120%;font-weight:700>spoilers</span>}}<!--
<includeonly>
--><div class="mw-collapsible" id="mw-customcollapsible-HideSpoiler"><!-- warning & unhide button
{| class="mw-collapsible mw-collapsed" data-expandtext="Open" data-collapsetext="Close" style="width:90%; padding:0.5em; margin:0.5em auto; border: 2px solid #D0AE82; border-left:5px solid #D0AE82; border-bottom:2px solid #D0AE82; background: rgba(0,0,0,.3); -moz-border-radius:0 30px 30px 0; -webkit-border-radius:0 30px 0 0"
---><div style="display:flex;background: linear-gradient(to left,#6F468533, #350DCE33); box-shadow: 0 4px 6px rgba(0, 0, 0, .4); margin: 10px 5px 15px 5px; text-shadow: 0 2px 4px rgba(0, 0, 0, .16), 0 2px 4px rgba(0, 0, 0, .25); border-radius: 20px; padding: 12px;border: 5px solid #6F468577"><!-- element style
! style="width: 105px;" |'''The following information contains <span style="color:#CD3333;">spoilers</span>. To proceed, click the [Open] tag.'''
----><div style="float:left; align-content: center">[[File:Cannot.png|center|100px|link=]]</div><!--
|-
----><div style="flex-direction:column;align-items: stretch; justify-content: center;width:100%;text-align:center"><!-- flexbox
|
-----><p>'''This content has {{#var:spoilers}} for {{{2}}}. To view it, click the button below.'''</p><!--
----
-----><div style="display:flex"><!-- button wrapper
{{{1}}}
------><span class="mw-customtoggle-ToggleSpoilers mw-customtoggle-HideSpoiler wds-button" style="background:rgba(0,0,0,.3);padding:12px 25px;border: 5px solid #6F468577;border-radius:12px;background-color:rgba(var(--theme-accent-color--rgb),0.1);color:#fff;margin:auto;font-size:100%">View</span><!--
|}
-----></div><!-- button wrapper
</includeonly>
----></div><!-- flexbox
<noinclude>{{Documentation}}</noinclude>
---></div><!-- element style
--></div><!-- warning & unhide button
--><div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-ToggleSpoilers"><!-- spoiler content & hide button
---><div style="display:flex; background: linear-gradient(to left,#6F468533, #350DCE33); box-shadow: 0 4px 6px rgba(0, 0, 0, .4); margin: 10px 5px 15px 5px; text-shadow: 0 2px 4px rgba(0, 0, 0, .16), 0 2px 4px rgba(0, 0, 0, .25); border-radius: 20px; padding: 12px;border: 5px solid #6F468577"><!-- element style
----><div style="width:100%">{{{1}}}</div><!-- main text
----><span class="mw-customtoggle-ToggleSpoilers mw-customtoggle-HideSpoiler wds-button" style="background:rgba(0,0,0,.3);padding:12px 25px;border: 5px solid #6F468577;border-radius:12px;background-color:rgba(var(--theme-accent-color--rgb),0.1);color:#fff;float:right;margin:5px;font-size:100%">Hide</span><!--
---></div><!--
--></div><!--
--><includeonly>[[Category:Spoilers]]</includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 13:54, 8 June 2025

{{#vardefine:spoilers|spoilers}}

Cannot.png

This content has {{#var:spoilers}} for {{{2}}}. To view it, click the button below.

View
{{{1}}}
Hide

{{#vardefine: base page |

   Template:Spoiler
 

}}{{#vardefine: current page | Template:Spoiler}}{{#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}}]].