More actions
m s/Copied from/Based on/ to reflect the recent additions |
m Use interwiki syntax |
||
| (One intermediate revision by the same user not shown) | |||
| Line 51: | Line 51: | ||
* <code><nowiki>{{p|DummyAccNB}}</nowiki></code> ⟶ they | * <code><nowiki>{{p|DummyAccNB}}</nowiki></code> ⟶ they | ||
The word can be capitalised with the <nowiki>{{</nowiki>[ | The word can be capitalised with the <nowiki>{{</nowiki>[[mw:Help:Magic_words#ucfirst|ucfirst:]]<nowiki>}}</nowiki> magic word: <code><nowiki>{{ucfirst:{{p|DummyAccF}}}}</nowiki></code> ⟶ <!-- user doesn't exist {{ucfirst:{{p|DummyAccF}}}} --> She | ||
Based on the English Wikipedia's <nowiki>{{</nowiki>[[wikipedia:Template:Gender|gender]]<nowiki>}}</nowiki>. | Based on the English Wikipedia's <nowiki>{{</nowiki>[[wikipedia:Template:Gender|gender]]<nowiki>}}</nowiki>. | ||
| Line 66: | Line 66: | ||
"2": { | "2": { | ||
"label": "Dummy Pronoun", | "label": "Dummy Pronoun", | ||
"description": "one of: they, them, their, theirs, themself, themselves", | "description": "one of: they, them, their, theirs, themself, themselves, they're, they've, they'll, they'd", | ||
"type": "string", | "type": "string", | ||
"default": "they" | "default": "they" | ||
Latest revision as of 11:27, 7 September 2025
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.
theyfor the subjective case (results in "he", "she", or "they")- equivalents:
nominative,subject,subjective,sub, andhe/she they'refor -is/-are contraction (results in "he's", "she's", or "they're")they'vefor -has/-have contraction (results in "he's", "she's", or "they've")they'llfor -will contraction (results in "he'll", "she'll", or "they'll")they'dfor -would contraction (results in "he'd", "she'd", or "they'd")
- equivalents:
themfor the objective case (results in "him", "her", or "them")- equivalents:
accusative,object,oblique,objective,dative,prepositional,obj,him/her, andhim
- equivalents:
theirfor the possessive determiner (results in "his", "her", or "their")- equivalents:
genitive,possessive,pos,his/her, andhis
- equivalents:
theirsfor the possessive pronoun (results in "his", "hers", or "theirs")- equivalents:
genitive pronoun,possessive pronoun,poss,his/hers, andhers
- equivalents:
themselffor the reflexive case (results in "himself", "herself", or "themself")- equivalents:
reflexive2,intensive2,himself/herself2 themselvesfor the reflexive case with the alternate epicene form (results in "himself", "herself", or "themselves")- equivalents:
reflexive,intensive, andhimself/herself
- equivalents:
- equivalents:
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
Based on 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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| TASBot Wiki Username | 1 | omit "User:", case-sensitive, see Special:ListUsers | User | required |
| Dummy Pronoun | 2 | one of: they, them, their, theirs, themself, themselves, they're, they've, they'll, they'd
| String | optional |