Difference between revisions of "Template:Gender"
Jump to navigation
Jump to search
imported>Feminist (I accept that "her" is ambiguous, but "his" and "him" should be options) |
imported>Feminist ("hers" too is unambiguous) |
||
Line 5: | Line 5: | ||
| reflexive2|intensive2|himself/herself2|themself = {{{{{|safesubst:}}}gender:{{{1|.}}}|himself|herself|themself}} | | reflexive2|intensive2|himself/herself2|themself = {{{{{|safesubst:}}}gender:{{{1|.}}}|himself|herself|themself}} | ||
| genitive|possessive|pos|his/her|his|their = {{{{{|safesubst:}}}gender:{{{1|.}}}|his|her|their}} | | genitive|possessive|pos|his/her|his|their = {{{{{|safesubst:}}}gender:{{{1|.}}}|his|her|their}} | ||
− | | genitive pronoun|possessive pronoun|poss|his/hers|theirs = {{{{{|safesubst:}}}gender:{{{1|.}}}|his|hers|theirs}} | + | | genitive pronoun|possessive pronoun|poss|his/hers|hers|theirs = {{{{{|safesubst:}}}gender:{{{1|.}}}|his|hers|theirs}} |
}}<noinclude>{{Documentation}}</noinclude> | }}<noinclude>{{Documentation}}</noinclude> |
Latest revision as of 17:34, 28 November 2020
they
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
Typical:
{{gender |Username |case }}
Vertical:
{{gender |Username |case }}
Parameters
|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
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
{{gender:}}
magic word
The above documentation is transcluded from Template:Gender/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |