Template:Clarify/doc: Difference between revisions

Jump to navigation Jump to search
add template redirects and shortcuts
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}}


Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu