Jump to content

Template:DisputedInline: Difference between revisions

From Consumer_Action_Taskforce
m Protected "Template:DisputedInline" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
m minor formating
Line 5: Line 5:
Optionally you can add a reason and a date by incuding the named parameters <code>reason</code> and <code>date</code>
Optionally you can add a reason and a date by incuding the named parameters <code>reason</code> and <code>date</code>


=== Example ===
==Example==
Example of usage for the template
{| class="wikitable"
! Example !! Result
|-
|A dubious claim or claim supported by dubious sources<code><nowiki>{{Disputed|Talk about this here}}</nowiki></code> || A dubious claim or claim supported by dubious sources{{DisputedInline|Talk about this here}}
|}


A dubious statement or a statement supported by dubious sources {{DisputedInline|Talk about this here}}
== Template Data ==
 
=== Template Data ===
<templatedata>
<templatedata>
{
{
"params": {
"params": {
"1": {"description": "The name of the corresponding discussion page topic created."},
"1": {
"reason": {"description": "Why a citation is needed (if unclear)"},
"description": "The name of the corresponding discussion page topic created."
"date": {"description": "When the tag was added "}
},
}
"reason": {
"description": "Why a citation is needed (if unclear)"
},
"date": {
"description": "When the tag was added "
}
},
"description": "List of parameters this template accepts. Parameter \"1\" does not require declearatoin (ie |1=) to use"
}
}
</templatedata>
</templatedata>
[[Category:Inline cleanup templates]]
[[Category:Inline cleanup templates]]
</noinclude>
</noinclude>

Revision as of 13:26, 26 February 2025

Usage

Add {{DisputedInline|Discussion title}} (or {{Disputed|Discussion title}} or {{Disputed inline|Discussion title}}) after the statement that you want to indicate is disputed. Add the title of the topic you created to discuss the issue on the discussion tab as a parameter to the template.

Optionally you can add a reason and a date by incuding the named parameters reason and date

Example

Example of usage for the template

Example Result
A dubious claim or claim supported by dubious sources{{Disputed|Talk about this here}} A dubious claim or claim supported by dubious sources[disputed - discuss]

Template Data

List of parameters this template accepts. Parameter "1" does not require declearatoin (ie |1=) to use

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
11

The name of the corresponding discussion page topic created.

Unknownoptional
reasonreason

Why a citation is needed (if unclear)

Unknownoptional
datedate

When the tag was added

Unknownoptional