Template:Clarify span/doc

From Pantonian Republic Wiki
< Template:Clarify span
Revision as of 18:55, 18 May 2023 by Sebbog (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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=November 2024}}

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|explain=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=November 2024
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 November 2024.

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template in articles based on this TemplateData.

TemplateData for Clarify span

<templatedata> { "params": { "1": { "aliases": [ "text" ], "label": "text needing clarification", "description": "The text needing clarification", "example": "a vague sentence fragment", "type": "unbalanced-wikitext", "required": true }, "2": { "aliases": [ "reason",

                               "explain"

], "label": "Reason", "description": "An explanation as to why the text needs to be clarified", "example": "It's unclear what \"Green Army\" means for unfamiliar readers" }, "date": { "label": "Month and year", "type": "string", "autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}", "suggested": true } } } </templatedata>

See also

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