Template:Clarify: Difference between revisions

From The Reed and Rite
m Protected "Template:Clarify" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
m Removed behavior of the text "clarification needed" linking to the template page. Also removed note about recursive linking logic, as it was no longer needed with this change.
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><sup>''[<span class="plainlinks"><span class="editorial-notation-tooltip">[[Template:Clarify<!--
<includeonly><sup>''[<span class="plainlinks"><span class="editorial-notation-tooltip"><!--
   -->|<span title="{{#if:{{{reason|}}}<!--
   --><span style="color:#4164c4;" title="{{#if:{{{reason|}}}<!--
     -->|{{{reason}}}<!--
     -->|{{{reason}}}<!--
     -->|This statement needs clarifying.}} {{#if:{{{date|}}}| ({{{date}}})<!--
     -->|This statement needs clarifying.}} {{#if:{{{date|}}}| ({{{date}}})<!--
   -->}}">clarification needed</span>]]</span></span>]''</sup><!--
   -->}}">clarification needed</span></span></span>]''</sup><!--
-->{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category: Articles in Need of Clarification]]}}</includeonly><noinclude>
-->{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category: Articles in Need of Clarification]]}}</includeonly><noinclude>
== Description ==
== Description ==
This template can be used to mark a fact or sentence in need of clarification or improvement. The first parameter gives an explanation of why clarification is necessary, and appears as a tool-tip when you hover over the notation. The article will be added to [[:Category: Articles in Need of Clarification]].  
This template should be added after statements in articles that need clarification or improvement. Using the template automatically adds the article to [[:Category: Articles in Need of Clarification]].  


This template is one of several [[:Help:References#Editorial_Notations|Editorial Notations]].
This template is one of several [[:Help:References#Editorial_Notations|Editorial Notations]].


==Usage==
==Usage==
:'''Note:''' When used on article pages, this template will render as follows ( <sup>''[<span class="plainlinks">[[:Template:Clarify#Description|clarification needed]]</span>]''</sup> ) It does not render correctly on this page due to [[:Help:Markup#Internal_Links|recursive linking logic]].
{| style="width: 100%; text-align: left; margin: auto;" class="wikitable"
{| style="width: 100%; text-align: left; margin: auto;" class="wikitable"
|-  
|-  
! colspan="2" style="text-align: center;" | <span style="font-size: 115%;">Tag Only</span><br><span style="font-weight: normal;">When just <code><nowiki>{{clarify}}</nowiki></code> is passed, it will add a superscript note that says "''[clarification needed]''".<br>When you hover over it for a moment, a pop-up message will appear that says "This statement needs clarifying.".</span>
! colspan="2" style="text-align: center;" | <span style="font-size: 115%;">Tag Only</span><br><div style="text-align: left;"><span style="font-weight: normal;">When just <code><nowiki>{{clarify}}</nowiki></code> is passed, it will add a superscript note that says "''[clarification needed]''". When you hover over it for a moment, a pop-up message will appear that says "This statement needs clarifying.".</span></div>
|-
|-
! width=60%|You Type
! width=60%|You Type
!You Get
!You Get
|- style="text-align: center; background-color: white;"
|- style="text-align: center;"
| <pre>An example sentence.{{clarify}}</pre>
| <pre>An example sentence.{{clarify}}</pre>
| An example sentence.{{clarify}}
| An example sentence.{{clarify}}
|-
|-
! colspan="2" style="text-align: center;" | <span style="font-size: 115%;">Reason Parameter</span><br><span style="font-weight: normal;">When <code>reason=</code> is passed, it will replace the text "This statement needs clarifying." in the pop-up message with your input.</span>
! colspan="2" style="text-align: center;" | <span style="font-size: 115%;">Reason Parameter</span><br><div style="text-align: left;"><span style="font-weight: normal;">When <code>reason=</code> is passed, it will replace the text "This statement needs clarifying." in the pop-up message with your input.</span></div>
|-
|-
! width=60%|You Type
! width=60%|You Type
!You Get
!You Get
|- style="text-align: center; background-color: white;"
|- style="text-align: center;"
|<pre>An example sentence.{{clarify|reason=Explanation of reason.}}</pre>
|<pre>An example sentence.{{clarify|reason=Explanation of reason.}}</pre>
|An example sentence.{{clarify|reason=Explanation of reason.}}
|An example sentence.{{clarify|reason=Explanation of reason.}}
|-
|-
! colspan="2" style="text-align: center;" | <span style="font-size: 115%;">Date Parameter</span><br><span style="font-weight: normal;">When <code>date=</code> is passed, it will add your input to the end of the pop-up message in parentheses.<br>The pop-up message "This statement needs clarifying." will still appear unless <code>reason=</code> is also passed.</span>
! colspan="2" style="text-align: center;" | <span style="font-size: 115%;">Date Parameter</span><br><div style="text-align: left;"><span style="font-weight: normal;">When <code>date=</code> is passed, it will add your input to the end of the pop-up message in parentheses. The pop-up message "This statement needs clarifying." will still appear unless <code>reason=</code> is also passed.</span></div>
|-
|-
! width=60%|You Type
! width=60%|You Type
!You Get
!You Get
|- style="text-align: center; background-color: white;"
|- style="text-align: center;"
|<pre>An example sentence.{{clarify|date=March 1883}}</pre>
|<pre>An example sentence.{{clarify|date=March 1883}}</pre>
|An example sentence.{{clarify|date=March 1883}}
|An example sentence.{{clarify|date=March 1883}}

Latest revision as of 22:45, 5 June 2025

Description

This template should be added after statements in articles that need clarification or improvement. Using the template automatically adds the article to Category: Articles in Need of Clarification.

This template is one of several Editorial Notations.

Usage

Tag Only
When just {{clarify}} is passed, it will add a superscript note that says "[clarification needed]". When you hover over it for a moment, a pop-up message will appear that says "This statement needs clarifying.".
You Type You Get
An example sentence.{{clarify}}
An example sentence.[clarification needed]
Reason Parameter
When reason= is passed, it will replace the text "This statement needs clarifying." in the pop-up message with your input.
You Type You Get
An example sentence.{{clarify|reason=Explanation of reason.}}
An example sentence.[clarification needed]
Date Parameter
When date= is passed, it will add your input to the end of the pop-up message in parentheses. The pop-up message "This statement needs clarifying." will still appear unless reason= is also passed.
You Type You Get
An example sentence.{{clarify|date=March 1883}}
An example sentence.[clarification needed]

Articles using Template