Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a2400c08bef02e5c

Jump to content

Template:Gender/doc

From Wikipedia, the free encyclopedia

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 the User: 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, or they – Returns "he", "she" or "they". This is the default value of the case parameter.
    • accusative, object, oblique, objective, dative, prepositional, obj, him/her, him, or them – Returns "him", "her", or "them".
    • genitive, possessive, pos, his/her, his, or their – Returns "his", "her" or "their".
    • genitive pronoun, possessive pronoun, poss, his/hers, hers, or theirs – Returns "his", "hers" or "theirs".
    • reflexive, intensive, himself/herself, or themselves – Returns "himself", "herself" or "themselves".
    • reflexive2, intensive2, himself/herself2, or themself – 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.

One parameter:

  • {{gender|ExampleMale}} would return he
  • {{gender|ExampleFemale}} would return she
  • {{gender|ExampleNeutral}} would return they

Two parameters:

  • {{gender|ExampleMale|reflexive}} would return himself
  • {{gender|ExampleFemale|genitive pronoun}} would return hers
  • {{gender|ExampleNeutral|accusative}} would return them

See also

[edit]
Pronoun templates
TemplateMaleFemaleNot specified
{{they}}heshethey
{{them}}himherthem
{{their}}hishertheir
{{theirs}}hisherstheirs
{{themself}}himselfherselfthemself
{{they are}}he isshe isthey are
{{they're}}he'sshe'sthey're
{{they were}}he wasshe wasthey were
{{they have}}he hasshe hasthey have
{{they've}}he'sshe'sthey've
{{they do}}he doesshe doesthey do
{{they verb}}he {{{3}}}she {{{3}}}they {{{2}}}
{{pronoun}} (See template documentation for parameters)
{{gender}} (See template documentation for parameters)
{{ucfirst:{{they}}}}HeSheThey
{{ucfirst:{{their}}}}HisHerTheir
{{ucfirst:{{they are}}}}He isShe isThey are
{{ucfirst:{{they were}}}}He wasShe wasThey were
{{ucfirst:{{they have}}}}He hasShe hasThey have
{{ucfirst:{{they do}}}}He doesShe doesThey do