Module:UserGenderBox/doc
From Inkipedia, the Splatoon wiki
This is the documentation page for Module:UserGenderBox
Displays a userbox regarding a user's gender identity or pronouns.
This module passes arguments to Module:Userbox after helpfully switching based on the first parameter.
Usage
- {{UserGenderBox|<identifier>}}
- {{UserGenderBox|<identifier>|<gender>|<text=>|<punctuation=>|<genderColor=>}}
Parameters
Parameter | Type | Status | Description |
---|---|---|---|
identifier | Named or unnamed (first positional) | Optional, defaults to "" | The identifier that the module should use. Pre-defined ones are:
Otherwise, if the identifier contains a '/', and gender is not set, then the box assumes this is a pronoun(s). |
gender | Named or unnamed (second positional) | Optional | The gender to use. If identifier is set above, you need not set this. You could set this for a more specific gender, e.g. calling {{UserGenderBox|trans|transmasc}} .If |
text | Named only | Optional | Fully overrides the box text. |
punctuation | Named only | Optional, defaults to . | Prefixes the text with the punctuation. By default this is a period however some users have changed this to ! .If |
genderColor | Named only | Optional, defaults to "inherit" | Customizes the gender's color with the given color. Typical CSS rules apply, e.g. use #ABC123 , rbg(50, 100, 150) , or pink etc.
|
For additional parameters, see Module:Userbox. All parameters there are also valid for this module.
Examples
Markup
* {{UserGenderBox}} * {{UserGenderBox|male}} * {{UserGenderBox|female}} * {{UserGenderBox|nb|genderColor=darkorchid}} * {{UserGenderBox|trans}} * {{UserGenderBox|transgender|transfem|genderColor=#F5A9B8|id-c=white|info-c=white|punctuation=!}} * {{UserGenderBox|she/they}} * {{UserGenderBox|they/<br>them|text=This user is non-binary!}} * {{UserGenderBox|It|text=This user only uses it/its pronouns}}
Output
? | This user keeps their gender a mystery. |
This user is male. |
This user is female. |
This user is non-binary. |
This user is trans. |
This user is transfem! |
she/they | This user uses she/they pronouns. |
they/ them | This user is non-binary! |
it | This user only uses it/its pronouns |