The first video in the TASBot Re: (TASBot Revisited) series is out! TASBot Re: Gradius covers our first run from AGDQ 2014.

Historians wanted: Inquire here.

Template:Pronoun: Difference between revisions

Template page
m (Add to category)
Tag: 2017 source edit
m (Note that the username is case-sensitive)
Line 11: Line 11:
<del>Also note that the gender options in MediaWiki are epicene/fem./masc., and so "it", "one", and neopronouns are unavailable ([https://stackoverflow.com/a/14285040 more could be added] but many, many system strings would need updating).</del> Actually I think re-implementing this with [[metawikimedia:Help:Array|metatemplate tricks]], which would allow this to be used for people without an account, would also allow for arbitrary sets of pronouns. --yoshi
<del>Also note that the gender options in MediaWiki are epicene/fem./masc., and so "it", "one", and neopronouns are unavailable ([https://stackoverflow.com/a/14285040 more could be added] but many, many system strings would need updating).</del> Actually I think re-implementing this with [[metawikimedia:Help:Array|metatemplate tricks]], which would allow this to be used for people without an account, would also allow for arbitrary sets of pronouns. --yoshi


Usage: <code><nowiki>{{p|Username|case}}</nowiki></code>, where <code>Username</code> is a username without the "User:" prefix, and <code>case</code> is one of the below keywords. Consult [[wikipedia:English_personal_pronouns#Basic|the English Wikipedia]] for a refresher on English pronouns.
Usage: <code><nowiki>{{p|Username|case}}</nowiki></code>, where <code>Username</code> is a username without the "User:" prefix (case-sensitive! check on [[Special:ListUsers]]), and <code>case</code> is one of the below keywords. Consult [[wikipedia:English_personal_pronouns#Basic|the English Wikipedia]] for a refresher on English pronouns.
* <code>they</code> for the subjective case (results in "he", "she", or "they")
* <code>they</code> for the subjective case (results in "he", "she", or "they")
** equivalents: <code>nominative</code>, <code>subject</code>, <code>subjective</code>, <code>sub</code>, and <code>he/she</code>
** equivalents: <code>nominative</code>, <code>subject</code>, <code>subjective</code>, <code>sub</code>, and <code>he/she</code>
Line 52: Line 52:
"1": {
"1": {
"label": "TASBot Wiki Username",
"label": "TASBot Wiki Username",
"description": "omit \"User:\"",
"description": "omit \"User:\", case-sensitive, see Special:ListUsers",
"type": "wiki-user-name",
"type": "wiki-user-name",
"required": true
"required": true

Revision as of 20:31, 9 April 2024


This template can be used to display the chosen pronouns (in English only) of any editor/user of this wiki. It can't be used for someone without an account here. Also note that the gender options in MediaWiki are epicene/fem./masc., and so "it", "one", and neopronouns are unavailable (more could be added but many, many system strings would need updating). Actually I think re-implementing this with metatemplate tricks, which would allow this to be used for people without an account, would also allow for arbitrary sets of pronouns. --yoshi

Usage: {{p|Username|case}}, where Username is a username without the "User:" prefix (case-sensitive! check on Special:ListUsers), and case is one of the below keywords. Consult the English Wikipedia for a refresher on English pronouns.

  • they for the subjective case (results in "he", "she", or "they")
    • equivalents: nominative, subject, subjective, sub, and he/she
  • them for the objective case (results in "him", "her", or "them")
    • equivalents: accusative, object, oblique, objective, dative, prepositional, obj, him/her, and him
  • their for the possessive determiner (results in "his", "her", or "their")
    • equivalents: genitive, possessive, pos, his/her, and his
  • theirs for the possessive pronoun (results in "his", "hers", or "theirs")
    • equivalents: genitive pronoun, possessive pronoun, poss, his/hers, and hers
  • themself for the reflexive case (results in "himself", "herself", or "themself")
    • equivalents: reflexive2, intensive2, himself/herself2
    • themselves for the reflexive case with the alternate epicene form (results in "himself", "herself", or "themselves")
      • equivalents: reflexive, intensive, and himself/herself

If omitted, the second parameter defaults to they, i.e. the subjective case.

Examples:

  • {{p|DummyAccM|them}} ⟶ him
  • {{p|DummyAccF|themself}} ⟶ herself
  • {{p|DummyAccNB|their}} ⟶ their
  • {{p|DummyAccM|they}} ⟶ he
  • {{p|DummyAccF|theirs}} ⟶ hers
  • {{p|DummyAccNB}} ⟶ they

The word can be capitalised with the {{ucfirst:}} magic word: {{ucfirst:{{p|DummyAccF}}}} ⟶ She

Copied from the English Wikipedia's {{gender}}.


The below documentation is automatically generated from JSON.

It can be changed by editing this page, but note that it's only the documentation (for the visual editor)—the actual template part must also be edited, manually.

Replaces a pronoun (in English only) with the equivalent that matches the chosen gender of any editor/user of this wiki.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
TASBot Wiki Username1

omit "User:", case-sensitive, see Special:ListUsers

Userrequired
Dummy Pronoun2

one of: they, them, their, theirs, themself, themselves

Default
they
Stringoptional