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
No edit summary
 
(7 intermediate revisions by 4 users not shown)
Line 2: Line 2:
*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 [http://www.iana.org/assignments/language-subtag-registry this document].
*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 [http://www.iana.org/assignments/language-subtag-registry this document].
*Next, fill in your level of proficiency using the attribute {{{lvl}}}
*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 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 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 {{tem|Userboxp}}) set {{{mode}}} to "p".
*If you'd prefer a "table-less" setup (i.e. using {{tem|Userboxp}}) set {{{mode}}} to "p".
Line 9: Line 9:
produces:
produces:
{{userboxtop}}
{{userboxtop}}
{{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=#000|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]].
Line 74: Line 74:
|ar-4=<div align=right>هذا المستخدم يستطيع المساهمة بالعربية بمستوى ممتاز.</div>
|ar-4=<div align=right>هذا المستخدم يستطيع المساهمة بالعربية بمستوى ممتاز.</div>
|ar-n=<div align=right>اللغة الأم لهذا المستخدم هي العربية.</div>
|ar-n=<div align=right>اللغة الأم لهذا المستخدم هي العربية.</div>
|zh-1=這個用戶能以基本的漢語進行交流。<br/>这个用户能以基本的汉语进行交流。
|zh-1=這個用戶能以基本的漢語進行交流。<br>这个用户能以基本的汉语进行交流。
|zh-2=這個用戶能以一般的漢語進行交流。<br/>这个用户能以一般的汉语进行交流。
|zh-2=這個用戶能以一般的漢語進行交流。<br>这个用户能以一般的汉语进行交流。
|zh-3=這個用戶能以熟練的漢語進行交流。<br/>这个用户能以熟练的汉语进行交流。
|zh-3=這個用戶能以熟練的漢語進行交流。<br>这个用户能以熟练的汉语进行交流。
|zh-4=這個用戶能以地道的漢語進行交流。<br/>这个用户能以地道的汉语进行交流。
|zh-4=這個用戶能以地道的漢語進行交流。<br>这个用户能以地道的汉语进行交流。
|zh-n=這個用戶的母語是漢語。<br/>这个用户的母语是汉语。
|zh-n=這個用戶的母語是漢語。<br>这个用户的母语是汉语。
|cmn-1=这位用户能以基本的官话进行交流。
|cmn-1=这位用户能以基本的官话进行交流。
|cmn-2=这位用户能以一般的官话进行交流。
|cmn-2=这位用户能以一般的官话进行交流。
Line 119: Line 119:
|ka-4=ამ მომხმარებელს შეუძლია წვლილი შეიტანოს ქართული ახლოს-მშობლიური დონის საქართველოს.
|ka-4=ამ მომხმარებელს შეუძლია წვლილი შეიტანოს ქართული ახლოს-მშობლიური დონის საქართველოს.
|ka-n=ამ მომხმარებლის მშობლიური ენა არის ქართული.
|ka-n=ამ მომხმარებლის მშობლიური ენა არის ქართული.
|sr-1=Ovaj korisnik je u mogućnosti da doprinese sa osnovnom nivou srpskog jezika.  
|sr-1=Ovaj korisnik je u mogućnosti da doprinese sa osnovnom nivou srpskog jezika.
|sr-2=Ovaj korisnik je u mogućnosti da doprinese sa srednjeg nivoa srpskog jezika.
|sr-2=Ovaj korisnik je u mogućnosti da doprinese sa srednjeg nivoa srpskog jezika.
|sr-3=Ovaj korisnik je u mogućnosti da doprinese sa naprednom nivou srpskog jezika.
|sr-3=Ovaj korisnik je u mogućnosti da doprinese sa naprednom nivou srpskog jezika.
Line 144: Line 144:
|fi-4=Tämä käyttäjä osaa suomea sujuvasti.
|fi-4=Tämä käyttäjä osaa suomea sujuvasti.
|fi-n=Tämä käyttäjä puhuu suomea äidinkielenään.
|fi-n=Tämä käyttäjä puhuu suomea äidinkielenään.
|ic-1=Þessi notandi getur stuðlað að grunnnámi íslensku.
|is-1=Þessi notandi getur stuðlað að grunnnámi íslensku.
|ic-2=Þessi notandi getur stuðlað að millistig íslenskra.
|is-2=Þessi notandi getur stuðlað að millistig íslenskra.
|ic-3=Þessi notandi er fær um að leggja sitt af mörkum með háþróaðri íslensku.
|is-3=Þessi notandi er fær um að leggja sitt af mörkum með háþróaðri íslensku.
|ic-4=Þessi notandi er fær um að leggja sitt af mörkum við íslensku.
|is-4=Þessi notandi er fær um að leggja sitt af mörkum við íslensku.
|ic-n=Þessi notandi er innfæddur íslensku.
|is-n=Þessi notandi er innfæddur íslensku.
|am-1=ይህ ተጠቃሚ በመሠረታዊ የአማርኛ ደረጃ አስተዋፅ to ማድረግ ይችላል ፡፡
|am-1=ይህ ተጠቃሚ በመሠረታዊ የአማርኛ ደረጃ አስተዋፅ to ማድረግ ይችላል ፡፡
|am-2=ይህ ተጠቃሚ መካከለኛ የአማርኛ ደረጃን ማበርከት ይችላል።
|am-2=ይህ ተጠቃሚ መካከለኛ የአማርኛ ደረጃን ማበርከት ይችላል።
Line 169: Line 169:
|mn-4=Энэ хэрэглэгч монгол хэлийг ойрхон мэддэг түвшинд хувь нэмэр оруулах боломжтой.
|mn-4=Энэ хэрэглэгч монгол хэлийг ойрхон мэддэг түвшинд хувь нэмэр оруулах боломжтой.
|mn-n=Энэ хэрэглэгч нь монгол хэлний унаган хэл юм.
|mn-n=Энэ хэрэглэгч нь монгол хэлний унаган хэл юм.
|id-1=Pengguna ini mampu berkontribusi dengan bahasa Indonesia tingkat dasar.
|id-2=Pengguna ini mampu berkontribusi dengan bahasa Indonesia tingkat menengah.
|id-3=Pengguna ini mampu berkontribusi dengan bahasa Indonesia tingkat mahir.
|id-4=Pengguna ini mampu berkontribusi dengan bahasa Indonesia mendekati penutur jati.
|id-n=Pengguna ini merupakan penutur jati bahasa Indonesia.
|ms-1=Pengguna ini boleh menyumbang dengan tahap asas dalam Bahasa Melayu.
|ms-2=Pengguna ini boleh menyumbang dengan taraf yang sederhana dalam Bahasa Melayu.
|ms-3=Pengguna ini boleh menyumbang dengan taraf yang baik dalam Bahasa Melayu.
|ms-4=Pengguna ini boleh menyumbang dengan taraf semacam bahasa ibunda dalam Bahasa Melayu.
|ms-n=Bahasa ibunda pengguna ini ialah Bahasa Melayu.
|eo-1=Ĉi tiu uzanto povas kontribui kun baza nivelo de Esperanto.
|eo-2=Ĉi tiu uzanto povas kontribui kun meza nivelo de Esperanto.
|eo-3=Ĉi tiu uzanto povas kontribui kun alta nivelo de Esperanto.
|eo-4=Ĉi tiu uzanto povas kontribui kun tre alta nivelo de Esperanto.
|eo-n=Ĉi tiu uzanto estas Esperanta denaskulo.
|cs-1=Tento uživatel má základní znalosti češtiny.
|cs-2=Tento uživatel má středně pokročilé znalosti češtiny.
|cs-3=Tento uživatel je schopen plynně komunikovat česky.
|cs-4=Tento uživatel má znalosti českého jazyka srovnatelné s rodilým mluvčím.
|cs-n=Mateřským jazykem tohoto uživatele je čeština.
|hu-1=Ez a szerkesztő alapszinten beszéli a magyar nyelvet.
|hu-2=Ez a szerkesztő középszinten beszéli a magyar nyelvet.
|hu-3=Ez a szerkesztő magas szinten beszéli a magyar nyelvet.
|hu-4=Ez a szerkesztő anyanyelvi szinten beszél magyarul.
|hu-n=Ennek a szerkesztőnek magyar az anyanyelve.
}}}}}} </includeonly>
}}}}}} </includeonly>

Latest revision as of 13:31, October 29, 2024

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