To use this userbox on your userpage, add the following code:
{{user zh|level}}
where level is a number of your language proficiency from 1-5 (where 1 is basic and 5 is professional). If level is left blank, it will assume you are a native speaker of the language.