Template:Request quotation span/doc: Difference between revisions

From Pantonian Republic Wiki
Jump to navigation Jump to search
(→‎Usage: phrading)
 
m (1 revision imported)
 

Latest revision as of 15:17, 28 May 2023

Usage

Do not substitute this template.

The {{Request quotation span}} template may be used when there is a piece of text that should be verified with quotation from a source. Unlike the template {{Request quotation}}, 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 a block of multiple facts or multiple sentences as needing quotation, and for singling out a specific fact that needs quotation among many verified ones.

Avoid use for multiple paragraphs or around a list without closing and opening each template around each paragraph or list item. This kind of use causes linting errors and may disrupt the page display. An alternative with multiple paragraphs is using multiple {{Request quotation}}.

Once a quotation is added, please remove this template from the surrounded text.

{{Request quotation span|date=October 2024|Passage(s) to be verified with quotation}}, or:
{{Request quotation span|date=October 2024|text=Passage(s) to be verified with quotation}}

The date is optional, so the minimal syntax is:

{{Request quotation span|Passage(s) to be verified with quotation}}

Example of usage:

Verified material. {{Request quotation span|date=October 2024|Passage to be verified with quotation. Another passage to be verified with quotation.}} More verified material.
Verified material. Passage to be verified with quotation. Another passage to be verified with quotation.[need quotation to verify] More verified material.

Compare usage of {{Request quotation}}:

Verified material. Passage to be verified with quotation.{{Request quotation}} Another passage to be verified with quotation.{{Request quotation}} More verified material.
Verified material. Passage to be verified with quotation.[need quotation to verify] Another passage to be verified with quotation.[need quotation to verify] More verified material.

Parameters

There are three parameters to the template:

|text= (or no parameter)
The text that needs a quotation.
|date=
The date in the form October 2024. If omitted, AnomieBOT will add it if there are no new edits for a few minutes.
|reason=
The reason for the quotation request. If omitted, "Quotation needed from source to verify." will be used. This text is shown as a tooltip.

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 Request quotation span

<templatedata> { "params": { "text": { "aliases": [ "1" ], "description": "The text needing a quotation", "type": "content", "required": true, "label": "Text", "autovalue": "" }, "reason": { "description": "Reason the text needs a quotation; shown in a tooltip", "type": "string", "default": "Quotation needed from source to verify", "suggested": true, "label": "Reason?" }, "date": { "description": "Month and year the tag was added", "example": "June 2015", "type": "date", "autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}", "suggested": true, "label": "Date" } }, "description": "Marks a specific piece of text as needing a quotation.", "paramOrder": [ "text", "date", "reason" ], "format": "inline" } </templatedata>

Redirects to this template

See also

  • {{Request quotation}} – equivalent which does not precisely identify the problematic text