Template:XConsole

A simple template for marking a standard input or output in the text. (See the Template:Code for more options.)

Usage:

There are also similar: Template:XCode, Template:XNote, Template:XWarning and Template:XExample.