Template:JavaScript required/doc

This template inserts a collapsible <div> that displays Requires JavaScript. if JavaScript is not enabled. If JavaScript is enabled, the message is collapsed / hidden from view.

Usage

edit
Default
{{JavaScript required}}
Custom Message
{{JavaScript required|Enable JavaScript for full functionality.}}

Examples

edit

Note for the examples, if you have JavaScript already enabled, the content is hidden.

Default

Requires JavaScript.


Custom Message

Enable JavaScript for full functionality.


See also

edit