Difference between revisions of "Template:Confusing section/doc"

From blackwiki
Jump to navigation Jump to search
imported>Srich32977
(tell what to type IOT produce the template)
imported>Mattflaschen
(add templatedata, mention small)
Line 6: Line 6:
 
{{confusing|section}}
 
{{confusing|section}}
  
Two parameters are: ''reason'', and ''date'' (example: {{CURRENTMONTHNAME}} {{CURRENTYEAR}}).
+
The parameters are: ''reason'', ''date'' (example: {{CURRENTMONTHNAME}} {{CURRENTYEAR}}), and small.  See below.
  
 +
===Template data===
 +
{{TemplateDataHeader}}
 +
<templatedata>
 +
{
 +
"description": "Mark a section as confusing",
 +
"params": {
 +
"reason": {
 +
"label": "What is confusing",
 +
"type": "string",
 +
"description": "Explain what part of the section needs to be clarified."
 +
},
 +
"date": {
 +
"label": "Date",
 +
"type": "string",
 +
"description": "Date when it was added or verified"
 +
},
 +
"small": {
 +
"type": "string",
 +
"description": "Set to 'yes' if a small version should be shown instead of the default"
 +
}
 +
}
 +
}
 +
</templatedata>
 
===See also===
 
===See also===
 
* [[Template:Confusing]]
 
* [[Template:Confusing]]

Revision as of 17:40, 8 August 2013

Usage

This template adds a variant of {{Confusing}} customized for a single section. Simply type {{Confusing|section}} at the top of the section, to generate the following tag-box:

The parameters are: reason, date (example: June 2026), and small. See below.

Template data

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 Confusing section

Mark a section as confusing

Template parameters

ParameterDescriptionTypeStatus
What is confusingreason

Explain what part of the section needs to be clarified.

Stringoptional
Datedate

Date when it was added or verified

Stringoptional
Smallsmall

Set to 'yes' if a small version should be shown instead of the default

Stringoptional

See also