Template:JS-Test
JavaScript is active.
JavaScript is disabled in your browser.
This documentation is transcluded from Template:JS-Test/doc.
Displays whether the viewer has JavaScript enabled
Usage
{{JS-Test}}
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
1 activ | activ | Text to be shown if JS is enabled in the browser. | JavaScript is active. | optional |
2 inactiv | inactiv | Text to be shown if JS is disabled in the browser. | JavaScript is disabled in your browser. | optional |
Additional information
The template is intended to be used in the following namespaces: all namespaces
The template is intended to be used by the following user groups: all users
Relies on:
- MediaWiki:Noscript.css (
.scriptonly
) - MediaWiki:Common.css (
.noscript
)
Localization
To add your language to the list of languages supported by this template, please edit the template and add a row to the "{{LangSwitch|}}" construct. It takes the form "|xx= Your translation
" (xx
being the code of your language)