Template:Spoiler/doc: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Created documentation.)
 
(category)
Line 13: Line 13:
* message  
* message  
:The actual spoiler itself.
:The actual spoiler itself.
<noinclude>[[Category:Template documentation]]</noinclude>

Revision as of 12:14, 27 August 2023

This is a template to be used to hide spoilers.

Syntax

{{Spoiler|button-text=Click me|message=spoiler here}}

The above generates:

Click me


Parameters

  • button-text
The text to be displayed on the button.
  • message
The actual spoiler itself.