Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Helper: Difference between revisions

Template page
m (Attempt to fix the categorization of the template itself)
m (Added template data)
Line 1: Line 1:
<includeonly><sup style="color:#0645ad">[<span title="{{#if:{{{2|}}}|{{{2}}}|Help reference or verify this claim}}" style="border-bottom:1px dotted">''{{{1|citation needed}}}''</span>]</sup>[[Category:Articles lacking references]]</includeonly><noinclude>
<includeonly><sup style="color:#0645ad">[<span title="{{#if:{{{hover-text|}}}|{{{hover-text}}}|Help reference or verify this claim}}" style="border-bottom:1px dotted">''{{{helper-text|citation needed}}}''</span>]</sup>[[Category:Pages needing references]]</includeonly><noinclude>
Creates an article helper, which prints suggestions to improve the text.
Creates an article helper, which prints suggestions to improve the text.


Line 14: Line 14:
I can speedrun Super Mario Bros with my nipples<nowiki>{{helper|how?|Why?}}</nowiki>
I can speedrun Super Mario Bros with my nipples<nowiki>{{helper|how?|Why?}}</nowiki>
<blockquote class="toccolours>I can speedrun Super Mario Bros with my nipples.{{helper|how?|Why?}}</blockquote>
<blockquote class="toccolours>I can speedrun Super Mario Bros with my nipples.{{helper|how?|Why?}}</blockquote>
</noinclude>
<templatedata>
{
"params": {
"hover-text": {
"label": "Hover text",
"type": "string",
"suggested": true
},
"helper-text": {
"label": "Helper text",
"type": "string",
"suggested": true
}
},
"description": "Adds a customizable \"citation needed\" maintenance helper and adds to Pages needing references category",
"paramOrder": [
"helper-text",
"hover-text"
]
}
</templatedata></noinclude>

Revision as of 09:25, 10 November 2021

Creates an article helper, which prints suggestions to improve the text.

Usage:

(details are optional and will default to "citation needed")

{{helper|helper details|hover text}}

Example:

Snorting lemon juice can give you immortality{{helper}}

Snorting lemon juice can give you immortality.[citation needed]

I can speedrun Super Mario Bros with my nipples{{helper|how?|Why?}}

I can speedrun Super Mario Bros with my nipples.[citation needed]

Adds a customizable "citation needed" maintenance helper and adds to Pages needing references category

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Helper texthelper-text

no description

Stringsuggested
Hover texthover-text

no description

Stringsuggested