Template:Relevance inline/doc

From Pantonian Republic Wiki
Jump to navigation Jump to search

This template is an inline version of {{off topic}} and/or {{importance section}}.

Usage

{{Relevance inline|date=December 2024}}

This template takes an optional unnamed parameter to give more precision to the range of text being tagged in the tool-tip (hover) than the vague word "material". "sentence" or "paragraph" will probably be most usual, but other indications are accepted.

{{Relevance inline|paragraph}} renders: [relevant?]

To refer to a specific section of the talkpage where the relevancy issue is discussed use

{{Relevance inline|discuss=Let's talk about the relevancy of this material}}

You may add explanations with |reason=. The explanation will be visible when the tag is hovered over:

{{Relevance inline|reason=This sentence doesn't seem to be connected to the topic.}} renders: [relevant?]

All parameters: {{Relevance inline|scope|date=December 2024|discuss=|reason=}}

TemplateData

<templatedata> { "params": { "reason": { "type": "string", "description": "Adds additional text to the end of the text which appears in a tooltip when hovering over the \"relevant?\" text of the tag." }, "discuss": { "description": "The name of the talk page section to discuss the relevance of the material. If unset or empty, \"discuss\" is omitted from the template's appearance.", "example": "Is this relevant?", "type": "string", "aliases": [ "talk" ], "autovalue": "", "suggested": true }, "date": { "label": "Month and year", "type": "date", "autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}", "description": "The month and year this tag was added. E.g. 'January 2014' NOT 'jan14'", "example": "January 2014", "required": true } }, "description": "Asks whether a claim made is relevant and encyclopedic", "format": "inline" } </templatedata>

See also