Difference between revisions of "Template:Clarify span/doc"

From blackwiki
Jump to navigation Jump to search
imported>Funandtrvl
(updte)
imported>Meteor sandwich yum
m (common doc fixes)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
{{nosubst}}
 
{{nosubst}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
+
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
 
{{template shortcut|clarify span|clarify-span}}
 
{{template shortcut|clarify span|clarify-span}}
  
Line 9: Line 9:
 
Once the passage is clarified, please remove this template from the surrounded text.
 
Once the passage is clarified, please remove this template from the surrounded text.
  
:<blockquote>{{tlx|clarify span|text&#61;<var>Passage(s) needing clarification</var>|explain&#61;<var>Reason for the needed clarification</var>|date&#61;<var>{{CURRENTMONTHNAME}} {{CURRENTYEAR}}</var>}}</blockquote>
+
:<blockquote>{{tlx|clarify span|text{{=}}<var>Passage(s) needing clarification</var>|explain{{=}}<var>Reason for the needed clarification</var>|date{{=}}<var>{{CURRENTMONTHNAME}} {{CURRENTYEAR}}</var>}}</blockquote>
  
 
The date and explain parameters are optional. The parameter names for {{para|text}} and {{para|explain}} can be omitted, as long as the text is in the first position, and the explanation is in the second. Therefore, the minimal syntax is:
 
The date and explain parameters are optional. The parameter names for {{para|text}} and {{para|explain}} can be omitted, as long as the text is in the first position, and the explanation is in the second. Therefore, the minimal syntax is:
Line 17: Line 17:
 
'''Example of usage:'''
 
'''Example of usage:'''
  
::: <code>... the treaty. {{tlx|clarify span|One of the terms|reason&#61;which one?}} of the treaty of Versailles led to ...</code>
+
::: <code>... the treaty. {{tlx|clarify span|One of the terms|reason{{=}}which one?}} of the treaty of Versailles led to ...</code>
  
 
:produces:
 
:produces:
Line 38: Line 38:
 
{{Inline tags}}
 
{{Inline tags}}
  
<includeonly>
+
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
<!-- Categories and interwikis go here: -->
+
<!-- Categories go here and interwikis go in Wikidata. -->
 
[[Category:Coherency templates]]
 
[[Category:Coherency templates]]
 
[[Category:Inline cleanup templates]]
 
[[Category:Inline cleanup templates]]
</includeonly>
+
}}</includeonly>

Revision as of 05:07, 27 April 2014

Usage

The {{clarify span}} template may be used when there is text that needs further explanation or clarification. Unlike the template {{clarify}}, this template attaches explicitly to a portion of text, for example one or more specific sentences, by surrounding the text with the template. This is especially useful for flagging multiple facts or multiple sentences as needing clarification, and for singling out a specific unclear fact among many.

Once the passage is clarified, please remove this template from the surrounded text.

{{clarify span|text=Passage(s) needing clarification|explain=Reason for the needed clarification|date=April 2026}}

The date and explain parameters are optional. The parameter names for |text= and |explain= can be omitted, as long as the text is in the first position, and the explanation is in the second. Therefore, the minimal syntax is:

{{clarify span|Passage(s) needing clarification}}

Example of usage:

... the treaty. {{clarify span|One of the terms|reason=which one?}} of the treaty of Versailles led to ...
produces:
... the treaty. One of the terms[clarify] of the treaty of Versailles led to ...

Parameters

There are three parameters to the template:

|text=
the text needing clarification. This parameter is mandatory.
|explain=
specifics explaining the clarification that is needed. If omitted, "This passage needs to be better explained" will be used. This text is shown as a tooltip.
|date=April 2026
adds month & year to the category, as well as helping identify how long ago the template was added. If omitted, a bot will eventually add it for you.

Categorization of articles

Adding this template to an article places the article into the hidden categories Category:All Wikipedia articles needing clarification and Category:Wikipedia articles needing clarification from April 2026.

See also

  • {{Clarify}} — detailed information on the usage of this and similar templates