Template:Begin code - Tripwire Interactive Wiki

  • Please make sure you are familiar with the forum rules. You can find them here: https://forums.tripwireinteractive.com/index.php?threads/forum-rules.2334636/

Description

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

Usage

{{Begin code}}
for (i = 0; i < AdditionalWeapons.Length; i++)
	WeaponList[WeaponList.Length] = AdditionalWeapons[i];
{{End code}}

Result:

:

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