Template:Citation needed: Difference between revisions

Adding nocat parameter, I am pretty sure this is safe to use on mainline articles, immediately rollbacking if I see issues on them caused.
Changed visualeditor docs.
 
Line 32: Line 32:
"date": {
"date": {
"description": "When the tag was added ",
"description": "When the tag was added ",
"type": "date"
"type": "date",
"label": "Date"
},
},
"reason": {
"reason": {
"description": "Why a citation is needed (if unclear)",
"description": "Why a citation is needed (if unclear)",
"type": "string",
"label": "Reason"
},
"nocat": {
"label": "Disable category",
"description": "If set to “yes”, disable the ‘Articles in need of citations’ category from automatically appearing.",
"example": "“yes” to disable category, anything else to enable.",
"type": "string"
"type": "string"
}
}
},
},
"description": "The parameters accepted by this template. "
"description": "The parameters accepted by this template. ",
"format": "inline"
}
}
</templatedata>
</templatedata>