Difference between revisions of "Template:Gender/doc"
Jump to navigation
Jump to search
imported>Goldenshimmer (→Examples: Whoops.) |
imported>Ahecht (→See also: * <nowiki>{{</nowiki>gender:<nowiki>}}</nowiki> magic word) |
||
| Line 31: | Line 31: | ||
==See also== | ==See also== | ||
| + | * <nowiki>{{</nowiki>[[Help:Magic_words#Formatting|gender:]]<nowiki>}}</nowiki> magic word | ||
{{Pronoun templates}} | {{Pronoun templates}} | ||
Revision as of 15:04, 17 March 2017
| This is a documentation subpage for Template:Gender. It contains 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.
Contents
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", "subjective", and "he/she") – Returns "he", "she" or "they". This is the default value of the case parameter.
- "accusative" (also "object", "oblique", "objective", "dative", "prepositional", and "him/her") – Returns "him", "her", or "them".
- "genitive" (also "possessive" and "his/her") – Returns "his", "her" or "their".
- "genitive pronoun" (also "possessive pronoun" and "his/hers") – Returns "his", "hers" or "theirs".
- "reflexive" (also "intensive" and "himself/herself") – Returns "himself", "herself" or "themselves".
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 returnthey{{gender|ExampleMale|reflexive}}would returnhimself{{gender|ExampleNeutral|accusative}}would returntheir
See also
- {{gender:}} magic word