• Home
  • Random
  • Log in
  • Settings
  • About English Wikipedia @ Freddythechick
English Wikipedia @ Freddythechick

Template:Switches

  • Language
  • Watch
  • View source
  • v
  • t
  • e
Switch types
  • Analogue switch
  • Banyan switch
  • Battery isolator
  • Cam switch
  • Centrifugal switch
  • Company switch
  • Contact protection
  • Crossbar switch
  • Crossover switch
  • Cryotron
  • DIP switch
  • Dry contact
  • Electric switchboard
  • Float switch
  • Half-moon switch
  • Humidistat
  • Infinite switch
  • Inertial switch
  • Kill switch
  • Key switch
  • Knife switch
  • Limit switch
  • Latching switch
  • Light switch
  • Lightning switch
  • Magnetic proximity fuze
  • Magnetic starter
  • Magnetic switch
  • Mercury switch
  • Miniature snap-action switch
  • Motion-triggered contact insufficiency
  • Optical switch
  • Photoswitch
  • Piezo switch
  • Placebo button
  • Pull switch
  • Push switch
  • Push-button
  • Railroad switch
  • Reed switch
  • Rotary switch
  • Sail switch
  • Sea switch
  • Sense switch
  • Silicone rubber keypad
  • Softswitch
  • Spark gap
  • Staircase timer
  • Stepping switch
  • Strowger switch
  • Thermostat
  • Time switch
  • Touch switch
  • Transfer switch
  • Vacuum switch
  • Vandal-resistant switch
  • Wireless light switch
  • Zero speed switch
Switches
Template documentation[view] [edit] [history] [purge]
This template does not display in the mobile view of Wikipedia; it is desktop only. Read the documentation for an explanation.

This is a navigational template created using {{navbox}}. It can be transcluded on pages by placing {{Switches}} 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:

  • <syntaxhighlight lang="wikitext" inline="1">{{Switches|state=collapsed}}</syntaxhighlight> will show the template collapsed, i.e. hidden apart from its title bar.
  • <syntaxhighlight lang="wikitext" inline="1">{{Switches|state=expanded}}</syntaxhighlight> will show the template expanded, i.e. fully visible.

Templates using the classes class=navbox ({{navbox}}) or class=nomobile ({{sidebar}}) are not displayed 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 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 (create | mirror) and testcases (create) pages.
Subpages of this template.
Retrieved from "https://enwiki.freddythechick.net/index.php?title=Template:Switches&oldid=8910447"
Last edited on 27 September 2024, at 12:54

Languages

      This page is not available in other languages.

      English Wikipedia @ Freddythechick
      • This page was last edited on 27 September 2024, at 12:54.
      • Content is available under Creative Commons Attribution-ShareAlike 4.0 unless otherwise noted.
      • About English Wikipedia @ Freddythechick
      • Desktop