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 (Update so that it isn't 100% width and added an option to have what it could spoil)
m (just make the reason a required parameter)
Line 1: Line 1:
<includeonly>
<includeonly>
{| class="home-container mw-collapsible mw-collapsed" data-expandtext="View" data-collapsetext="Close" style="width:25%; padding:.5em; margin:.5em auto; margin-left: 0px; margin-right: auto; border:4.5px solid #7F644B; border-radius:5; border-radius:.7em; padding:0 8px"
{| class="home-container mw-collapsible mw-collapsed" data-expandtext="View" data-collapsetext="Close" style="width:25%; padding:.5em; margin:.5em auto; margin-left: 0px; margin-right: auto; border:4.5px solid #7F644B; border-radius:5; border-radius:.7em; padding:0 8px"
! style="width: 105px;" |'''The following content has <span style="color:#CD3333">spoilers</span> for {{#if: {{{2}}}|{{{2}}}|newly released content}}.'''
! style="width: 105px;" |'''The following content has <span style="color:#CD3333">spoilers</span> for {{{2}}}.'''
|-
|-
|
|

Revision as of 03:33, 22 September 2024


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