Difference between revisions of "Template:Device Infobox/Begin"
Malvineous (Talk | contribs) m (Remove link to Ethernet Infobox as it has been deleted) |
Malvineous (Talk | contribs) m (Infobox Item -> Device Infobox/Item) |
||
Line 3: | Line 3: | ||
<div style="text-align:center; font-size: 120%;" itemprop="name">'''{{PAGENAME}}'''</div> | <div style="text-align:center; font-size: 120%;" itemprop="name">'''{{PAGENAME}}'''</div> | ||
<div id="infobox-image" style="text-align:center;">{{#ifexist: Image:{{{Image|{{PAGENAME}}.jpg}}}|[[Image:{{{Image|{{PAGENAME}}.jpg}}}|320px]]<meta itemprop="thumbnailUrl" content="{{fullurl:{{{Image|{{PAGENAME}}.jpg}}}}}" /><br />|''There is no image of this device — <span class="plainlinks">[{{fullurl:Special:Upload|wpDestFile={{{Image|{{PAGENAMEE}}.jpg}}}}} upload one]</span>!''<includeonly>{{#ifeq:{{{IsInfoboxPage|N}}} | N | [[Category:Devices missing photos]] }}</includeonly>}}</div><table> | <div id="infobox-image" style="text-align:center;">{{#ifexist: Image:{{{Image|{{PAGENAME}}.jpg}}}|[[Image:{{{Image|{{PAGENAME}}.jpg}}}|320px]]<meta itemprop="thumbnailUrl" content="{{fullurl:{{{Image|{{PAGENAME}}.jpg}}}}}" /><br />|''There is no image of this device — <span class="plainlinks">[{{fullurl:Special:Upload|wpDestFile={{{Image|{{PAGENAMEE}}.jpg}}}}} upload one]</span>!''<includeonly>{{#ifeq:{{{IsInfoboxPage|N}}} | N | [[Category:Devices missing photos]] }}</includeonly>}}</div><table> | ||
− | {{Infobox Item | Bus type | [[Bus type::{{#if:{{{Bus type|}}}|{{{Bus type}}}|Unknown}}]] }} | + | {{Device Infobox/Item | Bus type | [[Bus type::{{#if:{{{Bus type|}}}|{{{Bus type}}}|Unknown}}]] }} |
− | {{Infobox Item | Bus width | [[Bus width::{{#if:{{{Bus width|}}}|{{{Bus width}}}|Unknown}}]] }} | + | {{Device Infobox/Item | Bus width | [[Bus width::{{#if:{{{Bus width|}}}|{{{Bus width}}}|Unknown}}]] }} |
− | {{Infobox Item | Bus speed | [[Bus speed::{{#if:{{{Bus speed|}}}|{{{Bus speed}}}|Unknown}}]] }} | + | {{Device Infobox/Item | Bus speed | [[Bus speed::{{#if:{{{Bus speed|}}}|{{{Bus speed}}}|Unknown}}]] }} |
{{#ifeq:{{{Bus type|ISA}}}{{{Bus width|16-bit}}}|ISA16-bit| | {{#ifeq:{{{Bus type|ISA}}}{{{Bus width|16-bit}}}|ISA16-bit| | ||
− | {{Infobox Item | 8-bit ISA compatible? | [[Is 8-bit ISA compatible::{{#if:{{{8-bit ISA compatible|}}}|{{{8-bit ISA compatible}}}|Unknown}}]] }} | + | {{Device Infobox/Item | 8-bit ISA compatible? | [[Is 8-bit ISA compatible::{{#if:{{{8-bit ISA compatible|}}}|{{{8-bit ISA compatible}}}|Unknown}}]] }} |
}} | }} | ||
Line 15: | Line 15: | ||
{{#ifeq:{{{Bus type|PCI}}}|PCI| | {{#ifeq:{{{Bus type|PCI}}}|PCI| | ||
− | {{Infobox Item | PCI 5V tolerant? | [[Is PCI 5V tolerant::{{#if:{{{PCI 5V|}}}|{{{PCI 5V}}}|Unknown}}]] }} | + | {{Device Infobox/Item | PCI 5V tolerant? | [[Is PCI 5V tolerant::{{#if:{{{PCI 5V|}}}|{{{PCI 5V}}}|Unknown}}]] }} |
− | {{Infobox Item | PCI 3.3V tolerant? | [[Is PCI 3.3V tolerant::{{#if:{{{PCI 3.3V|}}}|{{{PCI 3.3V}}}|Unknown}}]] }} | + | {{Device Infobox/Item | PCI 3.3V tolerant? | [[Is PCI 3.3V tolerant::{{#if:{{{PCI 3.3V|}}}|{{{PCI 3.3V}}}|Unknown}}]] }} |
}} | }} | ||
{{#ifeq:{{{Bus type|AGP}}}|AGP| | {{#ifeq:{{{Bus type|AGP}}}|AGP| | ||
− | {{Infobox Item | AGP speed | [[Has AGP speed::{{{AGP speed|Unknown}}}]] }} | + | {{Device Infobox/Item | AGP speed | [[Has AGP speed::{{{AGP speed|Unknown}}}]] }} |
}} | }} | ||
− | {{Infobox Item | Manufacturer | [[Manufacturer::{{#if:{{{Manufacturer|}}}|{{{Manufacturer}}}|Unknown}}]] }} | + | {{Device Infobox/Item | Manufacturer | [[Manufacturer::{{#if:{{{Manufacturer|}}}|{{{Manufacturer}}}|Unknown}}]] }} |
− | {{Infobox Item | Chipset | [[Chipset::{{#if:{{{Chipset|}}}|{{{Chipset}}}|Unknown}}]] }} | + | {{Device Infobox/Item | Chipset | [[Chipset::{{#if:{{{Chipset|}}}|{{{Chipset}}}|Unknown}}]] }} |
{{#if:{{{Compatible with|}}}| | {{#if:{{{Compatible with|}}}| | ||
− | {{Infobox Item | Compatible with | {{{Compatible with}}} }} | + | {{Device Infobox/Item | Compatible with | {{{Compatible with}}} }} |
}} | }} | ||
− | {{Infobox Item | Connectors | {{#if:{{{Connectors|}}}|{{{Connectors}}}|''Unknown''}} }} | + | {{Device Infobox/Item | Connectors | {{#if:{{{Connectors|}}}|{{{Connectors}}}|''Unknown''}} }} |
{{{Extra fields|}}} | {{{Extra fields|}}} | ||
− | {{Infobox Item | Requires -5VDC? | [[Requires -5VDC::{{#if:{{{Requires -5VDC|}}}|{{{Requires -5VDC}}}|Unknown}}]] }} | + | {{Device Infobox/Item | Requires -5VDC? | [[Requires -5VDC::{{#if:{{{Requires -5VDC|}}}|{{{Requires -5VDC}}}|Unknown}}]] }} |
− | {{Infobox Item | Requires -12VDC? | [[Requires -12VDC::{{#if:{{{Requires -12VDC|}}}|{{{Requires -12VDC}}}|Unknown}}]] }} | + | {{Device Infobox/Item | Requires -12VDC? | [[Requires -12VDC::{{#if:{{{Requires -12VDC|}}}|{{{Requires -12VDC}}}|Unknown}}]] }} |
− | {{Infobox Item | Config method | {{{Config|''Unknown''}}} }} | + | {{Device Infobox/Item | Config method | {{{Config|''Unknown''}}} }} |
<noinclude> | <noinclude> | ||
{{Device Infobox/End}} | {{Device Infobox/End}} |
Revision as of 20:50, 13 February 2016
Bus type | |
---|---|
Bus width | |
Bus speed | Unknown |
8-bit ISA compatible? | Unknown |
PCI 5V tolerant? | Unknown |
PCI 3.3V tolerant? | |
AGP speed | Unknown |
Manufacturer | Unknown |
Chipset | Unknown |
Connectors | Unknown |
Requires -5VDC? | Unknown |
Requires -12VDC? | Unknown |
Config method | Unknown |
Driver | Missing download URL |
This template is used to build a more specific infobox for particular types of devices. See Accton EN1640 for example use, and Category:Infoboxes for device types that can be placed inside this infobox.
Valid parameters and examples are:
Parameter | Meaning |
---|---|
Image = Image.jpg | Photo of the device. Use the default name wherever possible (i.e. do not use this option unless you have to). If there are characters that cannot be used in a filename (e.g. a forward slash), try to find a Unicode equivalent to use instead (e.g. mathematical division slash) which are allowed in filenames and look the same. |
Bus type = Value | The bus type is a text field containing only one of the following permitted values:
Other buses should be added to this list as needed. If a device is available with more than one bus type, a different page should be created for each version of the device, as technically those cards are slightly different models. If a card has multiple bus connections (e.g. some POST cards support both PCI and ISA on different edges of the card) then pick the oldest one, and list the others in the article text using code similar to this: This card also has a [[Bus type::PCI]] connector. |
Bus width = Value | The bus type is a text field containing only one of the following permitted values, which vary depending on the bus type:
|
Bus speed = Value | Rated maximum bus speed of the device. The values depend on the bus type:
|
8-bit ISA compatible = Value | 16-bit ISA only: This boolean property is Yes if a 16-bit ISA card is known to work in an 8-bit ISA slot. It is No if the card is known not to work in an 8-bit slot. If the value is not set, then the card has not yet been tested in an 8-bit slot. If the card is an 8-bit card then this value is automatically set to Yes so it can be omitted. It is likewise automatically set to No for non-ISA buses so it can be omitted there as well.
This is useful for those working with XT and older computers, which only have 8-bit slots. Knowing a particular 16-bit card will work in a machine with only 8-bit slots saves the hassle of trying to find an 8-bit card to use. If a card does not natively work in an 8-bit slot but can be made to do so with different drivers, then this value should be set to Yes, but an explanation should be given on the device's page. |
PCI 5V = Value | PCI only: Boolean value indicating whether the card will work in a 5 VDC PCI slot. Yes, No or Unknown. |
PCI 3.3V = Value | PCI only: Boolean value indicating whether the card will work in a 3.3 VDC PCI slot. Yes, No or Unknown. |
AGP speed = Value | AGP only: Property:Has AGP speed |
Manufacturer = Value | Page for the manufacturer's company name. Be consistent so all cards with the same manufacturer are grouped together. |
Chipset = Value | Text value containing the name of the primary chipset. Be consistent so all cards with the same chipset are grouped together. If there is more than one large chip, try to pick the biggest or the one most related to the card's primary function. |
Compatible with = Value | Generic interfaces that can be used to control this card. Valid values depend on the device type, see the device-specific infobox pages for examples. Each interface has a page of its own. |
Connectors = Value | Which externally accessible connectors are on the card? Comma separated list of Has connector page elements. Valid values depend on the device type, see Has connector for a list. An example is [[Has connector::VGA]], [[Has connector::RS232/DB25]]
Internal connectors are typically specified elsewhere in the infobox. |
Extra fields = Value | Additional infobox fields for more specific infoboxes to use. Zero or more whitespace-separated instances of Template:Device Infobox/Item. |
Requires -5VDC = Value | Boolean value indicating whether the device requires -5VDC present to function correctly. Yes, No or Unknown. This can be important since most modern power supplies no longer deliver -5VDC. |
Requires -12VDC = Value | Boolean value indicating whether the device requires -12VDC present to function correctly. Yes, No or Unknown. |
Config = Value | Configuration method used to set card resources (addresses, IRQ, etc.). Comma separated list, one or more of:
|
Driver = Wikilink | Link to latest driver download. Avoid multiple links - if it is important to have multiple downloads, put them in a 'downloads' section in the article. Example: Driver = [http://example.com/example.zip example.zip] |
IsInfoboxPage = Value | Internal use only, do not use. This value is set to Y on infobox pages to avoid the infoboxes themselves being added to categories like 'missing images'. |
Default values are shown if the parameter is omitted, so do not use any parameters unless the value is known (most of the defaults say "unknown")