Difference between revisions of "Template:Infobox keyboard"

From Deskthority wiki
Jump to navigation Jump to search
(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.)
m (Example now demonstrates the modified handling of the "website" parameter and correctly uses "name" instead of "title".)
 
Line 1: Line 1:
 
<noinclude>{{infobox keyboard
 
<noinclude>{{infobox keyboard
| title        = Apple M0110
+
| name        = Apple M0110
 
| image name  = Apple M0110 top view.jpg
 
| image name  = Apple M0110 top view.jpg
 
| pn          = M0110
 
| pn          = M0110
Line 9: Line 9:
 
| years        = 1984–1986
 
| years        = 1984–1986
 
| precedes    = [[Apple M0110A]]
 
| precedes    = [[Apple M0110A]]
 +
| website      = [https://www.example.com Example of external link]<br>http://www.example.com/bareurl-test
 
}}
 
}}
  
Line 14: Line 15:
  
 
<pre>{{infobox keyboard
 
<pre>{{infobox keyboard
| title        = Apple M0110
+
| name        = Apple M0110
 
| image name  = Apple M0110 top view.jpg
 
| image name  = Apple M0110 top view.jpg
 
| pn          = M0110
 
| pn          = M0110
Line 23: Line 24:
 
| years        = 1984–1986
 
| years        = 1984–1986
 
| precedes    = [[Apple M0110A]]
 
| precedes    = [[Apple M0110A]]
 +
| website      = [https://www.example.com Example of external link]<br>http://www.example.com/bareurl-test
 
}}</pre></noinclude><includeonly>{{ infobox
 
}}</pre></noinclude><includeonly>{{ infobox
 
| title      = {{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}}}}
 
| title      = {{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}}}}

Latest revision as of 19:40, 30 April 2024

Apple M0110
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
Website Example of external link
http://www.example.com/bareurl-test

Keyboard infobox template.

{{infobox keyboard
| name         = 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]]
| website      = [https://www.example.com Example of external link]<br>http://www.example.com/bareurl-test
}}

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