Difference between revisions of "Template:MOS-TRANS"

From blackwiki
Jump to navigation Jump to search
imported>GreenComputer
(Add "-", use {{PAGENAMEBASE}}, fix section link)
imported>GreenComputer
(Allow lowercase parameters)
 
Line 1: Line 1:
{{#ifeq: {{{DS}}} | no || {{Ds/talk notice|gg}} }}
+
{{#ifeq: {{{DS|{{{ds}}}}}} | no || {{Ds/talk notice|gg}} }}
 
{{Check talk| nocat={{{nocat|}}} }}__NOINDEX__{{Tmbox
 
{{Check talk| nocat={{{nocat|}}} }}__NOINDEX__{{Tmbox
 
| small = {{{small|}}}
 
| small = {{{small|}}}
Line 8: Line 8:
 
| text  = This article should adhere to the '''[[Wikipedia:Manual of Style#Identity|identity]]''' guideline because it contains material about one or more {{#switch: {{{1}}} | nb = [[non-binary]] people | m = [[trans men]] | f = [[trans women]] | [[transgender]] people }}. Main biographical articles should '''give precedence to self-designation as reported in the most up-to-date reliable sources''', even when it doesn't match what's most common in reliable sources. Any person whose gender might be questioned should be referred to by the pronouns, possessive adjectives, and gendered nouns (for example "man/woman", "waiter/waitress", "chairman/chairwoman") that reflect that person's ''latest'' expressed gender self-identification. {{#ifeq: {{{1}}} | nb | {{#ifeq: {{{they|}}} | no ||Many, but not all, non-binary people prefer [[singular they#Use for specific, known people, including non-binary people|singular ''they'']] pronouns, which are acceptable for use in articles.}} }} This applies in references to any phase of that person's life, unless the subject has indicated a preference otherwise. Other articles should use context to determine which name or names to provide on a case-by-case basis.{{pb}}If material violating this guideline is repeatedly inserted, or if there are other related issues, please report the issue to the '''[[Wikipedia talk:WikiProject LGBT studies|LGBT noticeboard]]''', or, in the case of ''living'' people, to the '''[[Wikipedia:Biographies of living persons/Noticeboard|BLP noticeboard]]'''.
 
| text  = This article should adhere to the '''[[Wikipedia:Manual of Style#Identity|identity]]''' guideline because it contains material about one or more {{#switch: {{{1}}} | nb = [[non-binary]] people | m = [[trans men]] | f = [[trans women]] | [[transgender]] people }}. Main biographical articles should '''give precedence to self-designation as reported in the most up-to-date reliable sources''', even when it doesn't match what's most common in reliable sources. Any person whose gender might be questioned should be referred to by the pronouns, possessive adjectives, and gendered nouns (for example "man/woman", "waiter/waitress", "chairman/chairwoman") that reflect that person's ''latest'' expressed gender self-identification. {{#ifeq: {{{1}}} | nb | {{#ifeq: {{{they|}}} | no ||Many, but not all, non-binary people prefer [[singular they#Use for specific, known people, including non-binary people|singular ''they'']] pronouns, which are acceptable for use in articles.}} }} This applies in references to any phase of that person's life, unless the subject has indicated a preference otherwise. Other articles should use context to determine which name or names to provide on a case-by-case basis.{{pb}}If material violating this guideline is repeatedly inserted, or if there are other related issues, please report the issue to the '''[[Wikipedia talk:WikiProject LGBT studies|LGBT noticeboard]]''', or, in the case of ''living'' people, to the '''[[Wikipedia:Biographies of living persons/Noticeboard|BLP noticeboard]]'''.
 
}}
 
}}
{{#ifeq: {{{Forum}}} | no || {{Not a forum|{{PAGENAMEBASE}}, gender, {{#if: {{{2|}}} | sex, {{{2}}}|or sex}}}} }}<noinclude>
+
{{#ifeq: {{{Forum|{{{forum}}}}}} | no || {{Not a forum|{{PAGENAMEBASE}}, gender, {{#if: {{{2|}}} | sex, {{{2}}}|or sex}}}} }}<noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 02:16, 12 December 2020

Template:Not a forum

Template documentation[view] [edit] [history] [purge]

Usage

{{MOS-TRANS}}
or
{{MOS-TRANS|f|ds=no|forum=no}}

Hardcoded versions

{{MOS-TW}} – equivalent to {{MOS-TRANS|f|forum=no}}
{{MOS-TM}} – equivalent to {{MOS-TRANS|m|forum=no}}
{{MOS-NB}} – equivalent to {{MOS-TRANS|nb|forum=no}}

Parameters

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for MOS-TRANS

Manual of Style identity guideline talk-page warning.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Gender1

The self-designated gender of the article subject.

Example
f
Linesuggested
Contentious topics2

Additional topics that may produce heated discussions.

Lineoptional
Discretionary sanctionsds DS

Display the discretionary sanctions warning.

Default
yes
Booleanoptional
Not a forumforum Forum

Display the {{Not a forum}} template.

Default
yes
Booleanoptional
Singular theythey

Show a message about the usage of singular they.

Default
yes
Booleanoptional
Smallsmall

Display the message in a small talk page box.

Default
no
Booleanoptional
Supress errornocat

Don't error when used on a non-talk page.

Default
false
Booleanoptional