m (Fixed typo) |
(Add nofloat option) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
<pre> | <pre> | ||
{{Infobox component | {{Infobox component | ||
| component | | component = In-game display name. Optional, defaults to subpage name | ||
| image | | internal-enum = Internal unique ID. Optional, defaults to {{{component}}}. | ||
| bit-width | | image = Defaults to "Component {{{internal-enum}}}.png" | ||
| type | | bit-width = One of 1; 8; 16; 32; 64 (Optional) | ||
| subtype | | type = One of 1bit; 8bit; 16bit; 32bit; 64bit; io; (Required) | ||
| prerequisite = Level that unlocks this component (Optional) | | subtype = One of display; logic; math; probe; ram; sandb (Optional) | ||
| nocategory | | 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 | |||
}} | }} | ||
</pre> | </pre> | ||
Line 15: | Line 17: | ||
<pre> | <pre> | ||
{{Infobox component | {{Infobox component | ||
| component | | component = 8 Bit NAND | ||
| image | | internal-enum = Nand8 | ||
| bit-width | | image = Component Nand8.png | ||
| type | | bit-width = 8 | ||
| subtype | | type = 8bit | ||
| prerequisite = Logic Engine | | subtype = logic | ||
| prerequisite = Logic Engine | |||
}} | }} | ||
</pre> | </pre> | ||
{{Infobox component | {{Infobox component | ||
| component | | component = 8 Bit NAND | ||
| image | | internal-enum = Nand8 | ||
| bit-width | | image = Component Nand8.png | ||
| type | | bit-width = 8 | ||
| subtype | | type = 8bit | ||
| prerequisite = Logic Engine | | subtype = logic | ||
| nocategory | | prerequisite = Logic Engine | ||
| nocategory = 1 | |||
}} | }} | ||
Line 36: | Line 40: | ||
<pre> | <pre> | ||
{{Infobox component | {{Infobox component | ||
| component | | component = <!-- In-game display name. Optional, defaults to subpage name --> | ||
| image | | internal-enum = <!-- Internal unique ID. Optional, defaults to {{{component}}} --> | ||
| bit-width | | image = <!-- Defaults to "Component {{{internal-enum}}}.png" --> | ||
| type | | bit-width = <!-- One of 1; 8; 16; 32; 64 (Optional) --> | ||
| subtype | | type = <!-- One of 1bit; 8bit; 16bit; 32bit; 64bit; io; (Required) --> | ||
| prerequisite = <!-- Level that unlocks this component (Optional) --> | | subtype = <!-- One of display; logic; math; probe; ram; sandb (Optional) --> | ||
| nocategory | | 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 .-->}} | |||
</pre> | </pre> |
Latest revision as of 10:46, 8 September 2024
Usage[edit source]
{{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[edit source]
{{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 / logic |
Unlocked by | Logic Engine |
Internal ID | Nand8 |
Skeleton[edit source]
{{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 .-->}}