Template:Compact begin code

From Tripwire Interactive Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Description

Provides a maximum-width code box with line wrap and a tab size of 4.

Usage

{{Compact begin code}}for (i = 0; i < AdditionalWeapons.Length; i++)
	WeaponList[WeaponList.Length] = AdditionalWeapons[i];{{compact end code}}

Result:

for (i = 0; i < AdditionalWeapons.Length; i++) WeaponList[WeaponList.Length] = AdditionalWeapons[i];