Template:He or she/doc

From Wikipedia, the free encyclopedia

This template will expand to "he" or "she" based on a user's gender. It will obtain the user's gender from the user's preferences and expand to form "he" (male), "she" (female), or "he or she" (unspecified).

Usage[edit]

{{He or she|SomeUser}}

When it is wanted to use this to start a sentence, you need to wrap the template in an {{ucfirst:...}} container to capitalize the first letter.

Examples[edit]

  • This text ... User B said that {{he or she|B}} loves the Hokies
    results in ... User B said that he loves the Hokies
  • This text ... {{ucfirst:{{he or she|B}}}} thinks the Hokies are great
    results in ... He thinks the Hokies are great

See also[edit]

Pronoun templates
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
{{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