Jump to content

Template:Dubious span/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

See Template:Dubious/doc.

Parameters

[edit]
  • |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-span|K%5BX%5D is NOT integral|text=KX is clearly a whole number.}}
or, equivalently
{{Dubious-span|text=K[X] is clearly a whole number.|1=K%5BX%5D is NOT integral}}
would be converted to:
{{Dubious-span|K[X] is NOT integral|text=K[X] is clearly a whole number.}},
which is rendered as follows (note the URL link to discuss):
K[X] is clearly a whole number.[dubiousdiscuss].
For comparison, the unescaped version produces garbage:
K[X] is clearly a whole number.[dubious – [[Template talk:Dubious span/doc#K[X] is NOT integral|discuss]]]
  • |date= the month and year when the template was added. Example: |date=December 2024. This date will then be displayed in a tooltip when the reader moves their mouse over the superscripted word "dubious".
  • |reason= a (concise) reason that the text was marked as dubious. Example: |reason=The dates given imply that this person lived for 110 years in the 16th century.. This reason will then be displayed in a tooltip when the reader moves their mouse over the superscripted word "dubious".

Example of usage

[edit]

Code:

{{Dubious-span|1=How is blah relevant?|text=TEXT TEXT TEXT blah.|reason="Blah" is not related to TEXT.|date=June 2020}}

Result:

TEXT TEXT TEXT blah.[dubiousdiscuss]

In context:

TEXT TEXT TEXT foo. TEXT TEXT TEXT blah.[dubiousdiscuss] TEXT TEXT TEXT bar.

TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Dubious span in articles based on its TemplateData.

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