Difference between revisions of "Template:User Pronouns"
GrampaSwood (talk | contribs) (Added support for default pronouns, as "no pronouns" is not really a thing. Now defaults to pronouns set in Preferences) |
GrampaSwood (talk | contribs) (Changed "Examples" section to specify that the first example produces something different based on your own preferences. I believe both "Preferences" links are necessary) |
||
Line 19: | Line 19: | ||
== Usage == | == Usage == | ||
− | The template takes two parameters: the first one shows the shorthand representation in the smaller icon section, while the second one inserts them in the descriptive sentence. The parameters aren't processed in any way to make it as flexible as possible, so including {{code|<nowiki><br></nowiki>}} in the first parameter to display it as two or three fancy lines is useful. When left blank, it defaults to the user's pronouns as set in the | + | The template takes two parameters: the first one shows the shorthand representation in the smaller icon section, while the second one inserts them in the descriptive sentence. The parameters aren't processed in any way to make it as flexible as possible, so including {{code|<nowiki><br></nowiki>}} in the first parameter to display it as two or three fancy lines is useful. When left blank, it defaults to the user's pronouns as set in the [[Special:Preferences|Preferences]] settings. |
== Examples == | == Examples == | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{{{!}} | {{{!}} | ||
− | {{!}} {{User Pronouns}} | + | {{!}} <code><nowiki>{{User Pronouns}}</nowiki></code> produces (differs based on your [[Special:Preferences|Preferences]]):<br>{{User Pronouns}} |
{{!}}- | {{!}}- | ||
− | {{!}} {{User Pronouns|they/<br>them|they/them}} | + | {{!}} <code><nowiki>{{User Pronouns|they/<br>them|they/them}}</nowiki></code> produces:<br>{{User Pronouns|they/<br>them|they/them}} |
{{!}}- | {{!}}- | ||
− | {{!}} {{User Pronouns|any|any}} | + | {{!}} <code><nowiki>{User Pronouns|any|any}}</nowiki></code> produces:<br>{{User Pronouns|any|any}} |
{{!}}- | {{!}}- | ||
− | {{!}} {{User Pronouns|him/<br>they|he/him and they/them}} | + | {{!}} <code><nowiki>{User Pronouns|him/<br>they|he/him and they/them}}</nowiki></code> produces:<br>{{User Pronouns|him/<br>they|he/him and they/them}} |
{{!}}} | {{!}}} | ||
}} | }} | ||
[[Category:Userbox templates|Pronouns]]</noinclude> | [[Category:Userbox templates|Pronouns]]</noinclude> |
Latest revision as of 12:38, 7 April 2024
they/them | This user uses they/them pronouns. |
Template documentation
This userbox template can show the pronoun preferences of a user.
Usage
The template takes two parameters: the first one shows the shorthand representation in the smaller icon section, while the second one inserts them in the descriptive sentence. The parameters aren't processed in any way to make it as flexible as possible, so including <br>
in the first parameter to display it as two or three fancy lines is useful. When left blank, it defaults to the user's pronouns as set in the Preferences settings.
Examples
{{User Pronouns}} produces (differs based on your Preferences):
| ||
{{User Pronouns|they/<br>them|they/them}} produces:
| ||
{User Pronouns|any|any}} produces:
| ||
{User Pronouns|him/<br>they|he/him and they/them}} produces:
|