Template:His or her/doc

From Wikipedia, the free encyclopedia

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

Usage[edit]

{{his or her|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.

Example[edit]

This text ... User B loves {{his or her|B}} Hokies
results in ... User B loves his Hokies
This text ... {{ucfirst:{{his or her|B}}}} Hokies are the best
results in ... His Hokies are the best

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