Difference between revisions of "Template:Userbox code"

From WiiBrew
Jump to: navigation, search
m (trying something out.)
Line 4: Line 4:
 
| id-s    = 14
 
| id-s    = 14
 
| info    = This user codes in '''{{#switch: {{lc:{{{1}}}}}  
 
| info    = This user codes in '''{{#switch: {{lc:{{{1}}}}}  
 +
| .c = C
 +
| .cpp = C++
 
  | asm = Assembly
 
  | asm = Assembly
 
  | asp = Active Server Pages
 
  | asp = Active Server Pages
Line 10: Line 12:
 
  | bf = Brainfuck
 
  | bf = Brainfuck
 
  | c# = C Sharp
 
  | c# = C Sharp
 +
| .cs = C Sharp
 
  | eu = Euphoria
 
  | eu = Euphoria
 
  | objc = Objective-C
 
  | objc = Objective-C
 
  | py = Python
 
  | py = Python
 +
| .py = Python
 
  | lsl = Linden Scripting Language
 
  | lsl = Linden Scripting Language
 
  | js = JavaScript
 
  | js = JavaScript

Revision as of 13:22, 21 July 2009

{{{1}}} This user codes in {{{1}}}.



[edit] Template documentation

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
  • Pl: Perl
  • LSL: Linden Scripting Language
  • JS: JavaScript
  • Java: Java
  • LOL: LOLCODE
  • Pas: Pascal
  • PHP: PHP: Hypertext Preprocessor
  • Sh: Bourne shell
  • VB: Visual Basic
  • VBx: Visual Basic .NET
  • VBS: Visual Basic Script
  • LUA: Lua
  • HEX: Hexadecimal Editor (Re-Coder)