Template:DisputedInline: Difference between revisions

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>