NOTICE: The Processors Wiki will End-of-Life on January 15, 2021. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.

Template:Box File

From Texas Instruments Wiki
Jump to: navigation, search

Description[edit]

The box file template creates a colored box containing the contents of a file. The box is labeled with the name of the file. If the contents of the box is wider than the browser window, a horizontal scroll bar will be created.

Parameters[edit]

{{Box File|FileName|FileContent}}

The template takes two parameters:

  • FileName, the name of the file. This parameter is required.
  • FileContent, the contents of the file. This parameter is required.

Example[edit]

A GRUB configuration file:

File: grub.conf
default 0
timeout 5
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title=Gentoo 2.6.18-gentoo
        root (hd0,0)
        kernel (hd0,0)/boot/bzImage-2.6.18-gentoo root=/dev/md0 md=4,/dev/md1,/dev/md2