Template:Verified: Difference between revisions

From Alpine Linux
(New template to mark Verified by users)
 
(added screenshot to make it easier to understand)
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{{Template}}
<noinclude>{{Template}}


This "verified" template is meant to capture successful usage of instructions of this page by wiki Users. This template captures verification date, the user who performed the verification, and an optional software version.
'''{{ic|Verified}} template is meant to capture the correctness of a wiki page'''.


=== Usage ===
=== Usage ===
Wiki users are requested to  is used by substituting it on the page. This is a one-time action that inserts a static, non-updating stamp into the page's wikitext.


<nowiki>{{subst:Verified|version=1.2.3}}</nowiki>
Add this template in the first line of the page before anything else, so that it appears prominently on the right hand side top corner below the Wiki '''Page Navigation Tabs'''.
[[File:Verified_location.png|250px|right]]
<nowiki>{{Verified|1}}</nowiki>


The optional `|version=` parameter can be used to capture a software version (up to 100 characters). If more detail is needed, please use the talk page.
* If {{ic|Verified}} template has been added already, edit it to increment the number argument, so it triggers a non-intrusive update in the page history.
 
* Reset number argument to '''0''', if major changes in webpage has occurred since the last verified entry.  
This action will not affect the page's content again unless another user manually adds a new stamp to the page.
* In all cases, mark the Wiki Edit summary as '''Content reviewed and verified for Version x.y.z.''', where the Version can be whatever is meaningful to the wiki page.


=== Examples ===
=== Examples ===


<pre>{{subst:Verified|version=4.5}}</pre>
<pre>{{Verified|1}}</pre>


will produce:
will produce:
<div style="float: right; margin-left: 20px;">
<div style="float: right; margin-left: 20px;">
{|style="width: auto; padding:2px; margin:0; background-color:#d4edda; border:1px solid #c3e6cb; border-radius:5px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); z-index: 1000;"
{|style="width: auto; padding:2px; margin:0; background-color:#d4edda; border:1px solid #c3e6cb; border-radius:5px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);"
|style="padding: 10px; color: #155724; font-weight: bold;"|
|style="padding: 10px; color: #155724; font-weight: bold; white-space: nowrap;"|
[{{fullurl:{{FULLPAGENAME}}|action=history}} [[Image:Tick-green.png|54px|left|link=]] Verified by by ExampleUser on 15 Aug 2025 (Version: 4.5)]]
[{{fullurl:{{FULLPAGENAME}}|action=history}} [[Image:Tick-green.png|12px|left|link=]]Verified]
|}
|}
</div>
</div>
Line 26: Line 27:


</noinclude><includeonly>
</noinclude><includeonly>
{|style="width: auto; padding:2px; margin:0; background-color:#d4edda; border:1px solid #c3e6cb; border-radius:5px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); z-index: 1000;"
<div style="float: right; margin-left: 20px;">
|style="padding: 10px; color: #155724; font-weight: bold;"|
{|style="width: auto; padding:2px; margin:0; background-color:#d4edda; border:1px solid #c3e6cb; border-radius:5px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);"
[{{fullurl:{{FULLPAGENAME}}|action=history}} [[Image:Tick-green.png|54px|left|link=]] Verified by {{subst:CURRENTUSER}} on {{subst:#time:j M Y}} {{#if:{{{version|}}}| (Version: {{{version}}})}}]
|style="padding: 10px; color: #155724; font-weight: bold; white-space: nowrap;"|
[{{fullurl:{{FULLPAGENAME}}|action=history}} [[Image:Tick-green.png|12px|left|link=]]Verified]
|}
|}
</div>
</includeonly>
</includeonly>

Latest revision as of 12:30, 16 August 2025

Template Documentation for Verified

This page is a template and should only be used as part of other articles. For more information, read Help:Template.

Please do not experiment with this template; you could ruin all pages using this template. If you want to edit this template, copy the text to Template:Sandbox, edit and test it there, and copy it back when it works.

Feel free to voice your opinion regarding this template.

Verified template is meant to capture the correctness of a wiki page.

Usage

Add this template in the first line of the page before anything else, so that it appears prominently on the right hand side top corner below the Wiki Page Navigation Tabs.

{{Verified|1}}

  • If Verified template has been added already, edit it to increment the number argument, so it triggers a non-intrusive update in the page history.
  • Reset number argument to 0, if major changes in webpage has occurred since the last verified entry.
  • In all cases, mark the Wiki Edit summary as Content reviewed and verified for Version x.y.z., where the Version can be whatever is meaningful to the wiki page.

Examples

{{Verified|1}}

will produce: