Difference between revisions of "Template:Verify/doc"

From EVE University Wiki
Jump to: navigation, search
(Created page with "<noinclude>{{main|Template:Verify}}</noinclude> This template adds the {{verify}} tag in-line where it is placed. It is meant to be used in a similar fashion to "Citation Need...")
 
m (Update to follow update to the template.)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>{{main|Template:Verify}}</noinclude>
+
<!--
This template adds the {{verify}} tag in-line where it is placed. It is meant to be used in a similar fashion to "Citation Needed' on other wikis, particularly for but not limited to numerical data. For more information, see [[Uniwiki:Verifying]].
+
##### This documentation uses direct coding for the examples to avoid the automatic category assigning. #####
 +
-->
 +
; Description
 +
: This template adds the <!--{{verify}}--><sup style="white-space: nowrap; color: orange;">&#91;<i><span title="Please help verify the accuracy of this information">Verify</span></i>&#93;</sup> tag in-line where it is placed. It is meant to be used in a similar fashion to "Citation Needed' on other wikis, particularly for but not limited to numerical data.
 +
: Putting this template on a page automatically adds it to category [[:Category:Candidates for verification|Candidates for verification]].
 +
: For more information, see [[UniWiki:Verification]].
  
The verify tag that is placed with this template by default has the tooltip text "Please help verify the accuracy of this information."
+
; Syntax
If you would like to change the tooltip text (for example, to a brief explanation), you can include the title parameter:
+
: {{T|Verify|2=title=}}
  
==Examples==
+
; Parameters
 +
:; title : Replaces the default tooltip (for example, to a brief explanation). Default is: Please help verify the accuracy of this information.
  
The verify tag that is placed with this template by default has the tooltip text "Please help verify the accuracy of this information."
+
; Examples
 +
: {{code|<nowiki>{{verify}}</nowiki>}} gives... <!--{{verify}}--><sup style="white-space: nowrap; color: orange;">&#91;<i><span title="Please help verify the accuracy of this information">Verify</span></i>&#93;</sup>
  
{{code|<nowiki>{{verify}}</nowiki>}}
+
: {{code|<nowiki>{{verify|title= This text has been changed}}</nowiki>}}
produces:
+
: gives... <!--{{verify|title= This text has been changed}}--><sup style="white-space: nowrap; color: orange;">&#91;<i><span title="This text has been changed">Verify</span></i>&#93;</sup>
 
 
{{verify}}
 
 
 
If you would like to change the tooltip text (for example, to a brief explanation), you can include the title parameter:
 
 
 
{{code|<nowiki>{{verify|title=This title has been changed}}</nowiki>}}
 
 
 
produces:
 
 
 
{{verify|title=This text has been changed}}
 
  
 
(mouse over each to see the difference)
 
(mouse over each to see the difference)
  
 
+
<includeonly>[[Category:Maintenance templates]]</includeonly>
<includeonly>[[Category:Template]]</includeonly>
 
 
<noinclude>[[Category:Template documentation]]</noinclude>
 
<noinclude>[[Category:Template documentation]]</noinclude>

Latest revision as of 10:29, 14 August 2022

Description
This template adds the [Verify] tag in-line where it is placed. It is meant to be used in a similar fashion to "Citation Needed' on other wikis, particularly for but not limited to numerical data.
Putting this template on a page automatically adds it to category Candidates for verification.
For more information, see UniWiki:Verification.
Syntax
{{Verify|<title=>}}
Parameters
title
Replaces the default tooltip (for example, to a brief explanation). Default is: Please help verify the accuracy of this information.
Examples
{{verify}}
gives... [Verify]
{{verify|title= This text has been changed}}
gives... [Verify]

(mouse over each to see the difference)