Template:Pullout/doc: Difference between revisions
Bongolium500 (talk | contribs) No edit summary |
Bongolium500 (talk | contribs) No edit summary |
||
Line 16: | Line 16: | ||
<pre>{{pullout|{{cleanup}}{{rename}}}}</pre> | <pre>{{pullout|{{cleanup}}{{rename}}}}</pre> | ||
You may notice that all pullouts | You may notice that all pullouts close when you try to close just one of them. This is because it is not expected that more than one would be used per page. | ||
[[Category:Template documentation]] | [[Category:Template documentation]] |
Latest revision as of 17:54, 14 July 2023
{{Pullout/doc}} is a template used to hide away editor notices such as {{delete}} or {{cleanup}} that aren't of much interest to a reader. It places them in a box that can be pulled out from the right of the screen, like this:
Other text on the page will wrap around the pullout.
To use it, you'd type the following:
{{pullout|Text or templates to go in the pullout go here.}}
For example, to produce the pullout shown to the right containing the {{cleanup}} template, you'd type:
{{pullout|{{cleanup}}}}
Pullouts can contain multiple templates. For an example, see the pullout to the right.
This is produced simply by:
{{pullout|{{cleanup}}{{rename}}}}
You may notice that all pullouts close when you try to close just one of them. This is because it is not expected that more than one would be used per page.