Hello, you have come here looking for the meaning of the word
Template:User gender. In DICTIOUS you will not only get to know all the dictionary meanings for the word
Template:User gender, but we will also tell you about its etymology, its characteristics and you will know how to say
Template:User gender in singular and plural. Everything you need to know about the word
Template:User gender you have here. The definition of the word
Template:User gender will help you to be more precise and correct when speaking or writing your texts. Knowing the definition of
Template:User gender, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.
-
- The following documentation is located at Template:User gender/documentation.
- Useful links: subpage list • links • redirects • transclusions • errors (parser/module) • sandbox
Usage
When included on a user or user talk page, it returns the gender of that user as set in their preferences. It returns m
if set to male, f
if set to female, and -
if not set. It also returns -
when included on a page that is not a user page.
The template has an optional first parameter which merely exists for convenience. If not empty, the template simply returns that parameter instead of retrieving the setting from the preference. This way, any templates that need the gender but allow it to be overridden can simply use {{User gender|{{{g|}}}}}
(without a first parameter, the equivalent would be: {{#if:{{{g|}}}|{{{g}}}|{{User gender}}}}
which is longer).