Template:Infobox hardware: Difference between revisions
Appearance
Created page with "<includeonly> {| class="infobox" style="width: 300px; float:right; border:1px solid #ccc; background-color:#f9f9f9; font-family:Arial, Helvetica, sans-serif; font-size:90%; line-height:1.4em; margin:0 0 1em 1em; padding:0.2em;" |- ! colspan="2" style="font-size:120%; text-align:center; background-color:#ddeeff;" | {{{title|{{PAGENAME}}}}} {{#if:{{{image|}}}| |- | colspan="2" style="text-align:center;" | [[File:{{{image}}}|300px]]}} {{#if:{{{caption|}}}| |- | colspan="2"..." |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{| class="infobox" style="width: 300px; float:right; border: | {| class="infobox" style="width: 300px; float: right; border-collapse: collapse; background-color: #f9f9f9; border: 1px solid #aaa; margin-left: 1em;" | ||
! colspan="2" style="background-color: #606060; color: white; text-align: center;" | {{{title|{{PAGENAME}}}}} | |||
|- | |- | ||
{{#if: {{{image|}}} | | |||
| colspan="2" style="text-align: center;" | [[File:{{{image}}}|300px|alt={{{caption|}}}]]<br /><small>{{{caption|}}}</small> | |||
|- | |- | ||
| | }} | ||
{{#if: {{{type|}}} | | |||
! scope="row" style="text-align: left; padding: 5px;" | Type | |||
| style="padding: 5px;" | {{{type}}} | |||
|- | |- | ||
| | }} | ||
{{#if: {{{designer|}}} | | |||
! scope="row" style="text-align: left; padding: 5px;" | Designer | |||
| style="padding: 5px;" | {{{designer}}} | |||
|- | |- | ||
}} | |||
{{#if: {{{layers|}}} | | |||
{{#if:{{{ | ! scope="row" style="text-align: left; padding: 5px;" | Layers | ||
| style="padding: 5px;" | {{{layers}}} | |||
|- | |- | ||
}} | |||
{{#if: {{{compatibility|}}} | | |||
{{#if:{{{ | ! scope="row" style="text-align: left; padding: 5px;" | Compatibility | ||
| style="padding: 5px;" | {{{compatibility}}} | |||
|- | |- | ||
}} | |||
{{#if: {{{features|}}} | | |||
{{#if:{{{ | ! scope="row" style="text-align: left; padding: 5px;" | Features | ||
| | | style="padding: 5px;" | {{{features}}} | ||
|}} | |||
| | |||
| | |||
|} | |} | ||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
== Usage == | == Usage == | ||
Use this template to create consistent hardware infoboxes across your pages. | |||
=== Syntax === | |||
<pre> | <pre> | ||
{{Infobox hardware | {{Infobox hardware | ||
| title = | | title = | ||
| image = | | image = | ||
| caption = | | caption = | ||
| type = | | type = | ||
| designer = | | designer = | ||
| layers = | | layers = | ||
| compatibility = | | compatibility = | ||
| features = | | features = | ||
}} | }} | ||
</pre> | </pre> | ||
== Example == | === Example === | ||
<pre> | <pre> | ||
{{Infobox hardware | {{Infobox hardware | ||
| title = Macintosh SE/30 Reloaded Logic Board | | title = Macintosh SE/30 Reloaded Logic Board | ||
| image = SE30_Reloaded_Board.jpg | | image = SE30_Reloaded_Board.jpg | ||
| caption = Fully assembled | | caption = Fully assembled board | ||
| type = Logic Board | | type = Logic Board | ||
| designer = Community Designed | | designer = Community Designed | ||
| Line 63: | Line 65: | ||
</pre> | </pre> | ||
[[Category:Templates|Infobox hardware]] | |||
</noinclude> | </noinclude> | ||
Revision as of 19:11, 29 March 2025
Usage
Use this template to create consistent hardware infoboxes across your pages.
Syntax
{{Infobox hardware
| title =
| image =
| caption =
| type =
| designer =
| layers =
| compatibility =
| features =
}}
Example
{{Infobox hardware
| title = Macintosh SE/30 Reloaded Logic Board
| image = SE30_Reloaded_Board.jpg
| caption = Fully assembled board
| type = Logic Board
| designer = Community Designed
| layers = 4-layer PCB
| compatibility = Macintosh SE/30
| features = Modern design, Original Apple ASIC integration
}}