Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 01:34, 18 August 2025 by VivaRomania (talk | contribs)

See Also: Template:Code


Documentation

Just go to Valve Dev Community for their documentation, only difference is formatting (styling). Link: VDC Code Documentation

Examples

With header

tf2classic/scripts/items/items_game.txt (directory)
txt (file type)
(code) This is a test! "Beep Boop!" - Soldier ''no italics'' - - - '''no bold''' <nowiki> tag makes formatting no format for code stuff!

yes italics - - - yes bold

Codey code code

Without header

(code) Hello, world! I'm headerless :( ''"blah blah blah"''

With lines enabled + Locked Height/Width

Note:It is not fully aligned and may break with lots of lines. Fast scrolling also breaks alignment but will refix.

The source was not specified
txt
  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
A1 B2 C3 D4 Start of Long Line ----------------- End of Long Line You can also leave gaps 9 10 11 12 13 14 15 16