User:UBX/gender/doc

This template uses the {{GENDER:username|text if male|text if female|text if unknown}} magic word to output a user's gender based on what that user has set in their preferences. All parameters are completely optional, however, the username parameter must be specified if this userbox is used outside of the User or User talk namespace.