shortcut: {{cfy}}

Template:Clarify/doc: Difference between revisions

Safer nicotine wiki Tobacco Harm Reduction
Jump to navigation Jump to search
m (1 revision imported)
imported>SWinxy
(add template redirects and shortcuts)
 
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
{{Template shortcut|cfy}}
{{Template redirect|huh?|what?|elaborate}}
<!-- Categories at the end of this page, please; interwikis links at Wikidata. -->
<!-- Categories at the end of this page, please; interwikis links at Wikidata. -->
{{distinguish|Template:Confusing}}
{{distinguish|Template:Confusing}}


Use this template in the body of an article as a request for other editors to clarify text that is difficult to understand. When the problem is not with the wording, but the sourcing, one may use {{tl|specify}} instead. For dealing with dubious information, please use one of the following: {{tl|citation needed}}, {{tl|verify source}}, {{tl|dubious}} or {{tl|disputed inline}}. This [[Wikipedia:Template|template]] is a [[Wikipedia:Avoid self-references|self-reference]] and so is part of the Wikipedia project rather than the encyclopedic content.
Use this template in the [[body text]] of an article as a request for other editors to clarify text that is difficult to understand. When the problem is not with the wording, but the sourcing, one may use {{tl|specify}} instead. For dealing with dubious information, please use one of the following: {{tl|citation needed}}, {{tl|verify source}}, {{tl|dubious}} or {{tl|disputed inline}}. For sentences that are simply ungrammatical or awkwardly written, rather than unclear in their content, use {{tl|copy edit inline}}. This [[Wikipedia:Template|template]] is a [[Wikipedia:Avoid self-references|self-reference]] and so is part of the Wikipedia project rather than the encyclopedic content.


== Usage ==
== Usage ==
Line 10: Line 12:
::The wikilink on "clarification needed" is set to [[Wikipedia:Please clarify]].  
::The wikilink on "clarification needed" is set to [[Wikipedia:Please clarify]].  


== Parameters ==
==Parameters==
; Abbreviated parameter sets:  
;Abbreviated parameter sets:
: {{tlx|Clarify|2=date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
:{{tlx|Clarify|2=date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}|3=reason=&nbsp;}}
:{{tlx|Clarify|2=date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}|3=reason=&nbsp;|4=text=&nbsp;}}


:{{tlx|clarify|2=date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}&nbsp;|3=reason=&nbsp;}}
;Full parameter set:  
:{{tlx|clarify|2=date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}&nbsp;|3=reason=&nbsp;|4=text=&nbsp;}}
:{{tlx|Clarify|2=date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}|3=reason=&nbsp;|4=text=&nbsp;|5=pre-text=&nbsp;|6=post-text=&nbsp;}}
 
; Full parameter set:  
 
:{{tlx|clarify|2=date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}&nbsp;|3=reason=&nbsp;|4=text=&nbsp;|5=pre-text=&nbsp;|6=post-text=&nbsp;}}


