More languages
More actions
m (Added class for CSS fiddling if needed) |
m (Improved explanatory text, examples, and html coding) |
||
Line 1: | Line 1: | ||
<includeonly><sup | <includeonly><sup class="pw-helper" title="{{#if:{{{hover-text|}}}|{{{hover-text}}}|Help reference or verify this claim}}" style="color:#0645ad">[<span style="border-bottom:1px dotted">''{{{helper-text|citation needed}}}''</span>]</sup></includeonly>{{main other|[[Category:Pages needing references]]|[[Category:Maintenance templates]]}}<noinclude> | ||
Creates an article helper, which prints suggestions to improve the text. | Creates an article helper, which prints suggestions to improve the text. | ||
Usage: | Usage: | ||
<small>''(details are optional and will default to "citation needed")''</small> | <small>''(details are optional and will default to "citation needed", displaying "Help reference the text" when hovering with the cursor)''</small> | ||
<blockquote class="toccolours><nowiki>{{helper|helper-text=|hover-text}}</nowiki></blockquote> | <blockquote class="toccolours><nowiki>{{helper|helper-text=|hover-text=}}</nowiki></blockquote> | ||
Example: | Example: | ||
Capitalism breeds innovation.<nowiki>{{helper}}</nowiki> | |||
<blockquote class="toccolours> | <blockquote class="toccolours>Capitalism breeds innovation.{{helper}}</blockquote> | ||
Epstein didn't kill himself.<nowiki>{{helper|helper-text=how?|hover-text=Why?}}</nowiki> | |||
<blockquote class="toccolours> | <blockquote class="toccolours>Epstein didn't kill himself.{{helper|helper-text=how?|hover-text=Why?}}</blockquote> | ||
<templatedata> | <templatedata> | ||
{ | { |
Revision as of 18:22, 22 November 2021
Creates an article helper, which prints suggestions to improve the text.
Usage:
(details are optional and will default to "citation needed", displaying "Help reference the text" when hovering with the cursor)
{{helper|helper-text=|hover-text=}}
Example:
Capitalism breeds innovation.{{helper}}
Capitalism breeds innovation.[citation needed]
Epstein didn't kill himself.{{helper|helper-text=how?|hover-text=Why?}}
Epstein didn't kill himself.[how?]
Adds a customizable "citation needed" maintenance helper and adds to Pages needing references category
Parameter | Description | Type | Status | |
---|---|---|---|---|
Helper text | helper-text | no description | String | optional |
Hover text | hover-text | no description | String | optional |