Template:Gender/doc

From The League Wiki
Jump to navigation Jump to search

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

Typical:
     {{gender |Username |case }}

Vertical:

{{gender
|Username
|case
}}

Parameters

  • |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

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 return he
  • {{gender|ExampleFemale}} would return she
  • {{gender|ExampleNeutral}} would return they
  • {{gender|ExampleMale|reflexive}} would return himself
  • {{gender|ExampleNeutral|accusative}} would return them

See also

Pronoun templates
Template Male Female Not specified
{{he or she}} he or she he or she he or she
{{him or her}} him or her him or her him or her
{{his or her}} his or her his or her his or her
{{his or hers}} his or hers his or hers his or hers
{{them}} them them them
{{they}} they they they
{{they are}} they are they are they are
{{they have}} they have they have they have
{{their}} their their their
{{theirs}} theirs theirs theirs
{{themself}} themself themself themself
{{him/her}} him/her him/her him/her
{{he/she}} he/she he/she he/she
{{his/her}} his/her his/her his/her
{{pronoun}} (See template documentation for parameters)
{{gender}} (See template documentation for parameters)
{{ucfirst:{{he or she}}}} He or she He or she He or she
{{ucfirst:{{his or her}}}} His or her His or her His or her
{{ucfirst:{{his or hers}}}} His or hers His or hers His or hers
{{ucfirst:{{they}}}} They They They
{{ucfirst:{{they are}}}} They are They are They are
{{ucfirst:{{they have}}}} They have They have They have
{{ucfirst:{{their}}}} Their Their Their
{{ucfirst:{{theirs}}}} Theirs Theirs Theirs
{{ucfirst:{{themself}}}} Themself Themself Themself
{{ucfirst:{{he/she}}}} He/she He/she He/she
{{ucfirst:{{him/her}}}} Him/her Him/her Him/her
{{ucfirst:{{his/her}}}} His/her His/her His/her