Difference between revisions of "Template:Verify/doc"

From EVE University Wiki
Jump to: navigation, search
m (Update to follow update to the template.)
 
(2 intermediate revisions by 2 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:Verification]].
+
##### 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]].
  
==Examples==
+
; Syntax
 +
: {{T|Verify|2=title=}}
  
The verify tag that is placed with this template by default has the tooltip text "Please help verify the accuracy of this information."
+
; Parameters
 +
:; title : Replaces the default tooltip (for example, to a brief explanation). Default is: Please help verify the accuracy of this information.
  
{{code|<nowiki>{{verify}}</nowiki>}}
+
; Examples
produces:
+
: {{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>
  
{{verify}}
+
: {{code|<nowiki>{{verify|title= This text has been changed}}</nowiki>}}
 
+
: 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>
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 text 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)