Difference between revisions of "Template:Infobox computer hardware"
(+ca) |
imported>Mattflaschen (add up to 9 due to video card, explain better) |
||
| Line 27: | Line 27: | ||
{{#if: {{{via1_6|}}}|<li>{{{via1_6}}} }} | {{#if: {{{via1_6|}}}|<li>{{{via1_6}}} }} | ||
{{#if: {{{via1_7|}}}|<li>{{{via1_7}}} }} | {{#if: {{{via1_7|}}}|<li>{{{via1_7}}} }} | ||
| − | {{#if: {{{via1_8|}}}|<li>{{{via1_8}}} }} </ul> | ''{{{via1_1|?}}}'' }} | + | {{#if: {{{via1_8|}}}|<li>{{{via1_8}}} }} |
| + | {{#if: {{{via1_9|}}}|<li>{{{via1_9}}} }} </ul> | ''{{{via1_1|?}}}'' }} | ||
{{#if: {{{conn2|}}}| | {{#if: {{{conn2|}}}| | ||
<li>''{{{conn2}}}'' via {{ #if: {{{via2_2|}}} |one of <ul style="margin: 0px; margin-left: 1.2em;"> | <li>''{{{conn2}}}'' via {{ #if: {{{via2_2|}}} |one of <ul style="margin: 0px; margin-left: 1.2em;"> | ||
| Line 37: | Line 38: | ||
{{#if: {{{via2_6|}}}|<li>{{{via2_6}}} }} | {{#if: {{{via2_6|}}}|<li>{{{via2_6}}} }} | ||
{{#if: {{{via2_7|}}}|<li>{{{via2_7}}} }} | {{#if: {{{via2_7|}}}|<li>{{{via2_7}}} }} | ||
| − | {{#if: {{{via2_8|}}}|<li>{{{via2_8}}} }} </ul> | ''{{{via2_1|?}}}'' }} | + | {{#if: {{{via2_8|}}}|<li>{{{via2_8}}} }} |
| + | {{#if: {{{via2_9|}}}|<li>{{{via2_9}}} }} </ul> | ''{{{via2_1|?}}}'' }} | ||
}} {{#if: {{{conn3|}}}| | }} {{#if: {{{conn3|}}}| | ||
<li>''{{{conn3}}}'' via {{ #if: {{{via3_2|}}} |one of <ul style="margin: 0px; margin-left: 1.2em;"> | <li>''{{{conn3}}}'' via {{ #if: {{{via3_2|}}} |one of <ul style="margin: 0px; margin-left: 1.2em;"> | ||
| Line 47: | Line 49: | ||
{{#if: {{{via3_6|}}}|<li>{{{via3_6}}} }} | {{#if: {{{via3_6|}}}|<li>{{{via3_6}}} }} | ||
{{#if: {{{via3_7|}}}|<li>{{{via3_7}}} }} | {{#if: {{{via3_7|}}}|<li>{{{via3_7}}} }} | ||
| − | {{#if: {{{via3_8|}}}|<li>{{{via3_8}}} }} </ul> | ''{{{via3_1|?}}}'' }} | + | {{#if: {{{via3_8|}}}|<li>{{{via3_8}}} }} |
| + | {{#if: {{{via3_9|}}}|<li>{{{via3_9}}} }} </ul> | ''{{{via3_1|?}}}'' }} | ||
}} | }} | ||
</ul> | </ul> | ||
| Line 89: | Line 92: | ||
| invent-name = Name of Inventor. | | invent-name = Name of Inventor. | ||
| conn1 = What the device connects to. (range 1-3) | | conn1 = What the device connects to. (range 1-3) | ||
| − | | via1_1 = Possible interface for connection. (range 1- | + | | via1_1 = Possible interface for connection. (range 1-9) |
| class-name = Name of the subclassing method. | | class-name = Name of the subclassing method. | ||
| class1 = First value in subclassing. (range 1-5) | | class1 = First value in subclassing. (range 1-5) | ||
| Line 97: | Line 100: | ||
All fields, except 'name' are optional | All fields, except 'name' are optional | ||
| − | The numbered atributes mean that there is allowance for multiples. The <code>via</code> attributes range from <code>via1_1</code> to <code> | + | The numbered atributes mean that there is allowance for multiples. The <code>via</code> attributes range from <code>via1_1</code> to <code>via3_9</code> where the first number corresponds to the appropriate connection number and the second number is the position in that connections 'via' list. For each connection (via_1, via_2, or via_3), there can be up to 9 connectors, via#_1 through via#_9. |
Images will be coming soon. | Images will be coming soon. | ||
Revision as of 06:28, 13 April 2008
| {{{name}}} |
| This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
This is for generic pieces of computer hardware that don't have more specific infoboxes, such as hard drives, motherboards, CD-ROMs etc. It should not be used for hardware such as CPUs that have their own specific infoboxes. External hardware should not use this box either.
Usage
{{ infobox computer hardware generic
| name = Device Name.
| image = An image to show in the infobox.
| caption = A caption for the image.
| invent-date = Date of Invention.
| invent-name = Name of Inventor.
| conn1 = What the device connects to. (range 1-3)
| via1_1 = Possible interface for connection. (range 1-9)
| class-name = Name of the subclassing method.
| class1 = First value in subclassing. (range 1-5)
| manuf1 = Common manufacturers of the device. (range 1-5)
}}
All fields, except 'name' are optional
The numbered atributes mean that there is allowance for multiples. The via attributes range from via1_1 to via3_9 where the first number corresponds to the appropriate connection number and the second number is the position in that connections 'via' list. For each connection (via_1, via_2, or via_3), there can be up to 9 connectors, via#_1 through via#_9.
Images will be coming soon.
See the talk page for some examples which show the full usage of this infobox in a few combinations.
ca:Plantilla:Infobox computer hardware generic bs:Šablon:Infokutija hardver