Template:Gender/doc
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
This is a documentation subpage for Template:Gender. It may contain usage information, categories and other content that is not part of the original template page. |
This template returns the correct third person singular pronoun to refer to a given user, based on what the user has set as their gender in their preferences. It uses the {{GENDER}} magic word.
Usage
{{Gender |Username |Case }}
Parameters
- Username
- The user's username without the User: prefix
- Case
- Optional parameter for giving the case of the pronoun. Possible values are listed below:
- "nominative" (also "subject" and "subjective") - Returns "he", "she" or "he/she". This is the default value of the case parameter.
- "accusative" (also "object", "oblique", "objective", "dative" and "prepositional") - Returns "him", "her", or "him/her".
- "genitive" (also "possessive") - Returns "his", "her" or "his/her".
- "reflexive" (also "intensive") - Returns "himself", "herself" or "himself/herself".
Examples
In these examples, the hypothetical users User:ExampleMale, User:ExampleFemale and User:ExampleNeutral are supposed to be male, female and of unspecified gender, respectively.
{{gender|ExampleMale}}
would returnhe
{{gender|ExampleFemale}}
would returnshe
{{gender|ExampleNeutral}}
would returnhe/she
{{gender|ExampleMale|reflexive}}
would returnhim
{{gender|ExampleNeutral|accusative}}
would returnhim/her