Template:Incomprehensible/doc

{{Documentation subpage}}

{{Nosubst}}

{{twinkle standard installation}}

Usage

Notes:

  • The date-substitution template may be used to automatically generate the date, e.g., {{Tlc|{{BASEPAGENAME}}|{{SUBST:DATE}}}}. See Help:Substitution for more information.
  • The {{para|date}} parameter need not be added by the editor: if not entered, a bot will soon add it. The date parameter consists of the full English name of the current month with initial capital, a space, and the year, not full dates; e.g., "January 2013", but not "jan13". Any deviation from these two rules will result in an "invalid date parameter" error.

Parameters

  • {{Para|date|{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}} - required parameter, will be added by a bot if omitted
  • {{Para|reason|text}} - optional parameter which adds advisory text
  • {{Para|machine|yes}} - optional parameter which adds "Sometimes this can be due to machine translation."
  • {{Para|section|text}} - optional parameter which changes the word "article" to "section" if 'y', 'yes', '1', or 'true' or its value otherwise
  • {{Para|talk|section}} - optional parameter which indicates the talk page section
  • {{Para|small|left}} - optional parameter which allows the use of the small format

= Examples =

: Paste-ready example: {{Tlc|{{BASEPAGENAME}}|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}

: Example with reason: {{Tlc|{{BASEPAGENAME}}|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}|reason{{=}} }}

: Example with talk: {{Tlc|{{BASEPAGENAME}}|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}|talk{{=}} }}

: Example with machine: {{Tlc|{{BASEPAGENAME}}|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}|machine{{=}}yes}}

: Example with section: {{Tlc|{{BASEPAGENAME}}|section|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}} or {{Tlc|{{BASEPAGENAME}}|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}|section{{=}}yes}}

: Example with small: {{Tlc|{{BASEPAGENAME}}|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}|small{{=}}left}}

{{tlx|Incomprehensible|small{{=}}left|machine{{=}}yes}} generates:

{{Incomprehensible|small=left|machine=yes|nocat=1}}

TemplateData

{{TemplateDataHeader}}

{

"description": "A template to indicate that an article contains incomprehensible text",

"params": {

"date": {

"label": "Date",

"description": "The month and year the template was added",

"example": "October 2015",

"autovalue": "{{SUBST:CURRENTMONTHNAME}} {{SUBST:CURRENTYEAR}}",

"type": "string",

"required": true

},

"reason": {

"label": "Reason",

"description": "A reason for adding the template",

"type": "string"

},

"machine": {

"label": "Machine Translation",

"description": "Adds: Sometimes this can be due to machine translation.",

"type": "string"

},

"sect": {

"label": "Section",

"aliases": ["section", "1"],

"description": "Changes the word article",

"type": "string"

},

"talk": {

"label": "Talk",

"aliases": ["2"],

"description": "The section heading on the article's talk page with relevant discussion",

"type": "string"

},

"small": {

"label": "Small",

"description": "Allows the use of the small format",

"example": "left",

"type": "string"

}

}}

See also

{{Sandbox other||

Category:Article message templates

Category:Cleanup templates

}}