Template:Gender: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
mNo edit summary |
(Let's not destroy a bunch of talk pages, okay?) |
||
Line 1: | Line 1: | ||
{{Tfm/dated|page=Gender|otherpage=Pronoun|link=Wikipedia:Templates for discussion/Log/2015 May 8#Template:Gender|type=tiny|help=off}}<includeonly>{{{{{|safesubst:}}}#switch: {{{{{|safesubst:}}}GENDER:{{{1|}}}|Male|Female|Unspecified}} |
<noinclude>{{Tfm/dated|page=Gender|otherpage=Pronoun|link=Wikipedia:Templates for discussion/Log/2015 May 8#Template:Gender|type=tiny|help=off}}</noinclude><includeonly>{{{{{|safesubst:}}}#switch: {{{{{|safesubst:}}}GENDER:{{{1|}}}|Male|Female|Unspecified}} |
||
|Male = {{{{{|safesubst:}}}#switch:{{{2}}} |
|Male = {{{{{|safesubst:}}}#switch:{{{2}}} |
||
|objective|object|oblique|accusative|dative|prepositional|him/her = him |
|objective|object|oblique|accusative|dative|prepositional|him/her = him |
Revision as of 09:22, May 8, 2015
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:
Template:In5{{gender |Username |case }}
Vertical:
{{gender |Username |case }}
Parameters
|Template:Var
or|1=Template:Var
– The username without theUser:
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
, orthey
– Returns "he", "she" or "they". This is the default value of the case parameter.accusative
,object
,oblique
,objective
,dative
,prepositional
,obj
,him/her
,him
, orthem
– Returns "him", "her", or "them".genitive
,possessive
,pos
,his/her
,his
, ortheir
– Returns "his", "her" or "their".genitive pronoun
,possessive pronoun
,poss
,his/hers
,hers
, ortheirs
– Returns "his", "hers" or "theirs".reflexive
,intensive
,himself/herself
, orthemselves
– Returns "himself", "herself" or "themselves".reflexive2
,intensive2
,himself/herself2
, orthemself
– 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 returnhe
{{gender|ExampleFemale}}
would returnshe
{{gender|ExampleNeutral}}
would returnthey
{{gender|ExampleMale|reflexive}}
would returnhimself
{{gender|ExampleNeutral|accusative}}
would returnthem
See also
{{gender:}}
magic word