;Parameter descriptions
;Parameter descriptions
;{{Para|date}}
:Like all inline templates, this Clarify template allows a date parameter which records when the clarify tag was added.  If the date parameter was not included when this template was added, the date parameter will automatically be added soon after by a [[WP:BOT|bot]].  Alternatively, you may add the date automatically (without requiring bot intervention) by [[WP:SUBST|substituting]] the template.  That is: {{tlxs|Clarify}} is equivalent to {{tlx|Clarify|2=date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}.  This substitution technique also works if other parameters{{snd}} {{para|reason}} {{para|pre-text}} {{para|post-text}}{{snd}} are included.


; {{para|date}} : This template allows an optional date parameter that records when the tag was added. If this template is added without the date parameter, the date parameter will be added soon after by a [[WP:BOT|bot]]. Alternatively, you may add the date automatically (without requiring bot intervention) by [[WP:SUBST|substituting]] the template. That is: {{tlxs|clarify}} is equivalent to {{tlx|clarify|2=date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}. This technique also works if other parameters{{snd}} {{para|reason}} {{para|pre-text}} {{para|post-text}}{{snd}} are given.
;{{Para|reason}}
 
:Because it may not be immediately apparent to other readers and / or editors what the specific reason the tagged passage is in need of clarification, it is generally helpful to add a brief reason for the Clarify tag: <code><nowiki>{{Clarify|reason=</nowiki><var>What the problem is</var><nowiki>}}</nowiki></code> (this is preferable to using an HTML <code>&lt;!-- comment --&gt;</code> after the tag, as it is tidier to keep all of the {{Tlx|Clarify}}-related code inside the template). If the request reason would be lengthy, use the article's talk page to address the issue in detail.
; {{para|reason}} : Because it may not be immediately apparent to other editors what about the tagged passage is in need of clarification, it is generally helpful to add a brief reason for the tag: <code><nowiki>{{Clarify|reason=</nowiki><var>What the problem is</var><nowiki>}}</nowiki></code> (this is preferable to using an HTML <code>&lt;!-- comment --&gt;</code> after the tag, as it is tidier to keep all of the {{Tlx|Clarify}}-related code inside the template). If the explanation would be lengthy, use the article's talk page.
:As well as being visible in the source code for readers and editors' benefit, the <code>reason</code> parameter is, if provided, displayed as a pop-up when the mouse is hovered over the 'clarification needed' link in the article.<!-- For technical reasons, this mouse-over pop-up feature does not work if the reason text contains double quotes. Use single quotes instead, or use the code <code>&amp;quot;</code> if it is essential to include a double quote. (Seems to no longer be a problem, since ca. 2015)-->
: As well as being visible in the source code for editors' benefit, the <code>reason</code> parameter is, if provided, displayed when the mouse is hovered over the "clarification needed" link in the article.<!-- For technical reasons, this mouse-over feature does not work if the reason text contains double quotes. Use single quotes instead, or use the code <code>&amp;quot;</code> if it is essential to include a double quote. (Seems to no longer be a problem, since ca. 2015) -->


; {{para|text}} : The particular text needing clarification may be highlighted by wrapping this template around it:
;{{Para|text}}
:: As an example:
:The particular text needing clarification may be highlighted within the prose by wrapping this Clarify template around it:
::: ''Text preceding the template'', <code>{{tlp|clarify|text{{=}}unclear text,|date{{=}}{{CURRENTMONTHNAME}}&nbsp;{{CURRENTYEAR}}}}</code> ''text following the template''.  
::As an example:
:: produces:  
:::''Understandable text preceding the template'', <code>{{tlp|Clarify|text{{=}}unclear or ambiguous text,|date{{=}}{{CURRENTMONTHNAME}}&nbsp;{{CURRENTYEAR}}}}</code> ''understandable text following the template''.  
::: ''Text preceding the template'', {{clarify|text=unclear text,|date={{CURRENTMONTHNAME}}&nbsp;{{CURRENTYEAR}}}} ''text following the template''.
::produces:  
:::''Understandable text preceding the template'', {{Clarify|text=unclear or ambiguous text,|date={{CURRENTMONTHNAME}}&nbsp;{{CURRENTYEAR}}}} ''understandable text following the template''.
:Please note: when using this <code>text=</code> parameter, please ensure you leave a '''space''' before starting the template code.


; {{para|pre-text}}
;{{Para|pre-text}}
; {{para|post-text}} : One can specify additional text to appear before and/or after the "clarify" tag using the two parameters listed above.  
;{{Para|post-text}}
:One can specify additional text to appear before and / or after the displayed 'clarification needed' tag using either (or both) the two parameters listed above.  
::Examples follow:
::Examples follow:
:# <code><nowiki>{{clarify|pre-text=remove or}}</nowiki></code>
:#<code><nowiki>{{Clarify|pre-text=remove or}}</nowiki></code>
:#:will cause the text "remove or" to appear before "clarify" like this:{{clarify|pre-text=remove or}}
:#:will cause the text 'remove or' to appear <u>before</u> 'clarification needed' like this:{{Clarify|pre-text=remove or}}
:# <code><nowiki>{{clarify|post-text=(complicated jargon)}}</nowiki></code>
:#<code><nowiki>{{Clarify|post-text=(complicated jargon)}}</nowiki></code>
:#:will cause "(complicated jargon)" to appear after "clarify" like this:{{clarify|post-text=(complicated jargon)}}
:#:will cause '(complicated jargon)' to appear <u>after</u> 'clarification needed' like this:{{Clarify|post-text=(complicated jargon)}}
:# <code><nowiki>{{clarify|post-text=(see [[Talk:Example#Clarification needed|talk]])}}</nowiki></code>
:#<code><nowiki>{{Clarify|post-text=(see [[Talk:Example#Clarification needed|talk]])}}</nowiki></code>
:#:can be used to link to a discussion on the article's talk page; this example produces:{{clarify|post-text=(see [[Talk:Example#Clarification needed|talk]])}}
:#:can be used to link to a discussion on the article's [[talk page]]; this example produces:{{Clarify|post-text=(see [[Talk:Example#Clarification needed|talk]])}}


== TemplateData ==
== TemplateData ==
Line 99: Line 104:


== See also ==
== See also ==
{{colbegin|colwidth=25em}}
{{div col|colwidth=25em}}
{|
{|
|'''Related inline templates'''
|'''Related inline templates'''
Line 124: Line 129:
* [[Wikipedia:Please clarify]]
* [[Wikipedia:Please clarify]]
|}
|}
{{colend}}
{{div col end}}
{{Inline tags}}
{{Inline tags}}



Latest revision as of 01:01, 20 March 2023

Use this template in the body text of an article as a request for other editors to clarify text that is difficult to understand. When the problem is not with the wording, but the sourcing, one may use {{specify}} instead. For dealing with dubious information, please use one of the following: {{citation needed}}, {{verify source}}, {{dubious}} or {{disputed inline}}. For sentences that are simply ungrammatical or awkwardly written, rather than unclear in their content, use {{copy edit inline}}. This template is a self-reference and so is part of the Wikipedia project rather than the encyclopedic content.

Usage

This is an inline template which should be placed immediately after the material in question, as with a footnote. For example:

This sentence needs clarification.{{clarify|date=April 2024}} → This sentence needs clarification.[clarification needed]
The wikilink on "clarification needed" is set to Wikipedia:Please clarify.

Parameters

Abbreviated parameter sets
{{Clarify|date=April 2024}}
{{Clarify|date=April 2024|reason= }}
{{Clarify|date=April 2024|reason= |text= }}
Full parameter set
{{Clarify|date=April 2024|reason= |text= |pre-text= |post-text= }}
Parameter descriptions
|date=
Like all inline templates, this Clarify template allows a date parameter which records when the clarify tag was added. If the date parameter was not included when this template was added, the date parameter will automatically be added soon after by a bot. Alternatively, you may add the date automatically (without requiring bot intervention) by substituting the template. That is: {{subst:Clarify}} is equivalent to {{Clarify|date=April 2024}}. This substitution technique also works if other parameters – |reason= |pre-text= |post-text= – are included.
|reason=
Because it may not be immediately apparent to other readers and / or editors what the specific reason the tagged passage is in need of clarification, it is generally helpful to add a brief reason for the Clarify tag: {{Clarify|reason=What the problem is}} (this is preferable to using an HTML <!-- comment --> after the tag, as it is tidier to keep all of the {{Clarify}}-related code inside the template). If the request reason would be lengthy, use the article's talk page to address the issue in detail.
As well as being visible in the source code for readers and editors' benefit, the reason parameter is, if provided, displayed as a pop-up when the mouse is hovered over the 'clarification needed' link in the article.
|text=
The particular text needing clarification may be highlighted within the prose by wrapping this Clarify template around it:
As an example:
Understandable text preceding the template, {{Clarify|text=unclear or ambiguous text,|date=April 2024}} understandable text following the template.
produces:
Understandable text preceding the template, unclear or ambiguous text,[clarification needed] understandable text following the template.
Please note: when using this text= parameter, please ensure you leave a space before starting the template code.
|pre-text=
|post-text=
One can specify additional text to appear before and / or after the displayed 'clarification needed' tag using either (or both) the two parameters listed above.
Examples follow:
  1. {{Clarify|pre-text=remove or}}
    will cause the text 'remove or' to appear before 'clarification needed' like this:[remove or clarification needed]
  2. {{Clarify|post-text=(complicated jargon)}}
    will cause '(complicated jargon)' to appear after 'clarification needed' like this:[clarification needed (complicated jargon)]
  3. {{Clarify|post-text=(see [[Talk:Example#Clarification needed|talk]])}}
    can be used to link to a discussion on the article's talk page; this example produces:[clarification needed (see talk)]

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools.

Clarify

Use this inline template as a request for other editors to clarify text that is difficult to understand. Place immediately after the material in question.

Template parameters

ParameterDescriptionTypeStatus
Reasonreason

A brief reason for the tag. Avoid using wikilinks, as they will be converted to plain text in the output.

Stringsuggested
Texttext

Text fragment containing concerns the tag is supposed to address.

Stringoptional
Datedate

The date the tag was added (this will be added automatically soon by a bot if not added manually).

Auto value
{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}
Stringsuggested
Pre-textpre-text

Any string to be added before the "Clarify" tag, such as "?"

Auto value
Stringoptional
Post-textpost-text

Any string to be added after the "Clarify" tag, such as "complicated jargon".

Stringoptional

Categorization

Adding this template to an article will automatically place the article into Category:Wikipedia articles needing clarification, or a dated subcategory thereof.

Redirects

  • {{Clarification needed}}
  • {{Clarify me}}
  • {{Confusing-inline}}
  • {{Confusing-short}}
  • {{Define?}}
  • {{How?}}
  • {{Huh}}
  • {{What?}}
  • {{What}}

See also