Difference between revisions of "User:Evon R'al/Sandbox template/doc"

From EVE University Wiki
Jump to: navigation, search
m (Working on template Verify putting in original code)
m (Rewrite documentation)
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]].
 
  
==Examples==
+
; 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.
 +
: The verify tag that is placed with this template by default has the tooltip text "Please help verify the accuracy of this information."
 +
: 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
 +
: {{T|Verify|2=title= title}}
 +
:: title - Replaces the default tooltip (for example, to a brief explanation).
  
{{code|<nowiki>{{verify}}</nowiki>}}
+
; Examples
produces:
+
: {{code|<nowiki>{{verify}}</nowiki>}}  
 +
: gives... {{verify}}
  
{{verify}}
+
: {{code|<nowiki>{{verify|title= This text has been changed}}</nowiki>}}
 
+
: gives... {{verify|title= This text has been changed}}
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:Maintenance templates]]</includeonly>
 
<noinclude>[[Category:Template documentation]]</noinclude>
 
<noinclude>[[Category:Template documentation]]</noinclude>

Revision as of 10:09, 25 October 2021

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.
The verify tag that is placed with this template by default has the tooltip text "Please help verify the accuracy of this information."
For more information, see UniWiki:Verification.
Syntax
{{Verify|<title= title>}}
title - Replaces the default tooltip (for example, to a brief explanation).
Examples
{{verify}}
gives... [Verify]
{{verify|title= This text has been changed}}
gives... [Verify]

(mouse over each to see the difference)