Template:Unverified: Difference between revisions

From PZwiki
(update doc)
m (Automated template error handling update)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{{Documentation/sandbox|doc =
{{Documentation/sandbox|doc=
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.
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.


Line 6: Line 6:


==Usage==
==Usage==
<pre>{{Unverified}}</pre>
:'''Produces:'''
{{Unverified|hidecat=true}}
===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>
: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.
==Examples==
*{{tll|Unverified}}
{{Unverified|hidecat=true}}


{{Translation guide|<syntaxhighlight lang="html">
{{Translation guide|<syntaxhighlight lang="html">
{{#switch: {{{1|}}}
{{#switch: {{{1|}}}
| title = This article may have claims which require verification.
| 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.
| content = Editors should verify the article's current content and, while adding content, check new information.
| #default = [[Category:Incorrect template usage]]
| #default = {{Error|translation}}
}}
}}
</syntaxhighlight>}}
</syntaxhighlight>}}
Line 25: Line 31:
*{{ll|PZwiki:Mboxes}}
*{{ll|PZwiki:Mboxes}}
}}
}}
{{ll|Category:Mbox templates}}
{{ll|Category:Mbox}}
</noinclude><includeonly>{{Mbox
</noinclude><includeonly>{{Mbox
| color = #ee0000
| color = #ee0000
| sign = [[File:CandleLit.png|link=Template:Unverified{{#ifeq:{{Language code}}|true|{{Subpage}}|}}]]
| sign = [[File:CandleLit.png|link=Template:Unverified{{lcs}}]]
| title = {{tt
| title = {{tt|name=Unverified
  | name = Unverified
   | default = This {{Page ns|{{{section|}}}}} may have claims which require verification.
   | default = This article may have claims which require verification.
   | arg1 = title
   | arg1 = title
  | arg2 = {{Page ns|{{{section|}}}}}
   }}
   }}
| content = {{tt
| content = {{#if:{{{1|}}}
   | name = Unverified
  |{{{1}}}
  | default = Editors should verify the article's current content and, while adding content, check new information.
   |{{tt|name=Unverified
  | arg1 = content
    | default = Editors should verify the article's current content and, while adding content, check new information.
    | arg1 = content
    }}
   }}
   }}
| id = mbox-unverified
| id = unverified{{#if:{{{id|}}}|-{{{id}}}}}
| cat = {{#if:{{{hidecat|}}}||Articles requiring verification{{#ifeq:{{Language code}}|true|{{Subpage}}|}}}}
| cat = {{yesno|{{{hidecat|}}}|yes=|no=Articles requiring verification{{lcs}}}}
| collapsed = true
| collapsed = true
}}</includeonly>
}}</includeonly>

Latest revision as of 08:47, 11 March 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 = {{Error|translation}}
}}

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.