Jump to content

Template:Spoiler: Difference between revisions

From SFFA Wiki
Created page with "<includeonly> <div class="toccolours mw-collapsible mw-collapsed" data-expandtext="Show Spoiler" data-collapsetext="Hide Spoiler"> <div class="mw-collapsible-content">{{{1}}}</div> </div> </includeonly> <noinclude> Basic spoiler template to keep spoilers hidden when a page loads. Example useage <nowiki>{{Spoiler|SFFA means Science Fiction Fantasy Alliance}}</nowiki> to produce {{Spoiler|SFFA means Science Fiction Fantasy Alliance}} </noinclude>"
 
No edit summary
 
Line 1: Line 1:
<includeonly>
<includeonly>
<div class="toccolours mw-collapsible mw-collapsed" data-expandtext="Show Spoiler" data-collapsetext="Hide Spoiler">
<templatestyles src="Spoiler/styles.css" wrapper ="div.spoiler"/>
<div class=" spoiler toccolours mw-collapsible mw-collapsed" data-expandtext="Show Spoiler" data-collapsetext="Hide Spoiler">
<div class="mw-collapsible-content">{{{1}}}</div>
<div class="mw-collapsible-content">{{{1}}}</div>
</div>
</div>

Latest revision as of 01:39, 24 March 2025


Basic spoiler template to keep spoilers hidden when a page loads.

Example useage

{{Spoiler|SFFA means Science Fiction Fantasy Alliance}}

to produce


SFFA means Science Fiction Fantasy Alliance