Difference between revisions of "Template:MOS-TRANS/doc"
Jump to navigation
Jump to search
imported>GreenComputer (→Usage: Use lowercase parameters) |
imported>GreenComputer (Update templatedata) |
||
| Line 22: | Line 22: | ||
"1": { | "1": { | ||
"label": "Gender", | "label": "Gender", | ||
| − | "type": " | + | "type": "line", |
"suggested": true, | "suggested": true, | ||
"example": "f", | "example": "f", | ||
| Line 30: | Line 30: | ||
"label": "Contentious topics", | "label": "Contentious topics", | ||
"description": "Additional topics that may produce heated discussions.", | "description": "Additional topics that may produce heated discussions.", | ||
| − | "type": " | + | "type": "line" |
}, | }, | ||
| − | "Forum": | + | "nocat": { |
| + | "label": "Supress error", | ||
| + | "description": "Don't error when used on a non-talk page.", | ||
| + | "type": "boolean", | ||
| + | "default": "false" | ||
| + | }, | ||
| + | "small": { | ||
| + | "label": "Small", | ||
| + | "description": "Display the message in a small talk page box.", | ||
| + | "type": "boolean", | ||
| + | "default": "no" | ||
| + | }, | ||
| + | "ds": { | ||
| + | "aliases": [ | ||
| + | "DS" | ||
| + | ], | ||
| + | "label": "Discretionary sanctions", | ||
| + | "description": "Display the discretionary sanctions warning.", | ||
| + | "type": "boolean", | ||
| + | "default": "yes" | ||
| + | }, | ||
| + | "forum": { | ||
| + | "aliases": [ | ||
| + | "Forum" | ||
| + | ], | ||
| + | "label": "Not a forum", | ||
"description": "Display the {{Not a forum}} template.", | "description": "Display the {{Not a forum}} template.", | ||
"type": "boolean", | "type": "boolean", | ||
"default": "yes" | "default": "yes" | ||
}, | }, | ||
| − | " | + | "they": { |
| − | + | "label": "Singular they", | |
| − | + | "description": "Show a message about the usage of singular they.", | |
| − | "description": " | ||
"type": "boolean", | "type": "boolean", | ||
"default": "yes" | "default": "yes" | ||
| Line 48: | Line 72: | ||
"1", | "1", | ||
"2", | "2", | ||
| − | " | + | "ds", |
| − | " | + | "forum", |
| + | "they", | ||
"small", | "small", | ||
"nocat" | "nocat" | ||
Latest revision as of 02:29, 12 December 2020
| This is a documentation subpage for Template:MOS-TRANS. It contains usage information, categories and other content that is not part of the original template page. |
Usage
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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Gender | 1 | The self-designated gender of the article subject.
| Line | suggested |
| Contentious topics | 2 | Additional topics that may produce heated discussions. | Line | optional |
| Discretionary sanctions | ds DS | Display the discretionary sanctions warning.
| Boolean | optional |
| Not a forum | forum Forum | Display the {{Not a forum}} template.
| Boolean | optional |
| Singular they | they | Show a message about the usage of singular they.
| Boolean | optional |
| Small | small | Display the message in a small talk page box.
| Boolean | optional |
| Supress error | nocat | Don't error when used on a non-talk page.
| Boolean | optional |