Template:Hide: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
mNo edit summary
 
Line 4: Line 4:


== Parameters ==
== Parameters ==
* <code>content</code> - The content to hide (required).
*<code>content</code> - The content to hide (required).


=== Optional parameters ===
=== Optional parameters ===
* <code>show</code> - Used to change the "show" label.
*<code>show</code> - Used to change the "show" label.
* <code>hide</code> - Used to change the "hide" label.
*<code>hide</code> - Used to change the "hide" label.
* <code>shown</code> - Set this to "1" to show the content by default
*<code>shown</code> - Set this to "yes" to show the content by default.


[[Category:Structural templates]]</noinclude>
[[Category:Structural templates]]</noinclude>

Latest revision as of 19:40, February 6, 2025

This template creates a show/hide toggle for content.

Parameters

  • content - The content to hide (required).

Optional parameters

  • show - Used to change the "show" label.
  • hide - Used to change the "hide" label.
  • shown - Set this to "yes" to show the content by default.