Template:Verified: Difference between revisions

From Alpine Linux
(updated template removed username)
(modified the content to make it appropriate for both page and section)
 
(13 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/section'''.


=== Usage ===
=== Usage ===
Wiki users are requested to 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/section before anything else, so that it appears prominently on the right hand side top corner below the Wiki '''Page Navigation Tabs''' or the '''Section'''.
 
[[File:Verified_location.png|250px|right]]
The optional `|version=` parameter can be used to capture a software version (up to 100 characters). This action will not affect the page's content again unless another user manually adds a new stamp to the page.
<nowiki>{{Verified|1}}</nowiki>
* Add or increment this template, only if you have tested the instructions and confirmed they are accurate and fully functional on the relevant system version.
* 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 previous verification is invalid due to major changes in the content since the last verified entry. For simpler edits (typos, formatting), just increment the number argument.
* In all cases, mark the Wiki Edit '''Summary''' as '''Content reviewed and verified for Version x.y.z''', where the '''x.y.z''' should be replaced with the specific version of the software/system you verified and meaningful to the wiki page/section (e.g., <var>v{{#expr:{{AlpineLatest}}}}</var>, <var>PostgreSQL 16</var>).
* This template is meant for wiki users and not to be used by the content creator of that specific page/section.
* If the instructions on a page/section is found to be incorrect: Do NOT remove the {{ic|Verified}} template. Instead, immediately add the [[Template:Accuracy]] template to the section/page to alert others to the issue.


=== Examples ===
=== Examples ===
 
<pre>{{Verified|1}}</pre>
<pre>{{subst:Verified|version=4.5}}</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|12px|left|link=]] 15 Aug 2025]]
[{{fullurl:{{FULLPAGENAME}}|action=history}} [[Image:Tick-green.png|12px|left|link=]]Verified]
|}
|}
</div>
</div>
Line 24: Line 28:


</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|12px|left|link=]] {{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 08:42, 16 October 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/section.

Usage

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

{{Verified|1}}

  • Add or increment this template, only if you have tested the instructions and confirmed they are accurate and fully functional on the relevant system version.
  • 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 previous verification is invalid due to major changes in the content since the last verified entry. For simpler edits (typos, formatting), just increment the number argument.
  • In all cases, mark the Wiki Edit Summary as Content reviewed and verified for Version x.y.z, where the x.y.z should be replaced with the specific version of the software/system you verified and meaningful to the wiki page/section (e.g., v3.22, PostgreSQL 16).
  • This template is meant for wiki users and not to be used by the content creator of that specific page/section.
  • If the instructions on a page/section is found to be incorrect: Do NOT remove the Verified template. Instead, immediately add the Template:Accuracy template to the section/page to alert others to the issue.

Examples

{{Verified|1}}

will produce: