Difference between revisions of "Template:Dubious span/doc"

From blackwiki
Jump to navigation Jump to search
imported>Kakurady
(+ parameters / TemplateData)
imported>Mr. Guye
(Not a parameter)
 
(5 intermediate revisions by 2 users not shown)
Line 9: Line 9:
 
* {{Para|1|{{var|Talk section name}}}} – the first field should point to the section name on the talk page which contains the discussion.
 
* {{Para|1|{{var|Talk section name}}}} – the first field should point to the section name on the talk page which contains the discussion.
 
** If the section name contains an equal sign, use the following syntax: {{Tlx|Dubious|2=1=Does x = 5?}}.
 
** If the section name contains an equal sign, use the following syntax: {{Tlx|Dubious|2=1=Does x = 5?}}.
** Other special characters used in section names (such as brackets, "[" and "]") may need to be escaped. For example, the markup:
+
** Other special characters used in section names (such as brackets, "[" and "]") may need to be [[Escape character|escaped]]. For example, the markup:
 
::: {{Tlx|Dubious|K%5BX%5D is NOT integral}}
 
::: {{Tlx|Dubious|K%5BX%5D is NOT integral}}
 
:: would produce:
 
:: would produce:
 
:::{{Tlx|Dubious|K[X] is NOT integral}}.
 
:::{{Tlx|Dubious|K[X] is NOT integral}}.
* {{Para|reason}} an optional parameter, used to add a ''short'' explanation of the issue.  The reason will not be visible on the page (even in tool-tip) but will be visible in the coding (e.g. when editing the page).
 
 
* {{Para|date}} the month and year when the template was added. Example: {{Para||date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}.
 
* {{Para|date}} the month and year when the template was added. Example: {{Para||date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}.
  
Line 32: Line 31:
 
"type": "date",
 
"type": "date",
 
"suggested": true
 
"suggested": true
},
 
"reason": {
 
"label": "Reason",
 
"description": "Short explanation of why you tagged this statement. The reason will not be visible on the page (even in tool-tip) but will be visible in the coding (e.g. when editing the page).",
 
"type": "string"
 
 
},
 
},
 
"text": {
 
"text": {
Line 48: Line 42:
 
"text",
 
"text",
 
"1",
 
"1",
"date",
+
"date"
"reason"
 
 
],
 
],
 
"format": "inline"
 
"format": "inline"
Line 55: Line 48:
 
</templatedata>
 
</templatedata>
  
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
+
<includeonly>{{Sandbox other||
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
[[Category:Inline citation and verifiability dispute templates]]
 
[[Category:Inline citation and verifiability dispute templates]]
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 22:58, 27 May 2020

Usage

See Template:Dubious/doc.

Parameters

  • |text= text to mark as dubious.
  • |1=Talk section name – the first field should point to the section name on the talk page which contains the discussion.
    • If the section name contains an equal sign, use the following syntax: {{Dubious|1=Does x = 5?}}.
    • Other special characters used in section names (such as brackets, "[" and "]") may need to be escaped. For example, the markup:
{{Dubious|K%5BX%5D is NOT integral}}
would produce:
{{Dubious|K[X] is NOT integral}}.
  • |date= the month and year when the template was added. Example: |date=June 2026.

TemplateData

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 Dubious span

Use this template to tag a specific statement or alleged fact that is sourced but which nevertheless seems dubious or unlikely to be correct.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Texttext

Text to mark as dubious.

Contentrequired
Section name on talk page1

Section name on talk page where further information or discussion can be found

Stringoptional
Month and yeardate

Month and year

Datesuggested