Difference between revisions of "Template:Spoiler Box"
(Created) |
m (Prevent boxes tiling horizontally) |
||
Line 1: | Line 1: | ||
− | <includeonly><div class="toccolours" style="float:right;width:400px;border-radius:8px;margin-left:1em;margin-bottom:0.5em;font-size:85%"> | + | <includeonly><div class="toccolours" style="float:right;clear:right;width:400px;border-radius:8px;margin-left:1em;margin-bottom:0.5em;font-size:85%"> |
{{hidden begin|extra2=padding:0 2em|title='''{{#if: {{{Title|}}} | Spoiler: {{{Title|}}} | Spoiler!}}'''}}{{{Content|Whoops, someone forgot to fill in the spoiler content}}}{{hidden end}} | {{hidden begin|extra2=padding:0 2em|title='''{{#if: {{{Title|}}} | Spoiler: {{{Title|}}} | Spoiler!}}'''}}{{{Content|Whoops, someone forgot to fill in the spoiler content}}}{{hidden end}} | ||
</div></includeonly><noinclude> | </div></includeonly><noinclude> |
Latest revision as of 02:22, 5 October 2018
A template for displaying general purpose spoilers or other revealable content on pages in the form of an infobox. Useful for content that is handy to know but might spoil the experience if you knew it beforehand, such as quest rewards.
Usage
{{Spoiler Box | Title = Title (optional) | Content = }}
Examples
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris a dignissim nunc. Morbi non diam volutpat, gravida orci in, ornare ligula. Vivamus efficitur blandit lectus sit amet eleifend. Nulla facilisi. Nullam vestibulum ipsum at volutpat imperdiet. Cras ut eleifend odio, at mollis ipsum. Nunc imperdiet semper erat, ac rutrum nisl fermentum et. Praesent at diam rutrum, dictum arcu eu, efficitur velit. Donec gravida fermentum erat vitae tempor. Vivamus mi felis, auctor eu purus a, consectetur venenatis sapien. Nullam commodo lacus a facilisis molestie. Nulla quis nulla nisl. Nullam commodo, nisi et ornare consectetur, urna enim interdum turpis, et feugiat turpis justo id massa.
Nam vel imperdiet orci, non pretium ante. Donec nibh massa, aliquet eget sollicitudin vel, ornare id neque. Pellentesque rutrum turpis at vestibulum euismod. Duis eu tempus erat. Nullam volutpat fringilla finibus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vivamus faucibus rhoncus purus, ac maximus elit tristique non. Nulla feugiat accumsan arcu non maximus. Nullam blandit commodo ligula, a commodo lacus gravida ac. Fusce sit amet mi consectetur nulla porttitor tristique ut vel eros. Maecenas convallis bibendum sem nec elementum. Donec iaculis, nunc eu mollis vulputate, nunc massa eleifend ante, ac semper orci nibh sit amet turpis. Sed fringilla nisi quis feugiat dapibus. Maecenas iaculis accumsan vulputate.