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

From WiiBrew
Jump to: navigation, search
(←Created page with '{{Documentation subpage}} === Usage === <tt><nowiki>{{Userbox code|your code id}}</nowiki></tt> === Example === <tt><nowiki>{{Userbox code|C++}}</nowiki></tt> produces this:...')
 
(Pre-defined Languages)
 
(18 intermediate revisions by 9 users not shown)
Line 9: Line 9:
 
{{Clear}}
 
{{Clear}}
  
=== Possibilities ===
+
=== Pre-defined Languages ===
* C++
+
 
* C
+
The following languages are recognized by this template. If your language is not listed here, please leave a message on the [[Template talk:Userbox code|talk page]] or [{{fullurl:{{FULLPAGENAME}}|action=edit}} 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.
* C#
+
 
 +
* '''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)

Latest revision as of 18:51, 29 September 2011

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)