Template:BBL-UBX: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
No edit summary
m (Let's try this...)
Line 1: Line 1:
<noinclude>==How to use this template:==
<noinclude>==How to use this template:==
*Use the attribute {{{lang}}} to specify your language. You only need to put in the code, e.g. "en-3". The rest will be filled in automatically.  
*Use the attribute {{{lang}}} to specify your language. You only need to put in the code, e.g. "en". The rest will be filled in automatically.  
*Next, fill in your level of proficiency using the attribute {{{lvl}}}
*If you'd like, you may override the default color scheme (blue) using the attributes {{{border}}}, {{{mainbkgd}}}, {{{codebkgd}}}, and {{{codecolor}}}.  
*If you'd like, you may override the default color scheme (blue) using the attributes {{{border}}}, {{{mainbkgd}}}, {{{codebkgd}}}, and {{{codecolor}}}.  
*If you'd prefer not to have a userbox, set the attribute {{{mode}}} to "none."  
*If you'd prefer not to have a userbox, you can instead set the attribute {{{mode}}} to "none." This will categorize you automatically, but without displaying a userbox.
*If you'd prefer a "table-less" (i.e. using {{tem|Userboxp}}) set {{{mode}}} to "p".
*If you'd prefer a "table-less" setup (i.e. using {{tem|Userboxp}}) set {{{mode}}} to "p".
==Example:==
==Example:==
<pre>{{BBL-UBX|lang=en-2|mode=p|border=#6ef7a7|mainbkgd=#c5fcdc|codebkgd=#6ef7a7}}</pre>
<pre>{{BBL-UBX|lang=en|lvl=2|mode=p|border=#6ef7a7|mainbkgd=#c5fcdc|codebkgd=#6ef7a7}}</pre>
produces:
produces:


{{Userboxp|code=en-2|border=#6ef7a7|mainbkgd=#c5fcdc|codebkgd=#6ef7a7|codecolor=#000000|msg=This user is able to contribute with an intermediate level of English.}}
{{Userboxp|code=[[:Category:en|en]]-2|border=#6ef7a7|mainbkgd=#c5fcdc|codebkgd=#6ef7a7|codecolor=#000000|msg=This user is able to contribute with an intermediate level of English.}}
[[Category:Userbox Templates|{{PAGENAME}}]]</noinclude>
[[Category:Userbox Templates|{{PAGENAME}}]]</noinclude>
<includeonly>[[Category:User {{{lang}}}]]
<includeonly>[[Category:User {{{lang}}}|{{{lvl}}}]]
{{#ifeq:{{{mode}}}|none||{{{{#ifeq:{{{mode}}}|p|Userboxp|Userbox}}|code={{{lang}}}|border={{{border|#C0C8FF}}}|mainbkgd={{{mainbkgd|#F0F8FF}}}|codebkgd={{{codebkgd|#C0C8FF}}}|codecolor={{{codecolor|#000000}}}|msg={{#switch:{{{lang}}}
{{#ifeq:{{{mode}}}|none||{{{{#ifeq:{{{mode}}}|p|Userboxp|Userbox}}|code=[[:Category:{{{lang}}}|{{{lang}}}]]-{{{lvl}}}|border={{{border|#C0C8FF}}}|mainbkgd={{{mainbkgd|#F0F8FF}}}|codebkgd={{{codebkgd|#C0C8FF}}}|codecolor={{{codecolor|#000000}}}|msg={{#switch:{{{lang}}}-{{{lvl}}}
|#default=It looks like we don't have support for this language yet. Why not head over to {{Tem|BBL-UBX}} and set up support? If you need help, contact a [[Special:Listusers/Sysop|Sysop]].
|#default=It looks like we don't have support for this language yet. Why not head over to {{Tem|BBL-UBX}} and set up support? If you need help, contact a [[Special:Listusers/Sysop|Sysop]].
|en-1=This user is able to contribute with a basic level of English.
|en-1=This user is able to contribute with a basic level of English.

Revision as of 10:50, August 5, 2009

How to use this template:

  • Use the attribute {{{lang}}} to specify your language. You only need to put in the code, e.g. "en". The rest will be filled in automatically.
  • Next, fill in your level of proficiency using the attribute {{{lvl}}}
  • If you'd like, you may override the default color scheme (blue) using the attributes {{{border}}}, {{{mainbkgd}}}, {{{codebkgd}}}, and {{{codecolor}}}.
  • If you'd prefer not to have a userbox, you can instead set the attribute {{{mode}}} to "none." This will categorize you automatically, but without displaying a userbox.
  • If you'd prefer a "table-less" setup (i.e. using {{Userboxp}}) set {{{mode}}} to "p".

Example:

{{BBL-UBX|lang=en|lvl=2|mode=p|border=#6ef7a7|mainbkgd=#c5fcdc|codebkgd=#6ef7a7}}

produces:

en-2