(Created page with "<templatestyles src=Infobox/styles.css/> {| class="wikitable infobox" style="float:right;" |+ {{{component|{{{Component|{{SUBPAGENAME}}}}}}}} | colspan=2 class=component-thumb | [[File:{{{image|Component {{{component|{{SUBPAGENAME}}}}}.png}}}|frameless|100x100px]] |- ! Width | {{#if:{{{bit-width|}}}|[[Category:{{{bit-width}}}-bit component]]}} |- ! Type | {{{type|}}}{{#if:{{{sub-type|}}}| / {{{sub-type|}}}}} {{#if:{{{type|}}}|[[Category:{{{type}}} component]...") |
m (Fixing table layout) |
||
Line 4: | Line 4: | ||
| colspan=2 class=component-thumb | [[File:{{{image|Component {{{component|{{SUBPAGENAME}}}}}.png}}}|frameless|100x100px]] | | colspan=2 class=component-thumb | [[File:{{{image|Component {{{component|{{SUBPAGENAME}}}}}.png}}}|frameless|100x100px]] | ||
|- | |- | ||
{{#if:{{{bit-width|}}}| | |||
! Width | ! Width | ||
{{!}} {{{bit-width}}} [[Category:{{{bit-width}}}-bit component]] | |||
{{!}}-}} | |||
! Type | ! Type | ||
| {{{type|}}}{{#if:{{{sub-type|}}}| / {{{sub-type|}}}}} {{#if:{{{type|}}}|[[Category:{{{type}}} component]] {{#if:{{{sub-type|}}}|[[Category:{{{type}}}-{{{sub-type}}} component]]}}}} | | {{{type|}}}{{#if:{{{sub-type|}}}| / {{{sub-type|}}}}} {{#if:{{{type|}}}|[[Category:{{{type}}} component]] {{#if:{{{sub-type|}}}|[[Category:{{{type}}}-{{{sub-type}}} component]]}}}} |
Revision as of 01:04, 14 November 2023
File:Component Infobox component.png | |
Type |
---|
This page has been transcluded from Template:Infobox component/Documentation.
Usage
{{Infobox component | component = In-game display name. Optional, defaults to subpage name | internal-enum = Internal unique ID. Optional, defaults to {{{component}}}. | image = Defaults to "Component {{{internal-enum}}}.png" | bit-width = One of 1; 8; 16; 32; 64 (Optional) | type = One of 1bit; 8bit; 16bit; 32bit; 64bit; io; (Required) | subtype = One of display; logic; math; probe; ram; sandb (Optional) | prerequisite = Level that unlocks this component (Optional) | nocategory = Set to 1, or any value, to prevent the page from being included in any of the compoment categories | nofloat = Set to 1, or any value, to prevent the table from floating on the right hand side }}
Example
{{Infobox component | component = 8 Bit NAND | internal-enum = Nand8 | image = Component Nand8.png | bit-width = 8 | type = 8bit | subtype = logic | prerequisite = Logic Engine }}
Width | 8 |
---|---|
Type | 8bit |
Unlocked by | Logic Engine |
Skeleton
{{Infobox component | component = <!-- In-game display name. Optional, defaults to subpage name --> | internal-enum = <!-- Internal unique ID. Optional, defaults to {{{component}}} --> | image = <!-- Defaults to "Component {{{internal-enum}}}.png" --> | bit-width = <!-- One of 1; 8; 16; 32; 64 (Optional) --> | type = <!-- One of 1bit; 8bit; 16bit; 32bit; 64bit; io; (Required) --> | subtype = <!-- One of display; logic; math; probe; ram; sandb (Optional) --> | prerequisite = <!-- Level that unlocks this component (Optional) --> | nocategory = <|-- Set to 1, or any value, to prevent the page from being included in the Guide Category --> | nofloat = <!-- Set to 1, or any value, to prevent the table from floating on the right hand side .-->}}