Template:Userbox gender/doc: Difference between revisions
Jump to navigation
Jump to search
Note:To change user gender, go to your account Preferences > How do you prefer to be described? > Select Male or Female.
Note:Coming soon!
m (Kr0tchet moved page Template:Userbox gender/doc/ to Template:Userbox gender/doc) |
(→Parameters and Examples: - Completed doc.) |
||
| Line 26: | Line 26: | ||
|- | |- | ||
| align="center" | {{Code|style=2|{{Param|enablecustomname}}}} and {{Code|style=2|{{Param|customname}}}} | | align="center" | {{Code|style=2|{{Param|enablecustomname}}}} and {{Code|style=2|{{Param|customname}}}} | ||
| Enable and | | Enable and specify custom username. Most users may not have their gender specified in User Preferences. | ||
| {{CodeBlock|margin=5px|<nowiki>| enablecustomname = <yes/true> or <no/false> (default)</nowiki>}} | | {{CodeBlock|margin=5px|<nowiki>| enablecustomname = <yes/true> or <no/false> (default)</nowiki>}} | ||
| align="center" | [[User:Gabe Newell]]: {{Userbox gender| enablecustomname = true|customname=Gabe Newell}}<br>[[User:kr0tchet]]: {{Userbox gender| enablecustomname = true|customname=kr0tchet}} | | align="center" | [[User:Gabe Newell]]: {{Userbox gender| enablecustomname = true|customname=Gabe Newell|nocat=1}}<br>[[User:kr0tchet]]: {{Userbox gender| enablecustomname = true|customname=kr0tchet|nocat=1}} | ||
|- | |||
| align="center" | {{Code|style=2|{{Param|gender}}}} | |||
| Manually set user gender without changing user preferences, and without specify custom username. By default this is automatic based off user's preferences. | |||
| {{CodeBlock|margin=5px|<nowiki>| gender = <auto/male/female/unspecified> (default is "auto")</nowiki>}} | |||
| align="center" | Male:{{Userbox gender| gender = male}}<br>Female: {{Userbox gender| gender = female|nocat=1}} | |||
|} | |} | ||
<includeonly>[[Category:Templates]][[Category:Userbox Templates]]</includeonly> | <includeonly>[[Category:Templates]][[Category:Userbox Templates]]</includeonly> | ||
Revision as of 06:02, 25 August 2023
This is a documentation subpage for Template:Userbox gender.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Userbox used for specifying the user's gender.
Translations
Copy and Paste
Parameters and Examples
| Parameter | Description | Example | Preview |
|---|---|---|---|
{{{type}}}
|
Default appearance, defaults to unspecified if not specified on User Preferences. |
⚧️
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. | 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. | Male:
♂️
This user's gender is Male. Female:
♀️
This user's gender is Female. |