Template:Infobox component/Documentation: Difference between revisions

Template page
(Created page with "==Usage== <pre> {{Infobox component | component = In game name. Optional, defaults to subpage name | image = Defaults to "Component {{{componet}}}.png" | 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 componennt (Optional) }} </pre> ==Example== <pre> {{Infobox component |...")
 
m (Renamed parameters)
Line 4: Line 4:
| component    = In game name. Optional, defaults to subpage name
| component    = In game name. Optional, defaults to subpage name
| image        = Defaults to "Component {{{componet}}}.png"
| image        = Defaults to "Component {{{componet}}}.png"
| width       = One of 1; 8; 16; 32; 64 (Optional)
| bit-width   = One of 1; 8; 16; 32; 64 (Optional)
| type        = One of 1bit; 8bit; 16bit; 32bit; 64bit; io; (Required)
| type        = One of 1bit; 8bit; 16bit; 32bit; 64bit; io; (Required)
| subtype      = One of display; logic; math; probe; ram; sandb (Optional)
| subtype      = One of display; logic; math; probe; ram; sandb (Optional)
Line 16: Line 16:
| component    = 8 Bit NAND
| component    = 8 Bit NAND
| image        = Component 8 Bit NAND.png
| image        = Component 8 Bit NAND.png
| width       = 8
| bit-width   = 8
| type        = 8bit
| type        = 8bit
| subtype      = logic
| subtype      = logic
Line 25: Line 25:
| component    = 8 Bit NAND
| component    = 8 Bit NAND
| image        = Component 8 Bit NAND.png
| image        = Component 8 Bit NAND.png
| width       = 8
| bit-width   = 8
| type        = 8bit
| type        = 8bit
| subtype      = logic
| subtype      = logic
Line 36: Line 36:
| component    = <!-- In game name. Optional, defaults to subpage name -->
| component    = <!-- In game name. Optional, defaults to subpage name -->
| image        = <!-- Defaults to "Component {{{componet}}}.png" -->
| image        = <!-- Defaults to "Component {{{componet}}}.png" -->
| width       = <!-- One of 1; 8; 16; 32; 64 (Optional) -->
| bit-width   = <!-- One of 1; 8; 16; 32; 64 (Optional) -->
| type        = <!-- One of 1bit; 8bit; 16bit; 32bit; 64bit; io; (Required) -->
| type        = <!-- One of 1bit; 8bit; 16bit; 32bit; 64bit; io; (Required) -->
| subtype      = <!-- One of display; logic; math; probe; ram; sandb (Optional) -->
| subtype      = <!-- One of display; logic; math; probe; ram; sandb (Optional) -->

Revision as of 01:05, 14 November 2023

Usage

{{Infobox component
| component    = In game name. Optional, defaults to subpage name
| image        = Defaults to "Component {{{componet}}}.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 componennt (Optional)
}}

Example

{{Infobox component
| component    = 8 Bit NAND
| image        = Component 8 Bit NAND.png
| bit-width    = 8
| type         = 8bit
| subtype      = logic
| prerequisite = Logic Engine
}}
8 Bit NAND
Width 8
Type 8bit / logic
Unlocked by Logic Engine

Skeleton

{{Infobox component
| component    = <!-- In game name. Optional, defaults to subpage name -->
| image        = <!-- Defaults to "Component {{{componet}}}.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 componennt (Optional) -->
}}