Template:Userbox code/doc: Difference between revisions
Jump to navigation
Jump to search
ExtremsAlt (talk | contribs) No edit summary |
mNo edit summary |
||
(9 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
=== | === Parameters and Examples === | ||
== | <nowiki>{{Userbox code}}</nowiki> | ||
< | {|class="wikitable" | style="width:100%; text-align:center;" | ||
{{Userbox code|C++}} | |- | ||
{{ | ! Parameter | ||
! Description | |||
! Example | |||
! width=14$; | Preview | |||
|- | |||
| <span style="background:rgb(12,12,12,.5); color:white; border-radius:0.3em; padding:0.2em; font-family:monospace;"><nowiki>{{{icon}}}</nowiki></span> | |||
| For specifying an icon (if available). | |||
| <span style="background:rgb(12,12,12,.5); color:white; border-radius:0.3em; padding:0.2em; font-family:monospace;"><nowiki>{{Userbox code|icon=C++}}</nowiki></span> | |||
| {{Userbox code|icon=C++}} | |||
|- | |||
| <span style="background:rgb(12,12,12,.5); color:white; border-radius:0.3em; padding:0.2em; font-family:monospace;"><nowiki>{{{1}}}</nowiki></span> | |||
| For specifying what you code in. | |||
| <span style="background:rgb(12,12,12,.5); color:white; border-radius:0.3em; padding:0.2em; font-family:monospace;"><nowiki>{{Userbox code|C++}}</nowiki></span> | |||
| {{Userbox code|C++}} | |||
|} | |||
=== Pre-defined Languages === | === Pre-defined Languages === | ||
Line 22: | Line 35: | ||
* '''ObjC''': Objective-C | * '''ObjC''': Objective-C | ||
* '''Py''': Python | * '''Py''': Python | ||
* '''Pl''': Perl | |||
* '''LSL''': Linden Scripting Language | * '''LSL''': Linden Scripting Language | ||
* '''JS''': JavaScript | * '''JS''': JavaScript | ||
* '''Java''': Java | |||
* '''LOL''': LOLCODE | * '''LOL''': LOLCODE | ||
* '''Pas''': Pascal | * '''Pas''': Pascal | ||
Line 31: | Line 46: | ||
* '''VBx''': Visual Basic .NET | * '''VBx''': Visual Basic .NET | ||
* '''VBS''': Visual Basic Script | * '''VBS''': Visual Basic Script | ||
* '''LUA''': Lua | |||
* '''HEX''': Hexadecimal Editor (Re-Coder) |
Latest revision as of 01:06, 18 March 2023
This is a documentation subpage for Template:Userbox code (see that page for the template itself). It contains usage information, categories and other content that is not part of the original template page |
Parameters and Examples
{{Userbox code}}
Parameter | Description | Example | Preview | ||
---|---|---|---|---|---|
{{{icon}}} | For specifying an icon (if available). | {{Userbox code|icon=C++}} |
| ||
{{{1}}} | For specifying what you code in. | {{Userbox code|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)