Difference between revisions of "Template:Userbox code/doc"

From WiiBrew
Jump to: navigation, search
(Pre-defined Languages)
(Pre-defined Languages)
Line 25: Line 25:
 
* '''js''': JavaScript
 
* '''js''': JavaScript
 
* '''lol''': LOLCODE
 
* '''lol''': LOLCODE
 +
* '''pas''': Pascal
 
* '''php''': PHP: Hypertext Preprocessor
 
* '''php''': PHP: Hypertext Preprocessor
 
* '''sh''': Bourne shell
 
* '''sh''': Bourne shell
Line 30: Line 31:
 
* '''vb.net''': Visual Basic .NET
 
* '''vb.net''': Visual Basic .NET
 
* '''vbx''': Visual Basic .NET
 
* '''vbx''': Visual Basic .NET
 +
* '''vbs''': Visual Basic Script

Revision as of 12:26, 16 July 2009

Usage

{{Userbox code|your code id}}

Example

{{Userbox code|C++}} produces this:

C++ This user codes in C++.



Pre-defined Languages

The following languages are recognized by this template. If your language is not listed here, please leave a message on the talk page or add it yourself. The languages listed here are only for convenience; you may specify another language (eg: C/C++) without needing it added to the template.

  • asm: Assembly
  • asp: Active Server Pages
  • bas: BASIC
  • bat: Batch
  • bf: Brainfuck
  • c#: C Sharp
  • eu: Euphoria
  • objc: Objective-C
  • py: Python
  • lsl: Linden Scripting Language
  • js: JavaScript
  • lol: LOLCODE
  • pas: Pascal
  • php: PHP: Hypertext Preprocessor
  • sh: Bourne shell
  • vb: Visual Basic
  • vb.net: Visual Basic .NET
  • vbx: Visual Basic .NET
  • vbs: Visual Basic Script