Template:FileBox/doc

Displays a block element with a file contents, optionally providing syntax highlighting.

Usage
See the template's testcases: