Template:Unverified: Difference between revisions

From PZwiki
m (add "section" field with Template:Page ns)
(added reason (`1`) and `id` parameters)
Line 7: Line 7:
==Usage==
==Usage==
===Parameters===
===Parameters===
;<code>1</code>
:The reason for the claim. Although not required, adding a reason is highly recommended, so others can better understand what needs to be verified.
;<code>section</code>
;<code>section</code>
:If set to <code>true</code>, will display "section" instead of "article" in the title.
:If set to <code>true</code>, will display "section" instead of "article" in the title.
;<code>id</code>
:ID to be set if template is used multiple times on a page. Each use on a single page must have a unique value.
;<code>hidecat</code>
;<code>hidecat</code>
:If not empty, the page will not be added to the "{{ll|:Category:Articles requiring verification|Articles requiring verification}}" category.
:If not empty, the page will not be added to the "{{ll|:Category:Articles requiring verification|Articles requiring verification}}" category.
Line 36: Line 40:
   | arg2 = {{Page ns|{{{section|}}}}}
   | arg2 = {{Page ns|{{{section|}}}}}
   }}
   }}
| content = {{tt|name=Unverified
| content = {{#if:{{{1|}}}
  | default = Editors should verify the article's current content and, while adding content, check new information.
  |{{{1}}}
  | arg1 = content
  |{{tt|name=Unverified
    | default = Editors should verify the article's current content and, while adding content, check new information.
    | arg1 = content
    }}
   }}
   }}
| id = unverified
| id = unverified{{#if:{{{id|}}}|-{{{id}}}}}
| cat = {{yesno|{{{hidecat|}}}|yes=|no=Articles requiring verification{{lcs}}}}
| cat = {{yesno|{{{hidecat|}}}|yes=|no=Articles requiring verification{{lcs}}}}
| collapsed = true
| collapsed = true
}}</includeonly>
}}</includeonly>

Revision as of 12:19, 23 February 2024

Notebook.pngTemplate Documentation

Added to articles or sections with little to no notability, either because the author has written based on speculation, or an article appears to be fictional.

Adds articles to the "Articles requiring verification" category.

Usage

Parameters

1
The reason for the claim. Although not required, adding a reason is highly recommended, so others can better understand what needs to be verified.
section
If set to true, will display "section" instead of "article" in the title.
id
ID to be set if template is used multiple times on a page. Each use on a single page must have a unique value.
hidecat
If not empty, the page will not be added to the "Articles requiring verification" category.

Examples

CandleLit.png
This template may have claims which require verification.
Editors should verify the article's current content and, while adding content, check new information.

How to translate

This template is translatable.

Template code

Paste the following code into the <includeonly> tag of the translated template and translate the text after each = sign (except for #default =).

{{#switch: {{{1|}}}
| title = This {{{2}}} may have claims which require verification.
| content = Editors should verify the article's current content and, while adding content, check new information.
| #default = [[Category:Incorrect template usage]]
}}

Template documentation

Copy the code wrapped in the <noinclude> tag in this template and translate the text after doc = in the {{Documentation}} template.

{{Translation guide}} template should be removed from the translated documentation.

See also

Editors can experiment in this template's sandbox.