Template:Gender/sandbox
Appearance
they
![]() | This is the template sandbox page for Template:Gender (diff). See also the companion subpage for test cases. |
![]() | This template is used on approximately 273,000 pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
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
[edit]Typical:
{{gender |Username |case }}
Vertical:
{{gender |Username |case }}
Parameters
[edit]|Username
or|1=Username
– The username without theUser:
prefix|2=
or the second unnamed parameter – Optional parameter for giving the case of the pronoun. Possible values are listed below, and include linguistic terms (and their abbreviations) and "what I want it to say" versions:nominative
,subject
,subjective
,sub
,he/she
, orthey
– Returns "he", "she" or "they". This is the default value of the case parameter.accusative
,object
,oblique
,objective
,dative
,prepositional
,obj
,him/her
,him
, orthem
– Returns "him", "her", or "them".genitive
,possessive
,pos
,his/her
,his
, ortheir
– Returns "his", "her" or "their".genitive pronoun
,possessive pronoun
,poss
,his/hers
,hers
, ortheirs
– Returns "his", "hers" or "theirs".reflexive
,intensive
,himself/herself
, orthemselves
– Returns "himself", "herself" or "themselves".reflexive2
,intensive2
,himself/herself2
, orthemself
– Returns "himself", "herself" or "themself" (preferred by The Chicago Manual of Style and some other sources on singular they).
Examples
[edit]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 returnthem
See also
[edit]{{gender:}}
magic word
Template | Male | Female | Not specified |
---|---|---|---|
{{they}} | he | she | they |
{{them}} | him | her | them |
{{their}} | his | her | their |
{{theirs}} | his | hers | theirs |
{{themself}} | himself | herself | themself |
{{they are}} | he is | she is | they are |
{{they're}} | he's | she's | they're |
{{they were}} | he was | she was | they were |
{{they have}} | he has | she has | they have |
{{they do}} | he does | she does | they do |
{{they verb}} | he {{{3}}} | she {{{3}}} | they {{{2}}} |
{{he or she}} | he | she | he or she |
{{him or her}} | him | her | him or her |
{{his or her}} | his | her | his or her |
{{his or hers}} | his | hers | his or hers |
{{he/she}} | he | she | he/she |
{{him/her}} | him | her | him/her |
{{his/her}} | his | her | his/her |
{{pronoun}} | (See template documentation for parameters) | ||
{{gender}} | (See template documentation for parameters) | ||
{{ucfirst:{{they}}}} | He | She | They |
{{ucfirst:{{their}}}} | His | Her | Their |
{{ucfirst:{{they are}}}} | He is | She is | They are |
{{ucfirst:{{they were}}}} | He was | She was | They were |
{{ucfirst:{{they have}}}} | He has | She has | They have |
{{ucfirst:{{they do}}}} | He does | She does | They do |
{{ucfirst:{{he or she}}}} | He | She | He or she |
{{ucfirst:{{his or her}}}} | His | Her | His or her |
{{ucfirst:{{he/she}}}} | He | She | He/she |
{{ucfirst:{{his/her}}}} | His | Her | His/her |