Help:Templates
This page provides an overview and usage examples for all custom templates used across the RetroTechCollection Wiki. Templates help standardize formatting for infoboxes, headers, notices, and structured tables.
📦 Infobox Templates
edit{{Infobox computer}}
editUse this template for documenting vintage computers (e.g. Apple, Commodore, Atari systems).
{{Infobox computer
| name = Apple I
| logo = [[File:Apple Computer Inc Logo.svg|90px]]
| image = [[File:Apple_I_motherboard.jpg|260px|frameless]]
| caption = Original “NTI” board
| developer = Apple Computer Company
| manufacturer = Apple Computer Company
| type = Single‑board personal computer
| release_date = April 11, 1976
| discontinued = September 1977
| price = US$666.66
| cpu = MOS 6502 @ 1 MHz
| memory = 4 KB RAM (expandable to 48 KB)
| storage = Cassette interface @ 1200 baud
| display = Composite video, 40 × 24 text
| os = WOZ Monitor ROM
| successor = [[Apple II]]
| model = Byte Shop & NTI revisions
}}
Note: The `logo` parameter is optional. It can be used to show a small vendor logo at the top.
{{Infobox hardware}}
editUse this template for peripherals, accessories, power supplies, and standalone hardware.
{{Infobox hardware
| name = Commodore 64 Power-Supply Protector
| image = [[File:C64-Saver-Top.jpg|250px]]
| caption = A popular open-hardware implementation of the '''C64 Saver'''
| developer = Ray Carlsen (original design)<br />open-hardware community
| type = External over-voltage / over-current protector
| first_released = 2016 (C64 Saver 1.2)
| latest_release = C64 Saver 2.4 PCB (2022)
| operating_voltage= +5 V DC (monitored) • 9 VAC pass-through
| application = Commodore 64 / 64C / SX-64 / VIC-20 CR (7-pin DIN)
}}
🗂️ Category & Page Styling
edit{{CategoryHeaderBox}}
editUse this at the top of each category page for a consistent stylized header.
{{CategoryHeaderBox
| title = Commodore Systems
| subtitle = Hardware Maintenance and Repair for the VIC-20, C64, PET, Amiga and More
}}
📐 Table Styling
editTemplate:StyledTable/styles.css
editFor dark mode–compatible MediaWiki tables, use this paired with:
<templatestyles src="Template:StyledTable/styles.css" />
{| class="wikitable styled-table"
! Column 1 !! Column 2
|-
| Item 1 || Item 2
|}
To apply it globally, make sure the CSS file includes theme-aware overrides like:
<syntaxhighlight lang="css">
@media (prefers-color-scheme: dark) {
.styled-table {
background-color: #1e1e1e;
color: #f0f0f0;
}
.styled-table th {
background-color: #2a2a2a;
color: #fff;
}
}
</syntaxhighlight>
🔧 System Templates
editThese are MediaWiki-standard templates also used on the wiki:
- {{Navbox}} – Navigation box used at the bottom of pages (collapsible)
- {{Ambox}} – Article message box for general notices
- {{Cmbox}} – Category message box for notices inside category pages
To use a generic message box:
{{Ambox
| type = notice
| text = This page is still under construction.
}}