Template:BBL-UBX: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (→‎Example:: adding Mongolian language)
Tag: Mobile edit
m (Text replacement - "\[\[Category:([^\]|]+)\|{{PAGENAME}}\]\]" to "Category:$1")
Line 11: Line 11:
{{Userbox|code=[[:Category:user en|en]]-2|border=#6ef7a7|mainbkgd=#c5fcdc|codebkgd=#6ef7a7|codecolor=#000000|msg=This user is able to contribute with an intermediate level of English.}}
{{Userbox|code=[[:Category:user en|en]]-2|border=#6ef7a7|mainbkgd=#c5fcdc|codebkgd=#6ef7a7|codecolor=#000000|msg=This user is able to contribute with an intermediate level of English.}}
{{userboxbottom}}
{{userboxbottom}}
[[Category:Userbox templates|{{PAGENAME}}]]</noinclude><includeonly>[[Category:User {{{lang}}}|{{{lvl}}}{{PAGENAME}}]]
[[Category:Userbox templates]]</noinclude><includeonly>[[Category:User {{{lang}}}|{{{lvl}}}{{PAGENAME}}]]
{{#ifeq:{{{mode}}}|none||{{{{#ifeq:{{{mode}}}|p|Userboxp|Userbox}}|code=[[:Category:user {{{lang}}}|{{{lang}}}]]-{{{lvl}}}|border={{{border|{{BBL-CLR|border|{{{lang}}}}}}}}|mainbkgd={{{mainbkgd|{{BBL-CLR|mainbkgd|{{{lang}}}}}}}}|codebkgd={{{codebkgd|{{BBL-CLR|codebkgd|{{{lang}}}}}}}}|codecolor={{{codecolor|{{BBL-CLR|codecolor|{{{lang}}}}}}}}|msg={{#switch:{{{lang}}}-{{{lvl}}}
{{#ifeq:{{{mode}}}|none||{{{{#ifeq:{{{mode}}}|p|Userboxp|Userbox}}|code=[[:Category:user {{{lang}}}|{{{lang}}}]]-{{{lvl}}}|border={{{border|{{BBL-CLR|border|{{{lang}}}}}}}}|mainbkgd={{{mainbkgd|{{BBL-CLR|mainbkgd|{{{lang}}}}}}}}|codebkgd={{{codebkgd|{{BBL-CLR|codebkgd|{{{lang}}}}}}}}|codecolor={{{codecolor|{{BBL-CLR|codecolor|{{{lang}}}}}}}}|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]].

Revision as of 00:13, February 10, 2021

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. The list of codes can be found at MarioWiki:Babel. When adding a new language code, please make to conform to this document.
  • Next, fill in your level of proficiency using the attribute {{{lvl}}}
  • If you'd like, you may override the default color scheme 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|border=#6ef7a7|mainbkgd=#c5fcdc|codebkgd=#6ef7a7}}

produces:

BBL-UBX's Userbox Tower
en-2