Difference between revisions of "Template:Infobox dswitch"

From Deskthority wiki
Jump to navigation Jump to search
(Update and example; also, moved force graph class name to the correct parameter (and corrected it as it was not a valid CSS class name))
(Added preload; added imperial/US measurements, as these are in fact valid when products were manufactured and specified in imperial/US measurements)
 
(3 intermediate revisions by the same user not shown)
Line 20: Line 20:
 
| switch mount      = [[Plate mount]]
 
| switch mount      = [[Plate mount]]
 
}}</pre></noinclude><includeonly>{{ infobox
 
}}</pre></noinclude><includeonly>{{ infobox
| title          = {{{name|{{PAGENAME}}}}}
+
| title          = {{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}}}}
 
| colour        = blue
 
| colour        = blue
  
| image          = {{#if: {{{illustration|}}} | {{{illustration}}} | {{#if: {{{image name|}}} | [[File:{{{image name}}}{{!}}250px]] | }} }}
+
| image          = {{#if: {{{illustration|}}} | {{{illustration}}} | {{#if: {{{image name|}}} | {{Infobox/image|{{{image name}}}}} | }} }}
  
 
| imagerowclass2 = force-graph
 
| imagerowclass2 = force-graph
| image2        = {{#if: {{{force graph|}}} | {{{force graph}}} | {{#if: {{{force graph name|}}} | [[File:{{{force graph name}}}{{!}}250px]] | }} }}
+
| image2        = {{#if: {{{force graph|}}} | {{{force graph}}} | {{#if: {{{force graph name|}}} | {{Infobox/image|{{{force graph name}}}}} | }} }}
  
 
| label1        = Manufacturer
 
| label1        = Manufacturer
Line 70: Line 70:
 
| data14        = {{{lifetime|}}}
 
| data14        = {{{lifetime|}}}
  
| label15        = Tactile force
+
| label15        = Bounce time
| data15        = {{{tactile force|}}}
+
| data15        = {{{bounce time|}}}
  
| label16        = Actuation force
+
| label16        = Preload
| data16        = {{{actuation force|}}}
+
| data16        = {{{preload|}}}
  
| label17        = Peak force
+
| label17        = Tactile force
| data17        = {{{peak force|}}}
+
| data17        = {{{tactile force|}}}
  
| label18        = Pretravel
+
| label18        = Actuation force
| data18        = {{{pretravel|}}}
+
| data18        = {{{actuation force|}}}
  
| label19        = Total travel
+
| label19        = Peak force
| data19        = {{{travel|}}}
+
| data19        = {{{peak force|}}}
  
| label20        = Keycap mount
+
| label20        = Pretravel
| data20        = {{{keycap mount|}}}
+
| data20        = {{{pretravel|}}}
  
| label21        = Switch mount
+
| label21        = Total travel
| data21        = {{{switch mount|}}}
+
| data21        = {{{travel|}}}
  
| label22        = Patents
+
| label22        = Keycap mount
| data22        = {{{patents|}}}
+
| data22        = {{{keycap mount|}}}
  
| label23        = Website
+
| label23       = Switch mount
| data23         = {{#if: {{{website|}}} | {{URL|{{{website}}}}} |  }}
+
| data23        = {{{switch mount|}}}
 +
 
 +
| label24        = Patents
 +
| data24        = {{{patents|}}}
 +
 
 +
| label25       = Website
 +
| data25         = {{#if: {{{website|}}} | {{URL|{{{website}}}}} |  }}
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
  
Line 137: Line 143:
 
;lifetime
 
;lifetime
 
:Switch lifetime in millions of keystrokes (e.g. 20M)
 
:Switch lifetime in millions of keystrokes (e.g. 20M)
 +
;bounce time
 +
:Maximum [[contact bounce]] time
 +
;preload
 +
:Preload in cN, gf or oz
 
;tactile force
 
;tactile force
:Tactile [[force]] in cN or gf
+
:Tactile [[force]] in cN, gf or oz
 
;actuation force
 
;actuation force
:Actuation [[force]] in cN or gf
+
:Actuation [[force]] in cN, gf or oz
 
;peak force
 
;peak force
:Peak force in cN or gf
+
:Peak force in cN, gf or oz
 
;pretravel
 
;pretravel
:Switch travel to point of actuation (in mm)
+
:Switch travel to point of actuation (in mm or &Prime;)
 
;travel
 
;travel
:Total switch travel (in mm)
+
:Total switch travel (in mm or &Prime;)
 
;keycap mount
 
;keycap mount
 
:The [[keycap mount]]
 
:The [[keycap mount]]

Latest revision as of 21:29, 17 April 2017

Alps SKCC Cream
Alps SKCC Cream -- variants table.jpg
Manufacturer Alps Electric
Family Alps SKCC series
Switch type Linear
Sense method Metal leaf
Switch mount Plate mount

Switch infobox template.

{{infobox dswitch
| name              = Alps SKCC Cream
| image name        = Alps SKCC Cream -- variants table.jpg
| manufacturer      = [[Alps Electric]]
| family            = [[Alps SKCC series]]
| contact mechanism = [[Metal leaf]]
| switch type       = Linear
| switch mount      = [[Plate mount]]
}}

Parameters

name
Title of the infobox; defaults to the page title if omitted
image name
Switch image, filename only
illustration
Overrides image; provide a complete File: image tag for custom control
force graph name
Force graph, image filename only
force graph
Force graph illustration as a complete File: image tag
manufacturer
The manufacturer(s) of the switch
inventor
Inventor(s) of the switch
family
Product family name
product name
Manufacturer's product name
product code
Product code(s) for the switch
introduced
Year (yyyy) or date (yyyy-mm-dd) in which the switch was introduced
discontinued
Year (yyyy) or date (yyyy-mm-dd) in which the switch was discontinued
precedes
One or more switches that followed the switch in question
supersedes
One or more switches that came before switch in question
switch type
Tactile, linear, clicky, parabolic etc
tactile
Yes (tactile or tactile/clicky) or No (linear), or use switch type, above
clicky
Yes or No, or use switch type, above
sense method
The switch's method of keystroke sensing
lifetime
Switch lifetime in millions of keystrokes (e.g. 20M)
bounce time
Maximum contact bounce time
preload
Preload in cN, gf or oz
tactile force
Tactile force in cN, gf or oz
actuation force
Actuation force in cN, gf or oz
peak force
Peak force in cN, gf or oz
pretravel
Switch travel to point of actuation (in mm or ″)
travel
Total switch travel (in mm or ″)
keycap mount
The keycap mount
switch mount
The switch mount
patents
Patents relating to this switch
website
Bare URL (not a wiki syntax link) of product website