Template:Verify: Difference between revisions
m (added square brackets) |
(Move doc from subpage) |
||
Line 1: | Line 1: | ||
<includeonly><sup>[[{{TALKPAGENAME}}|<span title="{{ | <noinclude> | ||
{{Documentation/sandbox|doc= | |||
'''Verify''' is a template that is intended for use when the accuracy of a statement in an article is in doubt or is being questioned by an editor. It is an open request for confirmation or refutation, and/or more research, and any appropriate editing to bring the statement toward a more acceptable phrasing. The template produces a superscripted {{verify|nocat=1}}. | |||
==Usage== | |||
'''The format used is:''' | |||
<pre>{{Verify|Title|nocat=No Category}}</pre> | |||
'''Which becomes:''' {{Verify|Title|nocat=No Category}} | |||
==Parameters== | |||
;title: the title can be customised to describe what needs verification. Leaving blank will produce the default title: ''"Please add verification on this article's discussion page"''. | |||
;nocat: defines whether to add the article to the [[:Category:Articles requiring verification|"articles requiring verification" category]]. Leaving blank will add the article to the category. | |||
==Examples== | |||
'''''Note:''''' ''this documentation is protected from being added to the template's category.'' | |||
===Example 1=== | |||
:<pre>This template has the default parameters.{{Verify}}</pre> | |||
The wikitext will be rendered as: | |||
:This template has the default parameters.{{Verify|nocat=1}} | |||
===Example 2=== | |||
:<pre>This template has a custom title.{{Verify|This claim needs verifying.|nocat=1}}</pre> | |||
The wikitext will be rendered as: | |||
:This template has a custom title.{{Verify|This claim needs verifying.|nocat=1}} | |||
===Example 3=== | |||
:<pre>This template has a custom title and doesn't add the article to the category.{{Verify|This claim needs verifying.|nocat=1}}</pre> | |||
The wikitext will be rendered as: | |||
:This template has a custom title and doesn't add the article to the category.{{Verify|This claim needs verifying.|nocat=1}} | |||
}} | |||
</noinclude><includeonly><sup>[[{{TALKPAGENAME}}|<span title="{{ | |||
#if: {{{1|}}} | #if: {{{1|}}} | ||
| {{{1}}} | | {{{1}}} | ||
| Please add verification on this article's discussion page. | | Please add verification on this article's discussion page. | ||
}}">[verify]</span>]]</sup>{{ | }}">[verify]</span>]]</sup>{{ | ||
#if:{{{nocat|}}}| | [[Category:Articles requiring verification]]}}</includeonly | #if:{{{nocat|}}}| | [[Category:Articles requiring verification]]}}</includeonly> | ||
Revision as of 05:05, 28 March 2024
Verify is a template that is intended for use when the accuracy of a statement in an article is in doubt or is being questioned by an editor. It is an open request for confirmation or refutation, and/or more research, and any appropriate editing to bring the statement toward a more acceptable phrasing. The template produces a superscripted [verify].
Usage
The format used is:
{{Verify|Title|nocat=No Category}}
Which becomes: [verify]
Parameters
- title
- the title can be customised to describe what needs verification. Leaving blank will produce the default title: "Please add verification on this article's discussion page".
- nocat
- defines whether to add the article to the "articles requiring verification" category. Leaving blank will add the article to the category.
Examples
Note: this documentation is protected from being added to the template's category.
Example 1
This template has the default parameters.{{Verify}}
The wikitext will be rendered as:
- This template has the default parameters.[verify]
Example 2
This template has a custom title.{{Verify|This claim needs verifying.|nocat=1}}
The wikitext will be rendered as:
- This template has a custom title.[verify]
Example 3
This template has a custom title and doesn't add the article to the category.{{Verify|This claim needs verifying.|nocat=1}}
The wikitext will be rendered as:
- This template has a custom title and doesn't add the article to the category.[verify]