• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:JavaScript

  • Template
  • Talk
  • Language
  • Watch
  • Edit
  • v
  • t
  • e
JavaScript
Code analysis
  • ESLint
  • JSHint
  • JSLint
Supersets
  • ArkTS
  • JS++
  • TypeScript
Transpilers
  • AtScript
  • Babel
  • ClojureScript
  • CoffeeScript
  • Dart
  • Elm
  • Emscripten
  • Google Closure Compiler
  • Google Web Toolkit
  • Haxe
  • LiveScript
  • Morfik
  • Nim
  • Opa
  • PureScript
  • Reason
  • WebSharper
Concepts
  • JavaScript library
  • JavaScript syntax
  • JavaScript stack
Debuggers
  • Chrome DevTools
  • Firefox Inspector
  • Komodo IDE
  • Safari Web Inspector
Documentation generators
  • JSDoc
Editors (comparison)
  • Ace
    • Cloud9 IDE
  • Atom
  • CodeMirror
    • Brackets
    • Light Table
  • PhpStorm
  • Orion
  • Visual Studio
    • Visual Studio Express
  • Visual Studio Code
  • Visual Studio Team Services
  • Vim
Engines
  • List of JavaScript engines
Frameworks
  • Comparison of JavaScript frameworks
  • List of JavaScript libraries
Related technologies
  • Ajax
  • AssemblyScript
  • asm.js
  • Cascading Style Sheets
  • Document Object Model
  • HTML
    • HTML5
  • JSON
  • WebAssembly
  • WebAuthn
Package managers
  • npm
  • pnpm
  • yarn
Module bundlers
  • Webpack
  • Vite
  • esbuild
Server-side
  • Active Server Pages
  • Bun
  • CommonJS
  • Deno
  • JSGI
  • Node.js
Unit testing frameworks (list)
  • Jasmine
  • Mocha
  • QUnit
People
  • Douglas Crockford
  • Ryan Dahl
  • Brendan Eich
  • John Resig
  • Jesse James Garrett
Template documentation[view] [edit] [history] [purge]
This template does not display in the mobile view of Wikipedia; it is desktop only. See Template:Navbox visibility for a brief explanation.

This is a navigational template created using {{navbox}}. It can be transcluded on pages by placing {{JavaScript}} below the standard article appendices.

Initial visibility

This template's initial visibility currently defaults to autocollapse, meaning that if there is another collapsible item on the page (a navbox, sidebar, or table with the collapsible attribute), it is hidden apart from its title bar; if not, it is fully visible.

To change this template's initial visibility, the |state= parameter may be used:

  • {{JavaScript|state=collapsed}} will show the template collapsed, i.e. hidden apart from its title bar.
  • {{JavaScript|state=expanded}} will show the template expanded, i.e. fully visible.

Templates using the classes class=navbox ({{navbox}}) or class=nomobile ({{sidebar}}) are not displayed in article space on the mobile web site of English Wikipedia. Mobile page views account for approximately 68% of all page views (90-day average as of September 2024[update]). Briefly, these templates are not included in articles because 1) they are not well designed for mobile, and 2) they significantly increase page sizes—bad for mobile downloads—in a way that is not useful for the mobile use case. You can review/watch phab:T124168 for further discussion.

TemplateData

A navigational box that can be placed at the bottom of articles.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Statestate

The initial visibility of the navbox

Suggested values
collapsed expanded autocollapse
Stringsuggested

Template transclusions

Transclusion maintenance
Check completeness of transclusions
The above documentation is transcluded from Template:Navbox documentation. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages.
Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:JavaScript&oldid=1307587846"
Last edited on 24 August 2025, at 14:19

Languages

    • العربية
    • Azərbaycanca
    • فارسی
    • Français
    • 한국어
    • 日本語
    • Русский
    • کوردی
    • Српски / srpski
    • Türkçe
    • Українська
    • اردو
    • Tiếng Việt
    • 中文
    Wikipedia
    • Wikimedia Foundation
    • Powered by MediaWiki
    • This page was last edited on 24 August 2025, at 14:19 (UTC).
    • Content is available under CC BY-SA 4.0 unless otherwise noted.
    • Privacy policy
    • About Wikipedia
    • Disclaimers
    • Contact Wikipedia
    • Code of Conduct
    • Developers
    • Statistics
    • Cookie statement
    • Terms of Use
    • Desktop