Template:Userbox gender

来自Valve Developer Community
跳转到导航 跳转到搜索
English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Curly brackets white.png模板文档 [查看] [编辑] [创建 中文 (zh)]
Icon-translate.png Available doc translations
Info.png
文档页面 Template:Userbox gender/doc/zh 不存在。
模板将改为显示英文文档。如果此消息后没有任何内容,则很可能该文档甚至不存在英文版本。
Icon-translate.png
本模板使用字符串子页面
请遵循该子页面上的格式添加翻译。

Userbox used for specifying the user's gender.

Note.png注意:To change user gender automatically, go to your account Preferences > How do you prefer to be described? > Select Male or Female.
Or you can specify it manually below using parameters.

Translations

Icon-translate.png
本模板使用字符串子页面
请遵循该子页面上的格式添加翻译。

Copy and Paste

{{Userbox gender | enablecustomname = <yes/true> or <no/false> (default) | customname = <username on this wiki, without "User:" part. "enablecustomname" must be enabled first! Example: "Gabe Newell"> | gender = <auto/male/female/unspecified> }}

Parameters and Examples

参数 描述 示例 预览
{{{type}}} Default appearance, gender defaults to unspecified if not specified on User Preferences.
Username is set to {{PAGENAME}}, aka the user page that you are currently on.
None
⚧️

This user's gender is Unspecified.

{{{enablecustomname}}} and {{{customname}}} Enable and specify custom username. Most users may not have their gender specified in User Preferences.
| enablecustomname = <yes/true> or <no/false> (default)
User:Gabe Newell:
⚧️

This user's gender is Unspecified.


User:kr0tchet:
♂️

This user's gender is Male.

{{{gender}}} Manually set user gender without changing user preferences, and without specify custom username.
By default this is automatic based off user's preferences.
| gender = <auto/male/female/unspecified> (default is "auto")
Male:
♂️

This user's gender is Male.


Female:
♀️

This user's gender is Female.

{{{nocat}}} Prevent the template from adding category. Does not change anything visibly. Only use this if you want to preview the template.
{{Banned user|nocat=1}}
English (en)Tiếng Việt (vi)