Template:Userbox gender

From Valve Developer Community
Revision as of 06:22, 25 August 2023 by Kr0tchet (talk | contribs) (gonna try creating this template. probably might be controversial.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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.pngTemplate Documentation [view] [edit]
Icon-translate.png Available doc translations
Page history
Icon-translate.png
This template uses a strings subpage
Please follow the format on this subpage(s) to add translations.

Userbox used for specifying the user's gender.

Note.pngNote: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
This template uses a strings subpage
Please follow the format on this subpage(s) to add translations.

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

Parameter Description Example Preview
{{{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

{{Userbox| border-c = #ffffff66| id = {{GENDER:Userbox gender|♂|♀|♂/♀/?| id-s = background:#ffffff29| info-s = background:#ffffff29| info =

Red x.png
This template (and its redirect) is Wikipedia icon Deprecated. Its use is not recommended and its functionality may be compromised.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.

Additional notes:
Use #switch parser function instead. Example
{{#switch: {{language}}
| #default = English
| ja = 日本語
| zh-tw = 中文(台灣)
‎}}
{{{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:

{{Userbox| border-c = #ffffff66| id = {{GENDER:Userbox gender|♂|♀|♂/♀/?| id-s = background:#ffffff29| info-s = background:#ffffff29| info =

Red x.png
This template (and its redirect) is Wikipedia icon Deprecated. Its use is not recommended and its functionality may be compromised.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.

Additional notes:
Use #switch parser function instead. Example
{{#switch: {{language}}
| #default = English
| ja = 日本語
| zh-tw = 中文(台灣)
‎}}


User:kr0tchet: {{Userbox| border-c = #ffffff66| id = {{GENDER:Userbox gender|♂|♀|♂/♀/?| id-s = background:#ffffff29| info-s = background:#ffffff29| info =

Red x.png
This template (and its redirect) is Wikipedia icon Deprecated. Its use is not recommended and its functionality may be compromised.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.

Additional notes:
Use #switch parser function instead. Example
{{#switch: {{language}}
| #default = English
| ja = 日本語
| zh-tw = 中文(台灣)
‎}}
{{{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:

{{Userbox| border-c = #ffffff66| id = {{GENDER:Userbox gender|♂|♀|♂/♀/?| id-s = background:#ffffff29| info-s = background:#ffffff29| info =

Red x.png
This template (and its redirect) is Wikipedia icon Deprecated. Its use is not recommended and its functionality may be compromised.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.

Additional notes:
Use #switch parser function instead. Example
{{#switch: {{language}}
| #default = English
| ja = 日本語
| zh-tw = 中文(台灣)
‎}}

male
Female: {{Userbox| border-c = #ffffff66| id = {{GENDER:Userbox gender|♂|♀|♂/♀/?| id-s = background:#ffffff29| info-s = background:#ffffff29| info =

Red x.png
This template (and its redirect) is Wikipedia icon Deprecated. Its use is not recommended and its functionality may be compromised.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.

Additional notes:
Use #switch parser function instead. Example
{{#switch: {{language}}
| #default = English
| ja = 日本語
| zh-tw = 中文(台灣)
‎}}
{{{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}}