In memory of Ben “bushing” Byer, who passed away on Monday, February 8th, 2016.

Difference between revisions of "Template:Userbox code"

From WiiBrew
Jump to navigation Jump to search
m
 
(20 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
{{Userbox
 
{{Userbox
| id      = {{{1}}}
+
| id      = {{#switch: {{{icon}}}
 +
| .c = C
 +
| .cpp = {{#if:{{{icon}}}|[[file:c++.png|24px|link=]]}}
 +
| C++ = {{#if:{{{icon}}}|[[file:c++.png|24px|link=]]}}
 +
| fail = Sepples
 +
| c# = C Sharp
 +
| .cs = C Sharp
 +
| objc = Objective-C
 +
| asm = Assembly
 +
| asp = Active Server Pages
 +
| bas = BASIC
 +
| bat = Batch
 +
| bash = Bash
 +
| bf = Brainfuck
 +
| au3 = AutoIt 3
 +
| eu = Euphoria
 +
| py = Python
 +
| .py = Python
 +
| lsl = Linden Scripting Language
 +
| html = HTML
 +
| css = CSS
 +
| xml = XML
 +
| js = JavaScript
 +
| .js = JavaScript
 +
| java = Java
 +
| .java = Java
 +
| lol = LOLCODE
 +
| pas = Pascal
 +
| pl = Perl
 +
| .pl = Perl
 +
| perl = Perl
 +
| php = PHP: Hypertext Preprocessor
 +
| .php = PHP: Hypertext Preprocessor
 +
| sh = Bourne shell
 +
| vb = Visual Basic
 +
| vb.net = Visual Basic .NET
 +
| vbx = Visual Basic .NET
 +
| vbs = Visual Basic Script
 +
| cob = COBOL
 +
| go = Go
 +
| LUA = Lua
 +
| hex = Hexadecimal Editor (Re-coder)
 +
| #default = {{{1}}}
 +
}}
 
| id-c    = #FF9900
 
| id-c    = #FF9900
 
| id-s    = 14
 
| id-s    = 14
Line 14: Line 57:
 
  | bas = BASIC
 
  | bas = BASIC
 
  | bat = Batch
 
  | bat = Batch
 +
| bash = Bash
 
  | bf = Brainfuck
 
  | bf = Brainfuck
 
  | au3 = AutoIt 3
 
  | au3 = AutoIt 3
Line 20: Line 64:
 
  | .py = Python
 
  | .py = Python
 
  | lsl = Linden Scripting Language
 
  | lsl = Linden Scripting Language
 +
| html = HTML
 +
| css = CSS
 +
| xml = XML
 
  | js = JavaScript
 
  | js = JavaScript
 
  | .js = JavaScript
 
  | .js = JavaScript
 +
| java = Java
 +
| .java = Java
 
  | lol = LOLCODE
 
  | lol = LOLCODE
 
  | pas = Pascal
 
  | pas = Pascal
 +
| pl = Perl
 +
| .pl = Perl
 +
| perl = Perl
 
  | php = PHP: Hypertext Preprocessor
 
  | php = PHP: Hypertext Preprocessor
 
  | .php = PHP: Hypertext Preprocessor
 
  | .php = PHP: Hypertext Preprocessor
Line 34: Line 86:
 
  | go = Go
 
  | go = Go
 
  | LUA = Lua
 
  | LUA = Lua
 +
| hex = Hexadecimal Editor (Re-coder)
 
  | #default = {{{1}}}
 
  | #default = {{{1}}}
 
}}'''.
 
}}'''.
Line 41: Line 94:
  
 
{{Clear}}
 
{{Clear}}
{{Documentation}}
+
{{documentation|bg=rgb(222,222,222,0.2)}}
 
</noinclude>
 
</noinclude>

Latest revision as of 04:25, 18 March 2023

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



[edit] [purge] Template documentation

Parameters and Examples

{{Userbox code}}
Parameter Description Example Preview
{{{icon}}} For specifying an icon (if available). {{Userbox code|icon=C++}}
C++.png This user codes in {{{1}}}.
{{{1}}} For specifying what you code in. {{Userbox code|C++}}
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)