Difference between revisions of "Template:Userbox code"

From WiiBrew
Jump to navigation Jump to search
m
m (quick test. I'll revert if it breaks stuff.)
Line 3: Line 3:
 
| id-c    = #FF9900
 
| id-c    = #FF9900
 
| id-s    = 14
 
| id-s    = 14
| info    = This user codes in '''{{{1}}}'''.
+
| info    = This user codes in {{#switch: {{{1}}}
 +
| py = Python
 +
| #default = {{{1}}}
 +
}}'''
 
| info-c  = #FFCC99
 
| info-c  = #FFCC99
 
| border-c = #FF9900
 
| border-c = #FF9900

Revision as of 19:49, 11 June 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)