Template:Incomprehensible/doc: Difference between revisions

From Body Communication
en>Trialpears
m (Remove broken exclude in print, succesion amboxes are hidden in other ways (via WP:JWB))
(No difference)

Revision as of 17:28, 25 July 2021

Usage


Notes:

  • The date-substitution template may be used to automatically generate the date, e.g., {{Incomprehensible|{{SUBST:DATE}}}}. See Help:Substitution for more information.
  • The |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

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

Examples

Paste-ready example: {{Incomprehensible|date=November 2024}}
Example with reason: {{Incomprehensible|date=November 2024|reason=}}
Example with talk: {{Incomprehensible|date=November 2024|talk=}}
Example with machine: {{Incomprehensible|date=November 2024|machine=yes}}
Example with section: {{Incomprehensible|section|date=November 2024}} or {{Incomprehensible|date=November 2024|section=yes}}
Example with small: {{Incomprehensible|date=November 2024|small=left}}

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

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Incomprehensible

<templatedata>{ "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" } }}</templatedata>

See also