Template:His or her/doc

From Simple English 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[change source]

{{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[change source]

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

See also[change source]

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