Difference between revisions of "Template:Infobox keyboard"

From Deskthority wiki
Jump to navigation Jump to search
(Template marked as obsolete; don't want to delete, as it could affect browsing old versions of pages (not sure on this TBH))
(Repurposed as the next keyboard template, started as a clone of current template:Infobox dkeyboard with only one change: do not process the "website" parameter, ie. pass the argument "as is". If we ever get Lua this should be the one being adapted.)
Line 1: Line 1:
<noinclude><font color="red">'''Obsolete template!'''</font>
+
<noinclude>{{infobox keyboard
 +
| title        = Apple M0110
 +
| image name  = Apple M0110 top view.jpg
 +
| pn          = M0110
 +
| manufacturer = [[Apple|Apple Computer, Inc]]
 +
| switch      = [[Alps SKCC series]], [[Alps SKCC Lock]]
 +
| stabiliser  = ALPS stabilizer
 +
| interface    = Apple proprietary
 +
| years        = 1984–1986
 +
| precedes    = [[Apple M0110A]]
 +
}}
 +
 
 +
Keyboard infobox template.
 +
 
 +
<pre>{{infobox keyboard
 +
| title        = Apple M0110
 +
| image name  = Apple M0110 top view.jpg
 +
| pn          = M0110
 +
| manufacturer = [[Apple|Apple Computer, Inc]]
 +
| switch      = [[Alps SKCC series]], [[Alps SKCC Lock]]
 +
| stabiliser  = ALPS stabiliser
 +
| interface    = Apple proprietary
 +
| years        = 1984–1986
 +
| precedes    = [[Apple M0110A]]
 +
}}</pre></noinclude><includeonly>{{ infobox
 +
| title      = {{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}}}}
 +
| colour      = green
 +
 
 +
| image      = {{#if: {{{image name|}}} | {{Infobox/image|{{{image name}}}}} | {{{illustration|}}} }}
 +
 
 +
| label1      = Model no.
 +
| data1      = {{{model|}}}
 +
 
 +
| label2      = Part number
 +
| data2      = {{{pn|}}}
 +
 
 +
| label3      = FCC ID
 +
| data3      = {{{fcc|}}}
 +
 
 +
| label4      = Branding
 +
| data4      = {{{branding|}}}
 +
 
 +
| label5      = Manufacturer
 +
| data5      = {{{manufacturer|}}}
 +
 
 +
| label6      = Product family
 +
| data6      = {{{family|}}}
 +
 
 +
| label7      = Designer
 +
| data7      = {{{designer|}}}
 +
 
 +
| label8      = License
 +
| data8      = {{{license|}}}
 +
 
 +
| label9      = Features
 +
| data9      = {{{features|}}}
 +
 
 +
| label10    = Layouts
 +
| data10      = {{{layouts|}}}
 +
 
 +
| label11    = Keyswitches
 +
| data11      = {{{switch|}}}
 +
 
 +
| label12    = Switch mount
 +
| data12      = {{{switch mount|{{{switchmount|}}}}}}
 +
 
 +
| label13    = Key travel
 +
| data13      = {{{keytravel|}}}
 +
 
 +
| label14    = Stabiliser
 +
| data14      = {{{stabiliser|}}}
 +
 
 +
| label15    = Keycaps
 +
| data15      = {{{keycaps|}}}
 +
 
 +
| label16    = Interface
 +
| data16      = {{{interface|}}}
 +
 
 +
| label17    = Interconnect
 +
| data17      = {{{interconnect|}}}
 +
 
 +
| label18    = Power draw
 +
| data18      = {{{power draw|}}}
 +
 
 +
| label19    = Battery
 +
| data19      = {{{battery|}}}
 +
 
 +
| label20    = Rollover
 +
| data20      = {{{rollover|}}}
  
Use [[Template:Infobox dkeyboard]] instead.</noinclude>{{ infobox
+
| label21    = Dimensions
| above = {{{name|<includeonly>{{PAGENAME}}</includeonly>}}}
+
| data21      = {{{dimensions|}}}
  
| image     = {{{keyboard_pic<includeonly>|{{{keyboard_pic|}}}</includeonly>}}}
+
| label22    = Weight
 +
| data22     = {{{weight|}}}
  
| label1      = Manufacturer
+
<!-- Simple year span -->
| data1      = {{{manufacturer}}}
+
| label23    = Years of production
 +
| data23      = {{{years|}}}
  
 +
<!-- Useful if only one year known, or if you need to write qualifiers against the dates -->
 +
| label24    = Introduced
 +
| data24      = {{{introduced|}}}
  
| label2      = Switch used
+
| label25    = Discontinued
| data2      ={{{switch}}}
+
| data25      = {{{discontinued|}}}
  
 +
| label26    = Precedes
 +
| data26      = {{{precedes|}}}
  
| label3      =Available layouts
+
| label27    = Supersedes
| data3      ={{{layouts}}}
+
| data27      = {{{supersedes|}}}
  
| label4      =Price range
+
| label28    = Price
| data4      ={{{price}}}
+
| data28      = {{{price|}}}
  
|  
+
| label29    = Website
}}
+
| data29      = {{{website|}}}
 +
 
 +
}}</includeonly><noinclude>
 +
 
 +
===Parameters===
 +
;name
 +
:Title of the infobox; defaults to the page title if omitted
 +
;image name
 +
:Keyboard image, filename only
 +
;illustration
 +
:Overrides image name; provide a complete File: image tag for custom control
 +
;model
 +
:Model number, e.g. ML4400
 +
;pn
 +
:Part number or article number, e.g. G84-4400
 +
;fcc
 +
:FCC ID
 +
;branding
 +
:Branding, if different from the OEM (original equipment manufacturer), or "None" for unbranded products
 +
;manufacturer
 +
:Manufacturer
 +
;family
 +
:Product family
 +
;designer
 +
:Name of designer(s), if known.
 +
;license
 +
:If open source/open hardware, which license it is under
 +
;features
 +
:Features
 +
;layouts
 +
:Layouts, e.g. "[[ANSI]]", "[[ISO]]" (multiple ISO layouts), "German ISO"
 +
;switch
 +
:Keyswitches
 +
;switch mount
 +
:[[Switch mount]], particularly for switches which can be both PCB and plate mount, such as [[Cherry MX]]
 +
;keycaps
 +
:[[Keycap]] type (e.g. double-shot spherical, pad-printed)
 +
;stabiliser
 +
:[[Stabiliser]] type (e.g. Cherry PCB mount, Costar plate mount)
 +
;keytravel
 +
:Key travel, if not mentioned in a switch's article
 +
;interface
 +
:Electronic interface, e.g. [[PS/2 interface|PS/2]] or [[XT keyboard interface|XT]]
 +
;interconnect
 +
:If split into multiple parts, which kind of cable/connectors is needed to connect them. Superfluous if same as "interface" above.
 +
;power draw
 +
:Power draw, if wired
 +
;battery
 +
:Battery type and capacity, if wireless
 +
;rollover
 +
:[[Rollover, blocking and ghosting|Rollover]], e.g. NKRO, 2KRO
 +
;dimensions
 +
:Dimensions, e.g. 470×183×38 mm
 +
;weight
 +
:Weight, e.g. 1240 g
 +
;years
 +
:Years of production, e.g. "2001–2010"; if only one year is known, use the '''introduced''' or '''discontinued''' fields instead
 +
;introduced
 +
:Year (yyyy) or date (yyyy-mm-dd) of introduction
 +
;discontinued
 +
:Year (yyyy) or date (yyyy-mm-dd) in which the keyboard was discontinued, or "Yes" if the year not known but product is no longer sold
 +
;precedes
 +
:One or more keyboards that followed the keyboard in question
 +
;supersedes
 +
:One or more keyboards that came before keyboard in question
 +
;price
 +
:Price
 +
;website
 +
:Product website
 +
 
 +
[[Category:Infobox templates]]
 +
</noinclude>

Revision as of 19:30, 30 April 2024

Infobox keyboard
Apple M0110 top view.jpg
Part number M0110
Manufacturer Apple Computer, Inc
Keyswitches Alps SKCC series, Alps SKCC Lock
Stabiliser ALPS stabilizer
Interface Apple proprietary
Years of production 1984–1986
Precedes Apple M0110A

Keyboard infobox template.

{{infobox keyboard
| title        = Apple M0110
| image name   = Apple M0110 top view.jpg
| pn           = M0110
| manufacturer = [[Apple|Apple Computer, Inc]]
| switch       = [[Alps SKCC series]], [[Alps SKCC Lock]]
| stabiliser   = ALPS stabiliser
| interface    = Apple proprietary
| years        = 1984–1986
| precedes     = [[Apple M0110A]]
}}

Parameters

name
Title of the infobox; defaults to the page title if omitted
image name
Keyboard image, filename only
illustration
Overrides image name; provide a complete File: image tag for custom control
model
Model number, e.g. ML4400
pn
Part number or article number, e.g. G84-4400
fcc
FCC ID
branding
Branding, if different from the OEM (original equipment manufacturer), or "None" for unbranded products
manufacturer
Manufacturer
family
Product family
designer
Name of designer(s), if known.
license
If open source/open hardware, which license it is under
features
Features
layouts
Layouts, e.g. "ANSI", "ISO" (multiple ISO layouts), "German ISO"
switch
Keyswitches
switch mount
Switch mount, particularly for switches which can be both PCB and plate mount, such as Cherry MX
keycaps
Keycap type (e.g. double-shot spherical, pad-printed)
stabiliser
Stabiliser type (e.g. Cherry PCB mount, Costar plate mount)
keytravel
Key travel, if not mentioned in a switch's article
interface
Electronic interface, e.g. PS/2 or XT
interconnect
If split into multiple parts, which kind of cable/connectors is needed to connect them. Superfluous if same as "interface" above.
power draw
Power draw, if wired
battery
Battery type and capacity, if wireless
rollover
Rollover, e.g. NKRO, 2KRO
dimensions
Dimensions, e.g. 470×183×38 mm
weight
Weight, e.g. 1240 g
years
Years of production, e.g. "2001–2010"; if only one year is known, use the introduced or discontinued fields instead
introduced
Year (yyyy) or date (yyyy-mm-dd) of introduction
discontinued
Year (yyyy) or date (yyyy-mm-dd) in which the keyboard was discontinued, or "Yes" if the year not known but product is no longer sold
precedes
One or more keyboards that followed the keyboard in question
supersedes
One or more keyboards that came before keyboard in question
price
Price
website
Product website