Jump to content

Template:Verify

Unchecked
From Wikinews, the free news source you can write!

We should, and do, also keep looking for ways to more effectively convey some of the basics of article-writing to newcomers up front.

Pi zero, 2010

[edit] Template documentation

This template can be used in two ways. It can be used to indicate the source of a specific statement or it can be used to indicate that a statement needs a source.

The markup produced by this template is not meant to appear in published articles and must be removed by the reviewer before the article is published. This markup is intended to facilitate and expedite the review process.

Usage

[edit]

To indicate the source of a given statement, use {{Verify|https://someURL.com}}, which will render:

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla facilisi. Vestibulum vitae elit non velit accumsan gravida.[Source]

To indicate a statement needs a source, use {{Verify}} with no parameters to render:

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla facilisi. Vestibulum vitae elit non velit accumsan gravida.[Unsourced]

Note for reviewers

[edit]

All occurrences of this template in an article must be removed before publishing an article, as the markup will remain visible after publishing if left in place.

It is possible to use TemplateScript[1] to remove all occurrences of {{Verify}} from an article with a single click. The following code works:

{ name: 'Remove {{Verify}} template', script: function(editor) { // Remove all occurrences of {{Verify}} with or without parameters editor.replace(/\{\{Verify.*?\}\}/gi, ''); editor.appendEditSummary('Remove all instances of the {{Verify}} template.'); }, enabled: true },