btw this Wiki is not meant for a wider audience yet

Template:DOSBOX: Difference between revisions

From HFGCS Wiki
Jump to navigation Jump to search
No edit summary
 
(No difference)

Latest revision as of 23:27, 5 December 2025


Usage

This template creates a retro MS-DOS/Terminal-style infobox for displaying text content.

Basic syntax

{{MS-DOS Terminal
|Your content here
}}

With custom title

{{MS-DOS Terminal
|Your content here
|title=Custom Title
}}

Parameters

  • Unnamed parameter 1 (required) - The text content to display in the terminal box
  • title (optional) - Custom text for the title bar. Default: "CODE"

Examples

Example 1: Basic usage

{{MS-DOS Terminal
|System booted successfully.
Memory check: OK
Loading drivers...
Ready.
}}

Example 2: With custom title

{{MS-DOS Terminal
|'''Server Status'''
Web Server: Online
Database: Online
Cache: Online
Last check: 12:45 PM
|title=System Monitor
}}

Example 3: Code snippet

{{MS-DOS Terminal
|def hello_world():
    print("Hello, World!")
    return True
|title=Python Code
}}

Styling

The template features:

  • Black background with white text
  • Blue title bar
  • Monospace (Courier) font
  • 3D shadow effect
  • Flexible width (adapts to content)