FANDOM


(reset to working version)
(add comments and support doc=)
Line 1: Line 1:
<!-- Copied from: fallout.wikia.com/wiki/Template:Verify -->
+
<!-- Copied from: fallout.wikia.com/wiki/Template:Verify
<onlyinclude><small><sup>{{#ifeq:{{lc:{{{1|}}}}}|verified|&#91;verified&#93;<includeonly>[[Category:Articles with verified bugs]]</includeonly>|{{#ifexpr: ({{#time:U|{{CURRENTTIMESTAMP}}}}-{{#time:U|{{{1|{{CURRENTTIMESTAMP}}}}}}}) > 2419200|<span style="color: red;">&#91;verification&nbsp;overdue&#93;</span><includeonly><!--
+
Modified so doc= suppresses categories -->
  +
<onlyinclude><small><sup>{{#ifeq:{{lc:{{{1|}}}}}|verified<!--
  +
if param 1 is 'verified' -->|&#91;verified&#93;<!--
  +
add category unless doc= -->{{#ifeq:{{{doc}-}}}|||<includeonly>[[Category:Articles with verified bugs]]</includeonly>}}<!--
  +
if param 1 is NOT 'verified' -->|{{#ifexpr: ({{#time:U|{{CURRENTTIMESTAMP}}}}-{{#time:U|{{{1|{{CURRENTTIMESTAMP}}}}}}}) > 2419200<!--
  +
if time exceeds 28 days -->|<span style="color: red;">&#91;verification&nbsp;overdue&#93;</span><!--
  +
add category unless doc= -->{{#ifeq:{{{doc}-}}}|||<includeonly><!--
 
-->{{#switch:{{lc:{{{type|}}}}}<!--
 
-->{{#switch:{{lc:{{{type|}}}}}<!--
 
-->|bug=[[Category:Bug verification overdue]]<!--
 
-->|bug=[[Category:Bug verification overdue]]<!--
 
-->|cite=[[Category:Citation verification overdue]]<!--
 
-->|cite=[[Category:Citation verification overdue]]<!--
 
-->|#default=[[Category:Verification overdue]]}}<!--
 
-->|#default=[[Category:Verification overdue]]}}<!--
--></includeonly>|&#91;verification&nbsp;needed&#93;}}<includeonly><!--
+
--></includeonly>}}<!--
  +
if time under 28 days -->|&#91;verification&nbsp;needed&#93;}}<!--
  +
add category unless doc= -->{{#ifeq:{{{doc}-}}}|||<includeonly><!--
 
-->{{#if:{{{type|}}}|{{#switch:{{lc:{{{type}}}}}<!--
 
-->{{#if:{{{type|}}}|{{#switch:{{lc:{{{type}}}}}<!--
 
-->|bug=[[Category:Bug verification needed]]<!--
 
-->|bug=[[Category:Bug verification needed]]<!--
 
-->|cite=[[Category:Citation verification needed]]<!--
 
-->|cite=[[Category:Citation verification needed]]<!--
 
-->|#default=[[Category:Verify]]}}<!--
 
-->|#default=[[Category:Verify]]}}<!--
-->|[[Category:Verify]]}}</includeonly>}}</sup></small></onlyinclude>
+
-->|[[Category:Verify]]}}</includeonly>}}}}</sup></small></onlyinclude>
 
{{Documentation}}
 
{{Documentation}}
 
[[Category:Page management templates|{{PAGENAME}}]]
 
[[Category:Page management templates|{{PAGENAME}}]]

Revision as of 00:04, July 31, 2018

[verification needed]

Export this template, then import, to install it.
Use edit summary: Copied from [[w:c:templates:Template:Verify]] to properly attribute this template's editors.
This template is probably not already on your wiki.
Template documentation
Note: the template above may sometimes be partially or fully invisible.

View or edit this documentation. (How does this work?)

Editors can experiment with this template's sandbox and test case pages.

Template for facts which need verification. If used with a timestamp, it alerts users of overdue verifications (4 weeks after insertion) by changing displayed text and adding Category:Verification overdue to the page.

Usage

Insert the following after the fact that needs to be checked:

{{Verify|~~~~~}}

Parameters

Examples

Statement requiring verification.{{Verify|~~~~~}}

Statement requiring verification.[verification needed]

Statement overdue for verification.{{Verify|01:58, January 1, 2013 (UTC)}}

Statement overdue for verification.[verification overdue]

Bug statement that has been verified.{{Verify|verified}}

Bug statement that has been verified.[verified]

Bug requiring verification.{{Verify|~~~~~|type=bug}}

Bug requiring verification.[verification needed]

Citation requiring verification.{{Verify|~~~~~|type=cite}}

Citation requiring verification.[verification needed]

Community content is available under CC-BY-SA unless otherwise noted.