Anonymous user
Template:Clarify/doc: Difference between revisions
Jump to navigation
Jump to search
add template redirects and shortcuts
Richardpruen (talk | contribs) 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= }} | |||
:{{tlx|Clarify|2=date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}|3=reason= |4=text= }} | |||
;Full parameter set: | |||
:{{tlx|Clarify|2=date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}|3=reason= |4=text= |5=pre-text= |6=post-text= }} | |||
; Full parameter set: | |||
:{{tlx| | |||
;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|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><!-- comment --></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. | |||
: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>&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 | |||
; {{ | ;{{Para|text}} | ||
:: As an example: | :The particular text needing clarification may be highlighted within the prose by wrapping this Clarify template around it: | ||
::: '' | ::As an example: | ||
:: produces: | :::''Understandable text preceding the template'', <code>{{tlp|Clarify|text{{=}}unclear or ambiguous text,|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}</code> ''understandable text following the template''. | ||
::: '' | ::produces: | ||
:::''Understandable text preceding the template'', {{Clarify|text=unclear or ambiguous text,|date={{CURRENTMONTHNAME}} {{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|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>{{ | :#<code><nowiki>{{Clarify|pre-text=remove or}}</nowiki></code> | ||
:#:will cause the text | :#:will cause the text 'remove or' to appear <u>before</u> 'clarification needed' like this:{{Clarify|pre-text=remove or}} | ||
:# <code><nowiki>{{ | :#<code><nowiki>{{Clarify|post-text=(complicated jargon)}}</nowiki></code> | ||
:#:will cause | :#:will cause '(complicated jargon)' to appear <u>after</u> 'clarification needed' like this:{{Clarify|post-text=(complicated jargon)}} | ||
:# <code><nowiki>{{ | :#<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:{{ | :#: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 == | ||
{{ | {{div col|colwidth=25em}} | ||
{| | {| | ||
|'''Related inline templates''' | |'''Related inline templates''' | ||
Line 124: | Line 129: | ||
* [[Wikipedia:Please clarify]] | * [[Wikipedia:Please clarify]] | ||
|} | |} | ||
{{ | {{div col end}} | ||
{{Inline tags}} | {{Inline tags}} | ||